File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set "LIB=%BUILD_PREFIX%\Library\lib;%BUILD_PREFIX%\compiler\lib;%LIB%"
4
4
set " INCLUDE = %BUILD_PREFIX% \include;%INCLUDE% "
5
5
6
6
" %PYTHON% " setup.py clean --all
7
- set " INSTALL_CMD = install --sycl-compiler-prefix =%BUILD_PREFIX% \Library"
7
+ set " INSTALL_CMD = install -- -G Ninja -DDPCTL_DPCPP_HOME_DIR =%BUILD_PREFIX% \Library -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icx -DDPCTL_ENABLE_LO_PROGRAM_CREATION=ON "
8
8
9
9
if NOT " %WHEELS_OUTPUT_FOLDER% " == " " (
10
10
rem Install and assemble wheel package from the build bits
Original file line number Diff line number Diff line change 6
6
export LDFLAGS=" $LDFLAGS -Wl,-rpath,$PREFIX /lib"
7
7
8
8
${PYTHON} setup.py clean --all
9
- INSTALL_CMD=" install --sycl-compiler-prefix=$BUILD_PREFIX "
9
+ export CMAKE_GENERATOR=" Unix Makefiles"
10
+ INSTALL_CMD=" install -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icpx -DDPCTL_ENABLE_LO_PROGRAM_CREATION=ON -DDPCTL_DPCPP_HOME_DIR=${BUILD_PREFIX} "
11
+ echo " ${PYTHON} setup.py ${INSTALL_CMD} "
10
12
11
13
# Workaround for:
12
14
# DPC++ launched by cmake does not see components of `dpcpp_cpp_rt`,
Original file line number Diff line number Diff line change @@ -22,12 +22,13 @@ requirements:
22
22
- python
23
23
- make # [unix]
24
24
- ninja # [win]
25
+ - scikit-build
25
26
- numpy 1.19
26
27
- wheel
27
28
run :
28
29
- python
29
30
- {{ pin_compatible('numpy') }}
30
- - dpcpp-cpp-rt >=2021.2
31
+ - dpcpp-cpp-rt >=2022.0
31
32
32
33
test :
33
34
requires :
You can’t perform that action at this time.
0 commit comments