Skip to content

Commit 68097b8

Browse files
committed
Fix failure of Windows CI when dpctl is built with 2025.0.4 and run with 2025.1.0
Build with 2025.1.0 as a work-around
1 parent c5d18f4 commit 68097b8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: .github/workflows/conda-package.yml

+10
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ jobs:
5252
shell: bash -l {0}
5353
run: |
5454
echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE${{ runner.os == 'Linux' && '/' || '\\' }}" >> $GITHUB_ENV
55+
- name: Install dpcpp compiler
56+
run: |
57+
# use 2025.1 compiler for build
58+
conda install "dpcpp_linux-64>=2025.1" -c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels
5559
- name: Build conda package
5660
run: |
5761
# use bootstrap channel to pull NumPy linked with OpenBLAS
@@ -119,6 +123,12 @@ jobs:
119123
echo "CONDA_BLD=$CONDA/conda-bld/win-64/" | tr "\\\\" '/' >> $GITHUB_ENV
120124
echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE${{ runner.os == 'Linux' && '/' || '\\' }}" >> $GITHUB_ENV
121125
126+
- name: Install dpcpp compiler
127+
run: |
128+
# use 2025.1 compiler for build
129+
conda activate
130+
conda install "dpcpp_win-64>=2025.1" -c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels
131+
122132
- name: Build conda package
123133
env:
124134
OVERRIDE_INTEL_IPO: 1 # IPO requires more resources that GH actions VM provides

0 commit comments

Comments
 (0)