From f71f80ab833b9c3d90cbd2993a43fd88388ec69c Mon Sep 17 00:00:00 2001 From: "Balos, Cody, J" Date: Tue, 10 Dec 2024 00:44:37 -0800 Subject: [PATCH] source vars --- .github/workflows/ubuntu-latest-oneapi.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu-latest-oneapi.yml b/.github/workflows/ubuntu-latest-oneapi.yml index e41c56cc13..d7e25e8ba5 100644 --- a/.github/workflows/ubuntu-latest-oneapi.yml +++ b/.github/workflows/ubuntu-latest-oneapi.yml @@ -29,7 +29,7 @@ jobs: steps: - uses: actions/checkout@v4 - - name: cache install oneAPI + - name: cache install oneAPI with dpcpp id: cache-install uses: actions/cache@v3 with: @@ -38,7 +38,7 @@ jobs: /opt/intel/oneapi/tbb key: install-${{ env.CACHE_NUMBER }}-${{ matrix.LINUX_BASEKIT_URL }}-${{ env.LINUX_DPCPP_COMPONENTS_WEB }}-compiler-tbb-${{ hashFiles('**/.github/actions/install-oneapi/cache_exclude_linux.sh') }} - - name: install oneAPI + - name: install oneAPI with dpcpp if: steps.cache-install.outputs.cache-hit != 'true' run: ./.github/actions/install-oneapi/install_linux.sh ${{ matrix.LINUX_BASEKIT_URL }} ${{ env.LINUX_DPCPP_COMPONENTS_WEB }} @@ -46,6 +46,9 @@ jobs: if: steps.cache-install.outputs.cache-hit != 'true' run: ./.github/actions/install-oneapi/cache_exclude_linux.sh + - name: Source oneAPI + run: source /opt/intel/oneapi/setvars.sh + - name: Configure CMake run: | cmake \