diff --git a/.github/workflows/win-icc.yml b/.github/workflows/win-icc.yml index ad7e0ad..c66a8df 100644 --- a/.github/workflows/win-icc.yml +++ b/.github/workflows/win-icc.yml @@ -57,10 +57,14 @@ jobs: run: script/ci_win_setup_icc.bat - name: Configure - run: CXX=dpcpp && cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug + run: >- + cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug + -D CMAKE_CXX_COMPILER=dpcpp - name: Build - run: CXX=dpcpp && cmake --build build -j ${{ steps.cores.outputs.count }} + run: >- + cmake --build build -j ${{ steps.cores.outputs.count }} + -D CMAKE_CXX_COMPILER=dpcpp - name: Run working-directory: build diff --git a/script/ci_win_setup_icc.bat b/script/ci_win_setup_icc.bat index 0962208..19aa528 100755 --- a/script/ci_win_setup_icc.bat +++ b/script/ci_win_setup_icc.bat @@ -4,3 +4,4 @@ REM SPDX-License-Identifier: MIT for /f "tokens=* usebackq" %%f in (`dir /b "C:\Program Files (x86)\Intel\oneAPI\compiler\" ^| findstr /V latest ^| sort`) do @set "LATEST_VERSION=%%f" @call "C:\Program Files (x86)\Intel\oneAPI\compiler\%LATEST_VERSION%\env\vars.bat" +@call "C:\Program Files (x86)\Intel\oneAPI\tbb\%LATEST_VERSION%\env\vars.bat"