From e60de0e05206570ffe0106deb8e3b40f2bef6609 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 10 Jul 2026 11:31:05 +0200 Subject: [PATCH] Fix ci_icpc: drop redundant setvars.sh sourcing Unlike the old custom image, the official intel/oneapi-hpckit image already has the oneAPI environment (icc/icpc on PATH) baked in at the container level. Explicitly re-sourcing setvars.sh in the Build step failed with "setvars.sh has already been run. Skipping re-execution." (exit code 3, aborting the step under `sh -e`). Drop the now-unnecessary sourcing. Signed-off-by: Niels Lohmann --- .github/workflows/ubuntu.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index d8303e21e..1d64d0ffc 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -328,9 +328,10 @@ jobs: - name: Run CMake run: cmake -S . -B build -DJSON_CI=On - name: Build - run: | - . /opt/intel/oneapi/setvars.sh - cmake --build build --target ci_icpc + # No need to source setvars.sh here: unlike the old custom image, this + # official image already has the oneAPI environment (icc/icpc on PATH) + # baked in, and re-sourcing it fails with "already been run" (exit 3). + run: cmake --build build --target ci_icpc ci_icpx: runs-on: ubuntu-latest