Skip to content

Commit 4a4318b

Browse files
committed
Pin DPC++ compiler to 2023.2.1 for coverage to work around a crash in 2024.0
1 parent 96021f0 commit 4a4318b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/conda-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ jobs:
423423
run: conda install anaconda-client
424424

425425
- name: Checkout repo
426-
uses: actions/checkout@v2
426+
uses: actions/checkout@v3.5.2
427427
with:
428428
repository: IntelPython/devops-tools
429429
fetch-depth: 0

.github/workflows/generate_coverage.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ jobs:
4242
4343
- name: Install dpnp dependencies
4444
run: |
45+
# use DPC++ compiler 2023.2.1 to work around an issue with crash
4546
conda install cython llvm cmake">=3.21" scikit-build ninja pytest pytest-cov coverage[toml] \
46-
dpctl dpcpp_linux-64 sysroot_linux-64">=2.28" mkl-devel-dpcpp tbb-devel onedpl-devel ${{ env.CHANNELS }}
47+
dpctl dpcpp_linux-64"=2023.2" sysroot_linux-64">=2.28" mkl-devel-dpcpp tbb-devel"=2021.10" \
48+
onedpl-devel ${{ env.CHANNELS }}
4749
4850
- name: Conda info
4951
run: |

0 commit comments

Comments
 (0)