Slow file compiled with OPT_FAST when --output-split is used #1370
Labels
area: configure/compiling
Issue involves configuring or compilating Verilator itself
resolution: fixed
Closed; fixed
Author Name: Thomas Watts
Original Redmine Issue: 1370 from https://www.veripool.org
Original Assignee: Wilson Snyder (@wsnyder)
Hi, I'm trying to speed up the build time of a moderately large verilator model.
So I'm verilating with --output-split 20000 and compiling with VM_PARALLEL_BUILDS=1 OPT_FAST="-O1 -fstrict-aliasing"
This combination of options results in a 'slow' file being compiled with the OPT_FAST options, which for my design causes a ~60MB C file to be compiled for ~1hour.
The problem is that verilator creates Vmydesign__Trace__Slow__1.cpp which is picked up not by this rule
but instead by
in verilator/include/verilated.mk
The adding of __1 by the --output-split is incompatible with the make rules.
(verilator-4.006, ccache and clang-6.0)
The text was updated successfully, but these errors were encountered: