From 25f9ac366378ae4e879fa3e091d5cadaa033c473 Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Thu, 18 Jul 2024 11:46:49 -0500 Subject: [PATCH 1/2] Require 2024.2.0 DPC++ compiler --- conda-recipe/meta.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index e083bd4d52..c0f1d3bc75 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -1,7 +1,4 @@ -{% set required_compiler_version = "2024.0" %} -{% set excluded_compiler_version1 = "2024.0.1" %} -{% set excluded_compiler_version2 = "2024.0.2" %} -{% set excluded_compiler_version3 = "2024.0.3" %} +{% set required_compiler_version = "2024.2.0" %} {% set pyproject = load_file_data('pyproject.toml') %} {% set py_build_deps = pyproject.get('build-system', {}).get('requires', []) %} @@ -23,8 +20,7 @@ requirements: # TODO: keep in sync with /pyproject.toml build: - {{ compiler('cxx') }} - - {{ compiler('dpcpp') }} >={{ required_compiler_version }},!={{ excluded_compiler_version1 }},!={{ excluded_compiler_version2 }},!={{ excluded_compiler_version3 }} # [win] - - {{ compiler('dpcpp') }} >={{ required_compiler_version }},!={{ excluded_compiler_version1 }},!={{ excluded_compiler_version2 }} # [linux] + - {{ compiler('dpcpp') }} {{ required_compiler_version }} - sysroot_linux-64 >=2.28 # [linux] host: - python From c0df9e4e5b9367b63097b2e29a9afcad71d445e8 Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Fri, 19 Jul 2024 08:23:15 -0500 Subject: [PATCH 2/2] Also require DPC++ >=2024.2.0 when testing examples --- .github/workflows/conda-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index d93a60f0a2..f5d0f1fb8e 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -486,7 +486,7 @@ jobs: - name: Install example requirements shell: bash -l {0} env: - DPCPP_CMPLR: dpcpp_linux-64">=2024.1" + DPCPP_CMPLR: dpcpp_linux-64">=2024.2" run: | CHANNELS="${{ env.CHANNELS }}" . $CONDA/etc/profile.d/conda.sh