Skip to content

Commit cd9199d

Browse files
Require dpcpp compiler 2024.0 and runtime >=2024.0
Also introduced jinja variable to keep those two in sync.
1 parent 526f410 commit cd9199d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

conda-recipe/meta.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{% set required_compiler_version = "2024.0" %}
2+
13
package:
24
name: dpctl
35
version: {{ GIT_DESCRIBE_TAG }}
@@ -14,7 +16,7 @@ build:
1416
requirements:
1517
build:
1618
- {{ compiler('cxx') }}
17-
- {{ compiler('dpcpp') }} >=2023.2 # [not osx]
19+
- {{ compiler('dpcpp') }} >={{ required_compiler_version }} # [not osx]
1820
- sysroot_linux-64 >=2.28 # [linux]
1921
host:
2022
- setuptools
@@ -29,7 +31,7 @@ requirements:
2931
run:
3032
- python
3133
- {{ pin_compatible('numpy', min_pin='x.x', upper_bound='1.26') }}
32-
- dpcpp-cpp-rt >=2023.2
34+
- dpcpp-cpp-rt >={{ required_compiler_version }}
3335
- level-zero # [linux]
3436

3537
test:

0 commit comments

Comments
 (0)