Skip to content

Commit

Permalink
Remove interactive docker when not necessary.
Browse files Browse the repository at this point in the history
  • Loading branch information
magnmaeh committed Jan 27, 2024
1 parent 1da6fdc commit ff4dff4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion verilator-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ docker pull verilator/verilator:4.038 > /dev/null
project_root=$(realpath $3)

# Run the docker image with the user we "made" above
docker run -e CCACHE_DIR=/work/.ccache -ti -v ${project_root}:/work -w /work/$2 --user $(id -u):$(id -g) verilator/verilator:$1 "${@:4}"
docker run -e CCACHE_DIR=/work/.ccache -v ${project_root}:/work -w /work/$2 --user $(id -u):$(id -g) verilator/verilator:$1 "${@:4}"
2 changes: 1 addition & 1 deletion verilator.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PROJECT_ROOT ?= ${VERILATOR_ROOT}
# Find the path between the top level folder and the source code folder
PATH_FROM_ROOT_TO_SRC = $(shell p=$(shell pwd); g=$${p\#\#*/${MODULE_FOLDER}}; echo $$g)

VERILATOR := $(VERILATOR_ROOT)/verilator-docker.sh
VERILATOR := $(VERILATOR_ROOT)/verilator-docker.sh
VERILATOR_ARGS := 4.038 ${MODULE_FOLDER}${PATH_FROM_ROOT_TO_SRC} ${PROJECT_ROOT}
VERILATOR_ARGS_LINT := --lint-only -Wall
VERILATOR_ARGS_EMULATOR := --cc --build --exe --trace
Expand Down

0 comments on commit ff4dff4

Please sign in to comment.