Skip to content

Commit 82b5855

Browse files
os-llvm-sycl-build workload uses scikit-build
1 parent 95eb592 commit 82b5855

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/os-llvm-sycl-build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- name: Install dpctl dependencies
8080
shell: bash -l {0}
8181
run: |
82-
pip install numpy cython setuptools pytest
82+
pip install numpy cython setuptools pytest scikit-build
8383
8484
- name: Checkout repo
8585
uses: actions/checkout@v2
@@ -97,5 +97,6 @@ jobs:
9797
export OCL_ICD_FILENAMES=libintelocl.so:libintelocl_emu.so
9898
clang++ --version
9999
sycl-ls
100-
python setup.py develop --sycl-compiler-prefix=$(dirname $(dirname `which clang++`))
101-
python -m pytest -v dpctl/tests
100+
python setup.py develop -- -G "Unix Makefiles" -DCMAKE_C_COMPILER:PATH=clang -DCMAKE_CXX_COMPILER:PATH=clang++ -DDPCTL_ENABLE_LO_PROGRAM_CREATION=ON -DDPCTL_DPCPP_HOME_DIR=$(dirname $(dirname $(which clang))) -DDPCTL_DPCPP_FROM_ONEAPI=OFF
101+
python -c "import dpctl; dpctl.lsplatform()" || exit 1
102+
SYCL_ENABLE_HOST_DEVICE=1 python -m pytest -v dpctl/tests

0 commit comments

Comments
 (0)