Merge pull request #749 from Karl-Han/docker

Replace spaces of Makefile and Add some helper targets
This commit is contained in:
David Harris 2024-04-22 11:09:12 -07:00 committed by GitHub
commit 76367822bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,16 +3,30 @@ CVW_GIT?=""
commanline:
podman run -it --rm \
-v cvw_temp:/home/cad/cvw \
-v $(QUESTA_HOME):/cad/mentor/questa_sim-xxxx.x_x \
--privileged --network=host \
wallysoc/regression_wally /bin/bash
-v cvw_temp:/home/cad/cvw \
-v $(QUESTA_HOME):/cad/mentor/questa_sim-xxxx.x_x \
--privileged --network=host \
wallysoc/regression_wally /bin/bash
regression_openhw_cvw:
podman run \
-e CVW_GIT=$(CVW_GIT) \
-e CLEAN_CVW=1 -e BUILD_RISCOF=1 -e RUN_QUESTA=1 \
-v cvw_temp:/home/cad/cvw \
-v $(QUESTA_HOME):/cad/mentor/questa_sim-xxxx.x_x \
--privileged --network=host \
--rm wallysoc/regression_wally
-e CLEAN_CVW=1 -e BUILD_RISCOF=1 -e RUN_QUESTA=1 \
-v cvw_temp:/home/cad/cvw \
-v $(QUESTA_HOME):/cad/mentor/questa_sim-xxxx.x_x \
--privileged --network=host \
--rm wallysoc/regression_wally
push_hub:
podman push wallysoc/ubuntu_wally:latest
podman push wallysoc/toolchains_wally:latest
podman push wallysoc/regression_wally:latest
update_ubuntu:
podman build -t wallysoc/ubuntu_wally -f Dockerfile.ubuntu .
update_toolchains:
podman build -t wallysoc/toolchains_wally -f Dockerfile.builds .
update_regression:
podman build -t wallysoc/regression_wally -f Dockerfile.regression .