Skip to content

Commit

Permalink
ci: Fix verilator environment variables for IIS machines (#146)
Browse files Browse the repository at this point in the history
Fix environment variables on IIS machines
  • Loading branch information
fischeti authored May 30, 2024
1 parent 37b17a6 commit 134f023
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion target/common/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ PERF_CSV_PY ?= $(UTIL_DIR)/trace/perf_csv.py
LAYOUT_EVENTS_PY ?= $(UTIL_DIR)/trace/layout_events.py
EVENTVIS_PY ?= $(UTIL_DIR)/trace/eventvis.py

VERILATOR_ROOT ?= $(dir $(shell $(VERILATOR_SEPP) which verilator))..
# For some reason `$(VERILATOR_SEPP) which verilator` returns a
# a two-liner with the OS on the first line, hence the tail -n1
VERILATOR_ROOT ?= $(dir $(shell $(VERILATOR_SEPP) which verilator | tail -n1))..
VLT_ROOT ?= ${VERILATOR_ROOT}

MATCH_END := '/+incdir+/ s/$$/\/*\/*/'
Expand Down

0 comments on commit 134f023

Please sign in to comment.