Skip to content

Commit 1d65aea

Browse files
committed
Merge branch 'master' into gold/2021
2 parents 6b14325 + 666f672 commit 1d65aea

File tree

4 files changed

+5
-22
lines changed

4 files changed

+5
-22
lines changed

.github/workflows/build-sphinx.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ jobs:
7171

7272
- name: Install dpnp dependencies
7373
run: |
74-
conda install dpctl mkl-devel-dpcpp tbb-devel dpcpp_linux-64 cmake cython pytest \
75-
-c dppy/label/dev -c intel -c conda-forge
74+
conda install dpctl mkl-devel-dpcpp onedpl-devel tbb-devel dpcpp_linux-64 \
75+
cmake cython pytest -c dppy/label/dev -c intel -c conda-forge
7676
7777
- name: Install cuPy dependencies
7878
run: conda install -c conda-forge cupy cudatoolkit=10.0
@@ -84,7 +84,7 @@ jobs:
8484
8585
- name: Build library
8686
run: |
87-
DPLROOT=/opt/intel/oneapi/dpl/latest python setup.py build_clib
87+
python setup.py build_clib
8888
CC=dpcpp python setup.py build_ext --inplace
8989
python setup.py develop
9090

.github/workflows/conda-package.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ jobs:
4040
with:
4141
fetch-depth: 0
4242

43-
- name: Checkout oneDPL
44-
uses: actions/[email protected]
45-
with:
46-
repository: oneapi-src/oneDPL
47-
path: oneDPL
48-
ref: oneDPL-2021.7.0-release
49-
5043
- name: Setup miniconda
5144
uses: conda-incubator/[email protected]
5245
with:
@@ -76,8 +69,6 @@ jobs:
7669
7770
- name: Build conda package
7871
run: conda build --no-test --python ${{ matrix.python }} ${{ env.CHANNELS }} conda-recipe
79-
env:
80-
DPLROOT: '${{ github.workspace }}/oneDPL'
8172

8273
- name: Upload artifact
8374
uses: actions/[email protected]
@@ -110,13 +101,6 @@ jobs:
110101
with:
111102
fetch-depth: 0
112103

113-
- name: Checkout oneDPL
114-
uses: actions/[email protected]
115-
with:
116-
repository: oneapi-src/oneDPL
117-
path: oneDPL
118-
ref: oneDPL-2021.7.0-release
119-
120104
- name: Setup miniconda
121105
uses: conda-incubator/[email protected]
122106
with:
@@ -148,8 +132,6 @@ jobs:
148132

149133
- name: Build conda package
150134
run: conda build --no-test --python ${{ matrix.python }} ${{ env.CHANNELS }} conda-recipe
151-
env:
152-
DPLROOT: '%GITHUB_WORKSPACE%\oneDPL'
153135

154136
- name: Upload artifact
155137
uses: actions/[email protected]

0.build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cd ${THEDIR}
77
export DPNP_DEBUG=1
88

99
python setup.py clean
10-
DPLROOT=/opt/intel/oneapi/dpl/latest python setup.py build_clib
10+
python setup.py build_clib
1111

1212
# inplace build
1313
CC=dpcpp python setup.py build_ext --inplace

conda-recipe/meta.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ requirements:
1313
- cmake >=3.19
1414
- dpctl >=0.13
1515
- mkl-devel-dpcpp {{ environ.get('MKL_VER', '>=2021.1.1') }}
16+
- onedpl-devel
1617
- tbb-devel
1718
- wheel
1819
build:

0 commit comments

Comments
 (0)