mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
build/sim/verilator: don't use --threads when $(THREADS) is unset
This commit is contained in:
parent
6f38213acc
commit
dcbe759b64
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ sim: mkdir $(OBJS_SIM)
|
||||||
verilator -Wno-fatal -O3 --cc dut.v --top-module dut --exe \
|
verilator -Wno-fatal -O3 --cc dut.v --top-module dut --exe \
|
||||||
$(SRCS_SIM_CPP) $(OBJS_SIM) \
|
$(SRCS_SIM_CPP) $(OBJS_SIM) \
|
||||||
--top-module dut \
|
--top-module dut \
|
||||||
--threads $(THREADS) \
|
$(if $(THREADS), --threads $(THREADS),) \
|
||||||
-CFLAGS "$(CFLAGS) -I$(SRC_DIR)" \
|
-CFLAGS "$(CFLAGS) -I$(SRC_DIR)" \
|
||||||
-LDFLAGS "$(LDFLAGS)" \
|
-LDFLAGS "$(LDFLAGS)" \
|
||||||
-trace $(INC_DIR)
|
-trace $(INC_DIR)
|
||||||
|
|
Loading…
Reference in a new issue