Skip to content

Commit

Permalink
Remove unnecessary CUSTOM_SIM_DEPS
Browse files Browse the repository at this point in the history
These were only valuable when cocotb was compiled on every run. Now they
just add unnecessary start-up time.
  • Loading branch information
ktbarrett committed Mar 6, 2024
1 parent 92879ee commit 5e055b0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/cocotb_tools/makefiles/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,6 @@ COCOTB_HDL_TIMEPRECISION ?= 1ps

export COCOTB_RESULTS_FILE

# Depend on all Python from the cocotb package. This triggers a
# recompilation of the simulation if cocotb is updated.
CUSTOM_SIM_DEPS += $(shell $(PYTHON_BIN) -c 'import glob; print(" ".join(glob.glob("$(COCOTB_PY_DIR)/cocotb/*.py")))')

# This triggers a recompilation of the simulation if cocotb library is updated.
CUSTOM_SIM_DEPS += $(shell $(PYTHON_BIN) -c 'import glob; print(" ".join(glob.glob("$(LIB_DIR)/*")))')


$(SIM_BUILD):
mkdir -p $@
Expand Down

0 comments on commit 5e055b0

Please sign in to comment.