Skip to content

Commit 84ea27c

Browse files
Merge pull request #1684 from IntelPython/pin-compiler-within-range-for-0.17-release
Pin compiler at build-time, and limit range for run-time
2 parents b44a93a + 41848c4 commit 84ea27c

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.21...3.27 FATAL_ERROR)
22

33
project(dpctl
4-
VERSION 0.15
4+
VERSION 0.17
55
LANGUAGES CXX
66
DESCRIPTION "Python interface for XPU programming"
77
)

conda-recipe/meta.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{% set required_compiler_version = "2024.0" %}
2-
{% set excluded_compiler_version1 = "2024.0.1" %}
3-
{% set excluded_compiler_version2 = "2024.0.2" %}
4-
{% set excluded_compiler_version3 = "2024.0.3" %}
2+
{% set runtime_lower_bound = required_compiler_version %}
3+
{% set runtime_upper_bound = "2024.3.0a0" %}
54

65
package:
76
name: dpctl
@@ -19,8 +18,7 @@ build:
1918
requirements:
2019
build:
2120
- {{ compiler('cxx') }}
22-
- {{ compiler('dpcpp') }} >={{ required_compiler_version }},!={{ excluded_compiler_version1 }},!={{ excluded_compiler_version2 }},!={{ excluded_compiler_version3 }} # [win]
23-
- {{ compiler('dpcpp') }} >={{ required_compiler_version }},!={{ excluded_compiler_version1 }},!={{ excluded_compiler_version2 }} # [linux]
21+
- {{ compiler('dpcpp') }} {{ required_compiler_version }}
2422
- sysroot_linux-64 >=2.28 # [linux]
2523
host:
2624
- setuptools
@@ -35,7 +33,7 @@ requirements:
3533
run:
3634
- python
3735
- {{ pin_compatible('numpy', min_pin='x.x', max_pin='x') }}
38-
- dpcpp-cpp-rt >={{ required_compiler_version }}
36+
- dpcpp-cpp-rt >={{ runtime_lower_bound }},<{{ runtime_upper_bound }}
3937
- level-zero # [linux]
4038

4139
test:

0 commit comments

Comments
 (0)