Skip to content

Commit bc07077

Browse files
committed
Pinned compiler and dpctl versions
1 parent 6579c1e commit bc07077

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/build-sphinx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
9292
- name: Install dpnp dependencies
9393
run: |
94-
conda install numpy"<1.24" dpctl">=0.15.0" mkl-devel-dpcpp onedpl-devel tbb-devel dpcpp_linux-64 \
94+
conda install numpy"<1.24" dpctl">=0.15.1dev1" mkl-devel-dpcpp onedpl-devel tbb-devel dpcpp_linux-64 \
9595
cmake cython pytest ninja scikit-build sysroot_linux-64">=2.28" ${{ env.CHANNELS }}
9696
9797
- name: Install cuPy dependencies

conda-recipe/meta.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
{% set required_compiler_and_mkl_version = "2024.0" %}
2+
{% set required_dpctl_version = "0.15.1dev1" %}
3+
14
package:
25
name: dpnp
36
version: {{ GIT_DESCRIBE_TAG }}
@@ -13,21 +16,21 @@ requirements:
1316
- cmake >=3.21
1417
- ninja
1518
- git
16-
- dpctl >=0.15.0
17-
- mkl-devel-dpcpp {{ environ.get('MKL_VER', '>=2024.0') }}
19+
- dpctl >={{ required_dpctl_version }}
20+
- mkl-devel-dpcpp >={{ required_compiler_and_mkl_version }}
1821
- onedpl-devel
1922
- tbb-devel
2023
- wheel
2124
- scikit-build
2225
build:
2326
- {{ compiler('cxx') }}
24-
- {{ compiler('dpcpp') }} >=2024.0 # [not osx]
27+
- {{ compiler('dpcpp') }} >={{ required_compiler_and_mkl_version }} # [not osx]
2528
- sysroot_linux-64 >=2.28 # [linux]
2629
run:
2730
- python
28-
- dpctl >=0.15.0
29-
- dpcpp-cpp-rt >=2024.0
30-
- {{ pin_compatible('mkl-dpcpp', min_pin='x.x', max_pin='x') }}
31+
- dpctl >={{ required_dpctl_version }}
32+
- {{ pin_compatible('dpcpp-cpp-rt', min_pin='x.x') }}
33+
- {{ pin_compatible('mkl-dpcpp', min_pin='x.x') }}
3134
- {{ pin_compatible('numpy', min_pin='x.x', max_pin='x') }}
3235

3336
build:

0 commit comments

Comments
 (0)