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