From 68b7b2e4aec17653bf1231484068137c307f2b25 Mon Sep 17 00:00:00 2001 From: Riccardo Gandolfi Date: Thu, 19 Nov 2026 09:37:33 +0100 Subject: [PATCH 1/2] [CI] Update nonfree commit: automatic switch on CI branch + updates on run_container rules to pass branch env variable --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 65582df8..74301768 100644 --- a/Makefile +++ b/Makefile @@ -408,7 +408,7 @@ cdc: PULP_NONFREE_REMOTE ?= git@gitlab.chips.it:digitalresearchline/chips-restricted/pulp-nonfree.git PULP_NONFREE_DIR ?= $(ROOT_DIR)/nonfree -PULP_NONFREE_COMMIT ?= 73dcd1f07f679c0c992ccb1db40fdcc886e5ac81 +PULP_NONFREE_COMMIT ?= 6a182c136041f3732e3648388acd4386fdb945c2 pulp_nonfree_init: git clone $(PULP_NONFREE_REMOTE) $(PULP_NONFREE_DIR) @@ -421,6 +421,7 @@ pulp_nonfree_clean: ## Rule called by CI script to test Deeploy gvsoc regreession on the container run_deeploy_container_gvsoc: podman run --rm \ + -e PULP_BRANCH \ -v /tools:/tools:ro \ -v /opt/riscv:/opt/riscv:ro \ -v /opt/rh:/opt/rh \ @@ -430,6 +431,7 @@ run_deeploy_container_gvsoc: ## Rule called by CI script to test Deeploy rtl regreession on the container run_deeploy_container_rtl: podman run --rm \ + -e PULP_BRANCH \ -v /tools:/tools:ro \ -v /opt/riscv:/opt/riscv:ro \ -v /opt/rh:/opt/rh \ From 94fb2fde041caf44b1785277e609ad64690730d6 Mon Sep 17 00:00:00 2001 From: Riccardo Gandolfi Date: Thu, 19 Nov 2026 12:12:53 +0100 Subject: [PATCH 2/2] [CI & MAKEFILE] Update nonfree commit (add pyyaml in requirements for Deeploy container) + Remove pulp-runtime references from Makefile --- Makefile | 83 +------------------------------------------------------- 1 file changed, 1 insertion(+), 82 deletions(-) diff --git a/Makefile b/Makefile index 74301768..d4757998 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,6 @@ SHELL=bash -PKG_DIR ?= $(PWD)/pulp-runtime - export VSIM_PATH=$(PWD)/sim export PULP_PATH=$(PWD) @@ -311,85 +309,6 @@ test: sdk-gitlab: sdk-releases/get-sdk-2019.11.03-CentOS_7.py; \ -## Clone pulp-runtime as SW stack -pulp-runtime: - git clone https://github.com/FondazioneChipsIT/pulp-runtime.git $@ - cd $@; git checkout ab958e06b37bc05b981dabca9680f72660b8dee1; cd .. - -## Clone regression tests for bare-metal verification -regression-tests: - git clone https://github.com/FondazioneChipsIT/regression_tests.git $@ - cd $@; git checkout 6fac940e924c7de83b37d7be14bfd9febbf04678; cd .. - -# the gitlab runner needs a special configuration to be able to access the -# dependent git repositories -test-checkout-gitlab: - ./update-regression-tests - - - -# gitlab and local test runs -test-fast-regressions: - mkdir -p regression_tests/riscv_tests_soc - cp -r regression_tests/riscv_tests/* regression_tests/riscv_tests_soc - source setup/vsim.sh; \ - source pulp-runtime/configs/pulp.sh; \ - cd regression_tests && ../pulp-runtime/scripts/bwruntests.py --proc-verbose -v --report-junit -t 2000 --yaml -o simplified-runtime.xml simple-regression-tests.yaml - -test-local-regressions: - mkdir -p regression_tests/riscv_tests_soc - cp -r regression_tests/riscv_tests/* regression_tests/riscv_tests_soc - source setup/vsim.sh; \ - source pulp-runtime/configs/pulp.sh; \ - cd regression_tests && ../pulp-runtime/scripts/bwruntests.py --proc-verbose -v --report-junit -t 1800 --yaml -o simplified-runtime.xml regression-tests.yaml - -git-ci-ml-regs: - source setup/vsim.sh; \ - source pulp-runtime/configs/pulp.sh; \ - touch regression_tests/simplified-ml-runtime.xml; \ - cd regression_tests && ../pulp-runtime/scripts/bwruntests.py --proc-verbose -v --report-junit -t 7200 --yaml -o simplified-ml-runtime.xml ml-tests.yaml - -git-ci-riscv-regs: - source setup/vsim.sh; \ - source pulp-runtime/configs/pulp.sh; \ - touch regression_tests/simplified-riscv-runtime.xml; \ - cd regression_tests && ../pulp-runtime/scripts/bwruntests.py --proc-verbose -v --report-junit -t 7200 --yaml -o simplified-riscv-runtime.xml riscv-tests.yaml - -git-ci-s-bare-regs: - source setup/vsim.sh; \ - source pulp-runtime/configs/pulp.sh; \ - touch regression_tests/simplified-sbare-runtime.xml; \ - cd regression_tests && ../pulp-runtime/scripts/bwruntests.py --proc-verbose -v --report-junit -t 7200 --yaml -o simplified-sbare-runtime.xml sequential-bare-tests.yaml - -git-ci-p-bare-regs: - source setup/vsim.sh; \ - source pulp-runtime/configs/pulp.sh; \ - touch regression_tests/simplified-pbare-runtime.xml; \ - cd regression_tests && ../pulp-runtime/scripts/bwruntests.py --proc-verbose -v --report-junit -t 7200 --yaml -o simplified-pbare-runtime.xml parallel-bare-tests.yaml - -git-ci-periphs-regs: - source setup/vsim.sh; \ - source pulp-runtime/configs/pulp.sh; \ - touch regression_tests/simplified-periph-runtime.xml; \ - cd regression_tests && ../pulp-runtime/scripts/bwruntests.py --proc-verbose -v --report-junit -t 7200 --yaml -o simplified-periph-runtime.xml periph-tests.yaml - -git-ci-psram: - source setup/vsim.sh; \ - source pulp-runtime/configs/pulp.sh; \ - touch regression_tests/simplified-psram-runtime.xml; \ - cd regression_tests && ../pulp-runtime/scripts/bwruntests.py --proc-verbose -v --report-junit -t 7200 --yaml -o simplified-psram-runtime.xml psram-test.yaml - -git-boot: - source setup/vsim.sh; \ - source pulp-runtime/configs/pulp.sh; \ - touch regression_tests/boot-runtime.xml; \ - cd regression_tests && ../pulp-runtime/scripts/bwruntests.py --proc-verbose -v --report-junit -t 7200 --yaml -o boot-runtime.xml hello-test.yaml - -test-local-runtime: - source setup/vsim.sh; \ - source pulp-runtime/configs/pulp.sh; \ - cd tests && ../pulp-runtime/scripts/bwruntests.py --proc-verbose -v --report-junit -t 600 --yaml -o simplified-runtime.xml runtime-tests.yaml - bender: ln -sf $(BENDER_BIN) bender @@ -408,7 +327,7 @@ cdc: PULP_NONFREE_REMOTE ?= git@gitlab.chips.it:digitalresearchline/chips-restricted/pulp-nonfree.git PULP_NONFREE_DIR ?= $(ROOT_DIR)/nonfree -PULP_NONFREE_COMMIT ?= 6a182c136041f3732e3648388acd4386fdb945c2 +PULP_NONFREE_COMMIT ?= b645f27f3133ad2f5aac2438133ea042afd0f22f pulp_nonfree_init: git clone $(PULP_NONFREE_REMOTE) $(PULP_NONFREE_DIR)