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" %}
52
63{% set pyproject = load_file_data('pyproject.toml') %}
74{% set py_build_deps = pyproject.get('build-system', {}).get('requires', []) %}
@@ -21,18 +18,17 @@ build:
2118requirements :
2219 # TODO: keep in sync with /pyproject.toml
2320 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 }}
2723 # Minimal supported version of sysroot (which is version of glibc) to
2824 # have compatibility with wider range of linux distributions.
2925 # 2.28 is the minimal supported version by dpcpp
3026 - sysroot_linux-64 =2.28 # [linux]
3127 host :
3228 - python
3329 - 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
3632 # ensure we are using latest version of setuptools, since we don't need
3733 # editable environments for release.
3834 - setuptools >=69
@@ -53,17 +49,12 @@ requirements:
5349 # pin_compatible at run section.
5450 - dpcpp-llvm-spirv >={{ required_compiler_version }}
5551 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') }}
5852 # TODO: pick up min version from dep
5953 - {{ pin_compatible('dpcpp-llvm-spirv', min_pin='x.x', max_pin='x') }}
6054 - {{ pin_compatible('dpnp', min_pin='x.x.x', max_pin='x.x') }}
6155 - {{ pin_compatible('dpctl', min_pin='x.x.x', max_pin='x.x') }}
6256 - {{ pin_compatible('numba', min_pin='x.x.x', max_pin='x.x') }}
6357 - {{ 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') }}
6758 - python
6859
6960test :
0 commit comments