From 630dae25da1e17b98aa0adfe24d1cf351ed03a91 Mon Sep 17 00:00:00 2001 From: Anton <100830759+antonwolfy@users.noreply.github.com> Date: Mon, 20 Nov 2023 18:38:44 +0100 Subject: [PATCH] Pin DPC++ compiler to 2023.2.1 for coverage to work around a crash in 2024.0 (#1628) --- .github/workflows/conda-package.yml | 2 +- .github/workflows/generate_coverage.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 472c0d6be9a..853776867d8 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -423,7 +423,7 @@ jobs: run: conda install anaconda-client - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v3.5.2 with: repository: IntelPython/devops-tools fetch-depth: 0 diff --git a/.github/workflows/generate_coverage.yaml b/.github/workflows/generate_coverage.yaml index 668b69e1fb5..f52d2dcb6e1 100644 --- a/.github/workflows/generate_coverage.yaml +++ b/.github/workflows/generate_coverage.yaml @@ -42,8 +42,10 @@ jobs: - name: Install dpnp dependencies run: | + # use DPC++ compiler 2023.2 to work around an issue with crash conda install cython llvm cmake">=3.21" scikit-build ninja pytest pytest-cov coverage[toml] \ - dpctl dpcpp_linux-64 sysroot_linux-64">=2.28" mkl-devel-dpcpp tbb-devel onedpl-devel ${{ env.CHANNELS }} + dpctl dpcpp_linux-64"=2023.2" sysroot_linux-64">=2.28" mkl-devel-dpcpp tbb-devel"=2021.10" \ + onedpl-devel ${{ env.CHANNELS }} - name: Conda info run: |