Skip to content

Commit 46583b8

Browse files
Merge pull request #1486 from IntelPython/pin-compiler-conda-package
Stay away from 2024.0.1 compiler package for now
2 parents ebf94b0 + c195f0b commit 46583b8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/conda-package.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,8 @@ jobs:
448448
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
449449
- name: Install example requirements
450450
shell: bash -l {0}
451+
env:
452+
DPCPP_CMPLR: dpcpp_linux-64">=2024.0.0,<2024.0.1"
451453
run: |
452454
CHANNELS="${{ env.CHANNELS }}"
453455
. $CONDA/etc/profile.d/conda.sh
@@ -456,7 +458,7 @@ jobs:
456458
conda install -n examples -y ninja $CHANNELS || exit 1
457459
conda install -n examples -y pybind11 cython scikit-build $CHANNELS || exit 1
458460
conda install -n examples -y mkl-dpcpp mkl-devel-dpcpp dpcpp_cpp_rt $CHANNELS || exit 1
459-
conda create -y -n build_env $CHANNELS gcc_linux-64 gxx_linux-64 dpcpp_linux-64 sysroot_linux-64">=2.28"
461+
conda create -y -n build_env $CHANNELS gcc_linux-64 gxx_linux-64 ${{ env.DPCPP_CMPLR }} sysroot_linux-64">=2.28"
460462
- name: Install dpctl
461463
shell: bash -l {0}
462464
run: |

conda-recipe/meta.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% set required_compiler_version = "2024.0" %}
2+
{% set max_compiler_version = "2024.0.1" %}
23

34
package:
45
name: dpctl
@@ -16,7 +17,7 @@ build:
1617
requirements:
1718
build:
1819
- {{ compiler('cxx') }}
19-
- {{ compiler('dpcpp') }} >={{ required_compiler_version }} # [not osx]
20+
- {{ compiler('dpcpp') }} >={{ required_compiler_version }},<{{ max_compiler_version }} # [not osx]
2021
- sysroot_linux-64 >=2.28 # [linux]
2122
host:
2223
- setuptools

0 commit comments

Comments
 (0)