File tree Expand file tree Collapse file tree 6 files changed +108
-97
lines changed Expand file tree Collapse file tree 6 files changed +108
-97
lines changed Original file line number Diff line number Diff line change 18
18
VER_JSON_NAME : ' version.json'
19
19
VER_SCRIPT1 : " import json; f = open('version.json', 'r'); j = json.load(f); f.close(); "
20
20
VER_SCRIPT2 : " d = j['numba-dpex'][0]; print('='.join((d[s] for s in ('version', 'build'))))"
21
+ PYTHONIOENCODING : ' utf-8'
21
22
22
23
jobs :
23
24
build :
@@ -172,7 +173,7 @@ jobs:
172
173
# We want to make sure that all dependecies install automatically.
173
174
# intel::intel-opencl-rt is needed for set-intel-ocl-icd-registry.ps1
174
175
- name : Install builded package
175
- run : mamba install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} intel::intel-opencl-rt pytest-cov -c ${{ env.CHANNEL_PATH }}
176
+ run : mamba install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} intel::intel-opencl-rt pytest-cov conda-tree -c ${{ env.CHANNEL_PATH }}
176
177
177
178
- name : Install numba-mlir
178
179
if : matrix.use_mlir
@@ -199,6 +200,9 @@ jobs:
199
200
run : |
200
201
python -c "import dpcpp_llvm_spirv as p; print(p.get_llvm_spirv_path())"
201
202
203
+ - name : Check dependency tree
204
+ run : conda-tree depends -t numba-dpex
205
+
202
206
- name : Smoke test
203
207
env :
204
208
NUMBA_DPEX_USE_MLIR : ${{ matrix.use_mlir && '1' || '0' }}
Original file line number Diff line number Diff line change
1
+ {% set required_compiler_version = "2023.2" %}
2
+ {% set excluded_compiler_version1 = "2024.0.1" %}
3
+ {% set excluded_compiler_version2 = "2024.0.2" %}
4
+
1
5
package :
2
6
name : numba-dpex
3
7
version : {{ GIT_DESCRIBE_TAG }}
@@ -13,8 +17,12 @@ build:
13
17
requirements :
14
18
build :
15
19
- {{ compiler('cxx') }}
16
- - {{ compiler('dpcpp') }} <2024.0.1 # [not osx]
20
+ - {{ compiler('dpcpp') }} >={{ required_compiler_version }},!={{ excluded_compiler_version1 }},!={{ excluded_compiler_version2 }} # [not osx]
21
+ # specific version of sysroot required by dpcpp, but 2024.0.0 package
22
+ # does not have it in meta data
23
+ - sysroot_linux-64 >=2.28 # [linux]
17
24
host :
25
+ - dpcpp-cpp-rt >={{ required_compiler_version }},!={{ excluded_compiler_version1 }},!={{ excluded_compiler_version2 }}
18
26
- python
19
27
- setuptools >=63.*
20
28
- scikit-build >=0.15*
@@ -26,6 +34,7 @@ requirements:
26
34
- dpcpp-llvm-spirv
27
35
- wheel
28
36
run :
37
+ - {{ pin_compatible('dpcpp-cpp-rt', min_pin='x.x', max_pin='x') }}
29
38
- python
30
39
- numba >=0.57*
31
40
- dpctl >=0.14*
Original file line number Diff line number Diff line change 1
1
name : dev
2
2
channels :
3
- - defaults
4
- - dppy/label/dev
5
- - numba
6
- - intel
7
- - numba/label/dev
8
- - nodefaults
3
+ - defaults
4
+ - dppy/label/dev
5
+ - numba
6
+ - intel
7
+ - numba/label/dev
8
+ - nodefaults
9
9
dependencies :
10
- - python=3.9
11
- - gxx_linux-64
12
- - dpcpp_linux-64= =2024.0.0
13
- - numba ==0.58*
14
- - dpctl >=0.14*
15
- - dpnp >=0.11*
16
- - mkl >=2021.3.0 # for dpnp
17
- - dpcpp-llvm-spirv
18
- - packaging
19
- - scikit-build >=0.15*
20
- - cmake >=3.26*
21
- - pytest
22
- - pip
23
- - pip :
24
- - coverage
25
- - pre-commit
26
- - flake8
27
- - black==20.8b1
28
- - pytest-cov
29
- - pytest-xdist
30
- - pexpect
10
+ - python=3.9
11
+ - gxx_linux-64
12
+ - dpcpp_linux-64>=2023.2,! =2024.0.1,!=2024.0.2
13
+ - numba ==0.58*
14
+ - dpctl >=0.14*
15
+ - dpnp >=0.11*
16
+ - mkl >=2021.3.0 # for dpnp
17
+ - dpcpp-llvm-spirv
18
+ - packaging
19
+ - scikit-build >=0.15*
20
+ - cmake >=3.26*
21
+ - pytest
22
+ - pip
23
+ - pip :
24
+ - coverage
25
+ - pre-commit
26
+ - flake8
27
+ - black==20.8b1
28
+ - pytest-cov
29
+ - pytest-xdist
30
+ - pexpect
31
31
variables :
32
32
CHANNELS : -c defaults -c numba -c intel -c numba/label/dev -c dppy/label/dev --override-channels
33
33
CHANNELS_DEV : -c dppy/label/dev -c defaults -c numba -c intel -c numba/label/dev --override-channels
Original file line number Diff line number Diff line change 1
1
name : dev
2
2
channels :
3
- - dppy/label/dev
4
- - numba
5
- - intel
6
- - conda-forge
7
- - nodefaults
3
+ - dppy/label/dev
4
+ - numba
5
+ - intel
6
+ - conda-forge
7
+ - nodefaults
8
8
dependencies :
9
- - libffi
10
- - gxx_linux-64
11
- - dpcpp_linux-64= =2024.0.0
12
- - numba==0.58*
13
- - dpctl
14
- - dpnp
15
- - dpcpp-llvm-spirv
16
- - opencl_rt
17
- - coverage
18
- - pytest
19
- - pytest-cov
20
- - pytest-xdist
21
- - pexpect
22
- - scikit-build>=0.15*
23
- - cmake>=3.26*
9
+ - libffi
10
+ - gxx_linux-64
11
+ - dpcpp_linux-64>=2023.2,! =2024.0.1,!=2024.0.2
12
+ - numba==0.58*
13
+ - dpctl
14
+ - dpnp
15
+ - dpcpp-llvm-spirv
16
+ - opencl_rt
17
+ - coverage
18
+ - pytest
19
+ - pytest-cov
20
+ - pytest-xdist
21
+ - pexpect
22
+ - scikit-build>=0.15*
23
+ - cmake>=3.26*
Original file line number Diff line number Diff line change 1
1
name : dpex-docs-dev
2
2
channels :
3
- - dppy/label/dev
4
- - numba
5
- - intel
6
- - conda-forge
7
- - nodefaults
3
+ - dppy/label/dev
4
+ - numba
5
+ - intel
6
+ - conda-forge
7
+ - nodefaults
8
8
dependencies :
9
- - libffi
10
- - gxx_linux-64
11
- - dpcpp_linux-64= =2024.0.0
12
- - numba==0.58*
13
- - scikit-build>=0.15*
14
- - cmake>=3.26*
15
- - dpctl
16
- - dpnp
17
- - dpcpp-llvm-spirv
18
- - opencl_rt
19
- - pip
20
- - pip :
21
- - sphinx
22
- - autodoc # there is no conda package
23
- - recommonmark
24
- - sphinx-rtd-theme
25
- - sphinxcontrib-apidoc
26
- - sphinxcontrib-googleanalytics
27
- - sphinxcontrib.programoutput
28
- - pydata-sphinx-theme
29
- - myst-parser
9
+ - libffi
10
+ - gxx_linux-64
11
+ - dpcpp_linux-64>=2023.2,! =2024.0.1,!=2024.0.2
12
+ - numba==0.58*
13
+ - scikit-build>=0.15*
14
+ - cmake>=3.26*
15
+ - dpctl
16
+ - dpnp
17
+ - dpcpp-llvm-spirv
18
+ - opencl_rt
19
+ - pip
20
+ - pip :
21
+ - sphinx
22
+ - autodoc # there is no conda package
23
+ - recommonmark
24
+ - sphinx-rtd-theme
25
+ - sphinxcontrib-apidoc
26
+ - sphinxcontrib-googleanalytics
27
+ - sphinxcontrib.programoutput
28
+ - pydata-sphinx-theme
29
+ - myst-parser
Original file line number Diff line number Diff line change 1
1
name : dev
2
2
channels :
3
- - dppy/label/dev
4
- - numba
5
- - intel
6
- - conda-forge
7
- - nodefaults
3
+ - dppy/label/dev
4
+ - numba
5
+ - intel
6
+ - conda-forge
7
+ - nodefaults
8
8
dependencies :
9
- - libffi
10
- - gxx_linux-64
11
- - dpcpp_linux-64==2024.0.0
12
- - numba==0.58*
13
- - dpctl
14
- - dpnp
15
- - dpcpp-llvm-spirv
16
- - opencl_rt
17
- - coverage
18
- - pytest
19
- - pytest-cov
20
- - pytest-xdist
21
- - pexpect
22
- - scikit-build>=0.15*
23
- - cmake>=3.26*
24
- - pre-commit
25
- - pylint
9
+ - libffi
10
+ - numba==0.58*
11
+ - dpctl
12
+ - dpnp
13
+ - dpcpp-llvm-spirv
14
+ - opencl_rt
15
+ - coverage
16
+ - pytest
17
+ - pytest-cov
18
+ - pytest-xdist
19
+ - pexpect
20
+ - scikit-build>=0.15*
21
+ - cmake>=3.26*
22
+ - pre-commit
23
+ - pylint
You can’t perform that action at this time.
0 commit comments