From 913f118bb70b9e4459299773863bc03f372051ad Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 12 Dec 2023 12:33:59 +0100 Subject: [PATCH 1/2] Stay away from 2024.0.1 compiler package --- conda-recipe/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 874f02bbae30..7f0b57db654d 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -1,4 +1,5 @@ {% set required_compiler_and_mkl_version = "2024.0" %} +{% set max_compiler_version = "2024.0.1" %} {% set required_dpctl_version = "0.15.1dev2" %} package: @@ -24,7 +25,7 @@ requirements: - scikit-build build: - {{ compiler('cxx') }} - - {{ compiler('dpcpp') }} >={{ required_compiler_and_mkl_version }} # [not osx] + - {{ compiler('dpcpp') }} >={{ required_compiler_and_mkl_version }},<{{ max_compiler_version }} # [not osx] - sysroot_linux-64 >=2.28 # [linux] run: - python From 0fa390d6530e0410c89bf2497a99a9445896a5da Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 12 Dec 2023 13:02:17 +0100 Subject: [PATCH 2/2] Limit max compiler version while building docs --- .github/workflows/build-sphinx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-sphinx.yml b/.github/workflows/build-sphinx.yml index 702d4e325cd5..623644a89a66 100644 --- a/.github/workflows/build-sphinx.yml +++ b/.github/workflows/build-sphinx.yml @@ -97,7 +97,7 @@ jobs: - name: Install dpnp dependencies run: | - conda install numpy"<1.24" dpctl">=0.15.1dev2" mkl-devel-dpcpp onedpl-devel tbb-devel dpcpp_linux-64 \ + conda install numpy"<1.24" dpctl">=0.15.1dev2" mkl-devel-dpcpp onedpl-devel tbb-devel dpcpp_linux-64"<2024.0.1" \ cmake cython pytest ninja scikit-build sysroot_linux-64">=2.28" ${{ env.CHANNELS }} - name: Install cuPy dependencies