mirror of
https://github.com/verilator/verilator.git
synced 2025-01-06 06:37:45 +00:00
Use parallel top level make
This commit is contained in:
parent
ea1b705c1c
commit
807aecdb11
@ -143,6 +143,12 @@ DISTFILES := $(DISTFILES_INC)
|
|||||||
|
|
||||||
VL_INST_MAN_FILES = verilator.1
|
VL_INST_MAN_FILES = verilator.1
|
||||||
|
|
||||||
|
ifeq ($(OBJCACHE_HOSTS),)
|
||||||
|
export OBJCACHE_JOBS :=
|
||||||
|
else
|
||||||
|
export OBJCACHE_JOBS := -j $(shell objcache --jobs "$(OBJCACHE_HOSTS)")
|
||||||
|
endif
|
||||||
|
|
||||||
all: all_nomsg msg_test
|
all: all_nomsg msg_test
|
||||||
all_nomsg: verilator_exe $(VL_INST_MAN_FILES)
|
all_nomsg: verilator_exe $(VL_INST_MAN_FILES)
|
||||||
|
|
||||||
@ -150,7 +156,7 @@ all_nomsg: verilator_exe $(VL_INST_MAN_FILES)
|
|||||||
verilator_exe verilator_bin verilator_bin_dbg:
|
verilator_exe verilator_bin verilator_bin_dbg:
|
||||||
@echo ------------------------------------------------------------
|
@echo ------------------------------------------------------------
|
||||||
@echo "making verilator in src" ; \
|
@echo "making verilator in src" ; \
|
||||||
(cd src && $(MAKE) )
|
(cd src && $(MAKE) $(OBJCACHE_JOBS) )
|
||||||
|
|
||||||
.PHONY:msg_test
|
.PHONY:msg_test
|
||||||
msg_test:
|
msg_test:
|
||||||
|
Loading…
Reference in New Issue
Block a user