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