1
+ schema_version : 1
2
+
3
+ context :
4
+ name : dpctl
5
+ git_repo_url : " https://github.com/IntelPython/dpctl.git"
6
+ latest_tag : ${{ git.latest_tag( git_repo_url ) }}
7
+ version : ${{ latest_tag }}
8
+ buildnumber : ${{ GIT_DESCRIBE_NUMBER }}
9
+ required_compiler_version : " 2024.2.0"
10
+
11
+ package :
12
+ name : ${{ name }}
13
+ version : ${{ version }}
14
+
15
+ source :
16
+ path : ..
17
+
18
+ build :
19
+ number : ${{buildnumber}}
20
+ script :
21
+ env :
22
+ WHEELS_OUTPUT_FOLDER : ${{ env.get("WHEELS_OUTPUT_FOLDER", default="") }}
23
+ OVERRIDE_INTEL_IPO : ${{ env.get("OVERRIDE_INTEL_IPO", default="") }}
24
+ files :
25
+ - ' **/*'
26
+
27
+ requirements :
28
+ ignore_run_exports :
29
+ by_name :
30
+ - level-zero
31
+ # TODO: keep in sync with /pyproject.toml
32
+ build :
33
+ - ${{ compiler('cxx') }}
34
+ - ${{ stdlib('c') }}
35
+ - ${{ compiler('dpcpp') }} >= ${{ required_compiler_version }}
36
+ host :
37
+ - python
38
+ - pip >=24.0
39
+ - level-zero-devel >=1.16
40
+ - pybind11 >=2.12
41
+ - ${{ pin_compatible('intel-sycl-rt', lower_bound='x.x', upper_bound='x') }}
42
+ - ${{ pin_compatible('intel-cmplr-lib-rt', lower_bound='x.x', upper_bound='x') }}
43
+ # Ensure we are using latest version of setuptools, since we don't need
44
+ # editable environments for release.
45
+ - setuptools >=69
46
+ - wheel>=0.43
47
+ - python-build>=1.1
48
+ - scikit-build>=0.17.0
49
+ - if : linux
50
+ then :
51
+ - ninja>=1.11.1
52
+ - cmake>=3.29.0
53
+ - if : python >= "3.13"
54
+ then :
55
+ - cython>=3.0.10,<3.1.0
56
+ - if : python < "3.13"
57
+ then :
58
+ - cython>=3.0.10
59
+ - numpy >=1.23
60
+ # WARNING: check with doc how to upgrade
61
+ - versioneer==0.29
62
+ # versioneer dependency
63
+ - if : python < "3.11"
64
+ then :
65
+ - tomli
66
+ run :
67
+ - python
68
+ - ${{ pin_compatible('intel-sycl-rt', lower_bound='x.x', upper_bound='x') }}
69
+ - ${{ pin_compatible('intel-cmplr-lib-rt', lower_bound='x.x', upper_bound='x') }}
70
+ - numpy
71
+
72
+ tests :
73
+ - script :
74
+ - if : linux
75
+ then :
76
+ - run_test.sh
77
+ - if : win
78
+ then :
79
+ - run_test.bat
80
+ files :
81
+ recipe :
82
+ - run_test.sh
83
+ - run_test.bat
84
+ requirements :
85
+ run :
86
+ - ${{ compiler('c') }}
87
+ - ${{ compiler('cxx') }}
88
+ - ${{ stdlib('c') }}
89
+ - cython
90
+ - setuptools
91
+ - pytest
92
+ - pytest-cov
93
+
94
+ about :
95
+ homepage : https://github.com/IntelPython/dpctl.git
96
+ license : Apache-2.0
97
+ license_file : LICENSE
98
+ summary : ' A lightweight Python wrapper for a subset of SYCL API.'
99
+ description : |
100
+ <strong>LEGAL NOTICE: Use of this software package is subject to the
101
+ software license agreement (as set forth above, in the license section of
102
+ the installed Conda package and/or the README file) and all notices,
103
+ disclaimers or license terms for third party or open source software
104
+ included in or with the software.</strong>
105
+ <br/><br/>
106
+ EULA: <a href="https://opensource.org/licenses/Apache-2.0" target="_blank">Apache-2.0</a>
107
+ <br/><br/>
108
+
109
+ extra :
110
+ recipe-maintainers :
111
+ - ndgrigorian
112
+ - antonwolfy
113
+ - vtavana
114
+ - vlad-perevezentsev
0 commit comments