Commentary, bug1615.

This commit is contained in:
Wilson Snyder 2019-12-01 12:43:41 -05:00
parent e28175108f
commit 32f93a8a1e

View File

@ -339,7 +339,7 @@ detailed descriptions in L</"VERILATION ARGUMENTS"> for more information.
-O<optimization-letter> Selectable optimizations -O<optimization-letter> Selectable optimizations
-o <executable> Name of final executable -o <executable> Name of final executable
--no-order-clock-delay Disable ordering clock enable assignments --no-order-clock-delay Disable ordering clock enable assignments
--output-split <bytes> Split .cpp files into pieces --output-split <statements> Split .cpp files into pieces
--output-split-cfuncs <statements> Split .cpp functions --output-split-cfuncs <statements> Split .cpp functions
--output-split-ctrace <statements> Split tracing functions --output-split-ctrace <statements> Split tracing functions
-P Disable line numbers and blanks with -E -P Disable line numbers and blanks with -E
@ -1066,7 +1066,7 @@ Rarely needed. Disables a bug fix for ordering of clock enables with
delayed assignments. This flag should only be used when suggested by the delayed assignments. This flag should only be used when suggested by the
developers. developers.
=item --output-split I<bytes> =item --output-split I<statements>
Enables splitting the output .cpp files into multiple outputs. When a C++ Enables splitting the output .cpp files into multiple outputs. When a C++
file exceeds the specified number of operations, a new file will be created file exceeds the specified number of operations, a new file will be created
@ -1078,6 +1078,9 @@ and the remaining files can be compiled on parallel machines. Using
design --output-split 20000 resulted in splitting into approximately design --output-split 20000 resulted in splitting into approximately
one-minute-compile chunks. one-minute-compile chunks.
Typically when using this, make with VM_PARALLEL_BUILD=1, and use
I<ccache>.
=item --output-split-cfuncs I<statements> =item --output-split-cfuncs I<statements>
Enables splitting functions in the output .cpp files into multiple Enables splitting functions in the output .cpp files into multiple
@ -4746,6 +4749,9 @@ test_regress/t/t_extend_class files show an example of how to do this.
=item How do I get faster build times? =item How do I get faster build times?
When running make pass the make variable VM_PARALLEL_BUILDS=1 so that
builds occur in parallel.
Use a recent compiler. Newer compilers tend do be faster, with the Use a recent compiler. Newer compilers tend do be faster, with the
now relatively old GCC 3.0 to 3.3 being horrible. now relatively old GCC 3.0 to 3.3 being horrible.