fix(docker): Forward variables in the make command line to docker (#4686)
EMU Test / Changes Detection (push) Has been cancelled
Details
Release Jobs / build-xsdev-image (push) Has been cancelled
Details
EMU Test / Generate Verilog (push) Has been cancelled
Details
EMU Test / EMU - Basics (push) Has been cancelled
Details
EMU Test / EMU - CHI (push) Has been cancelled
Details
EMU Test / Docker Build (push) Has been cancelled
Details
EMU Test / EMU - Performance (push) Has been cancelled
Details
EMU Test / EMU - MC (push) Has been cancelled
Details
EMU Test / SIMV - Basics (push) Has been cancelled
Details
EMU Test / Upload Artifacts (push) Has been cancelled
Details
EMU Test / Check Submodules (push) Has been cancelled
Details
EMU Test / Check Format (push) Has been cancelled
Details
EMU Test / Changes Detection (push) Has been cancelled
Details
Release Jobs / build-xsdev-image (push) Has been cancelled
Details
EMU Test / Generate Verilog (push) Has been cancelled
Details
EMU Test / EMU - Basics (push) Has been cancelled
Details
EMU Test / EMU - CHI (push) Has been cancelled
Details
EMU Test / Docker Build (push) Has been cancelled
Details
EMU Test / EMU - Performance (push) Has been cancelled
Details
EMU Test / EMU - MC (push) Has been cancelled
Details
EMU Test / SIMV - Basics (push) Has been cancelled
Details
EMU Test / Upload Artifacts (push) Has been cancelled
Details
EMU Test / Check Submodules (push) Has been cancelled
Details
EMU Test / Check Format (push) Has been cancelled
Details
Many variables in XiangShan Makefile can be overridden from command line. Without forwarding these to docker, commands executed in the container may produce unexpected results due to variable mismatches. Signed-off-by: Jiuyue Ma <majiuyue@bosc.ac.cn>
This commit is contained in:
parent
7cf94e2c09
commit
f47ebf519e
|
@ -30,6 +30,7 @@ MILL_WORK_DIR := /work
|
|||
MILL_OUTPUT_DIR := .docker-mill-out
|
||||
DOCKER_RUN = docker run --init --rm -i $(if $(HAVE_TTY),-t) -e IN_XSDEV_DOCKER=y \
|
||||
-e NOOP_HOME=$(MILL_WORK_DIR) \
|
||||
$(addprefix -e ,$(MAKEOVERRIDES)) \
|
||||
-v .:$(MILL_WORK_DIR):ro \
|
||||
-v ./$(MILL_OUTPUT_DIR):$(MILL_WORK_DIR)/out:rw \
|
||||
-v $(BUILD_DIR):$(MILL_WORK_DIR)/$(BUILD_DIR):rw \
|
||||
|
|
Loading…
Reference in New Issue