From d4fa95910aac6b3109e4075903a52d6e0b85c93a Mon Sep 17 00:00:00 2001 From: Kunlin Han Date: Mon, 22 Apr 2024 10:49:02 -0700 Subject: [PATCH] Add some helper targets. --- docs/docker/Makefile | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/docs/docker/Makefile b/docs/docker/Makefile index 5493555c9..82560d8cb 100644 --- a/docs/docker/Makefile +++ b/docs/docker/Makefile @@ -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 \ No newline at end of file + -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 . \ No newline at end of file