1
- {% 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" %}
1
+ {% set required_compiler_version = "2024.2.0" %}
5
2
6
3
{% set pyproject = load_file_data('pyproject.toml') %}
7
4
{% set py_build_deps = pyproject.get('build-system', {}).get('requires', []) %}
@@ -21,18 +18,17 @@ build:
21
18
requirements :
22
19
# TODO: keep in sync with /pyproject.toml
23
20
build :
24
- - {{ compiler('cxx') }}
25
- - {{ compiler('dpcpp') }} >={{ required_compiler_version }},!={{ excluded_compiler_version1 }},!={{ excluded_compiler_version2 }},!={{ excluded_compiler_version3 }} # [win]
26
- - {{ compiler('dpcpp') }} >={{ required_compiler_version }},!={{ excluded_compiler_version1 }},!={{ excluded_compiler_version2 }} # [linux]
21
+ - {{ compiler('c') }}
22
+ - {{ compiler('dpcpp') }} >={{ required_compiler_version }}
27
23
# Minimal supported version of sysroot (which is version of glibc) to
28
24
# have compatibility with wider range of linux distributions.
29
25
# 2.28 is the minimal supported version by dpcpp
30
26
- sysroot_linux-64 =2.28 # [linux]
31
27
host :
32
28
- python
33
29
- pip >=24.0
34
- - dpcpp-cpp-rt >={{ required_compiler_version }},!={{ excluded_compiler_version1 }},!={{ excluded_compiler_version2 }},!={{ excluded_compiler_version3 }} # [win]
35
- - dpcpp-cpp-rt >={{ required_compiler_version }},!={{ excluded_compiler_version1 }},!={{ excluded_compiler_version2 }} # [linux]
30
+ - dpcpp-cpp-rt
31
+ - intel-cmplr-lib-rt
36
32
# ensure we are using latest version of setuptools, since we don't need
37
33
# editable environments for release.
38
34
- setuptools >=69
@@ -53,17 +49,12 @@ requirements:
53
49
# pin_compatible at run section.
54
50
- dpcpp-llvm-spirv >={{ required_compiler_version }}
55
51
run :
56
- - {{ pin_compatible('dpcpp-cpp-rt', min_pin='x.x', max_pin='x') }}
57
- - {{ pin_compatible('intel-cmplr-lib-rt', min_pin='x.x', max_pin='x') }}
58
52
# TODO: pick up min version from dep
59
53
- {{ pin_compatible('dpcpp-llvm-spirv', min_pin='x.x', max_pin='x') }}
60
54
- {{ pin_compatible('dpnp', min_pin='x.x.x', max_pin='x.x') }}
61
55
- {{ pin_compatible('dpctl', min_pin='x.x.x', max_pin='x.x') }}
62
56
- {{ pin_compatible('numba', min_pin='x.x.x', max_pin='x.x') }}
63
57
- {{ pin_compatible('llvmlite', min_pin='x.x.x', max_pin='x.x') }}
64
- # TODO: set max pin +2 from minor version
65
- # https://numpy.org/neps/nep-0023-backwards-compatibility.html#nep23
66
- - {{ pin_compatible('numpy', min_pin='x.x.x', max_pin='x') }}
67
58
- python
68
59
69
60
test :
0 commit comments