File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -45,5 +45,7 @@ set "DPPL_SYCL_INTERFACE_LIBDIR=dpctl"
4545set " DPPL_SYCL_INTERFACE_INCLDIR = dpctl\include"
4646
4747" %PYTHON% " setup.py clean --all
48- " %PYTHON% " setup.py build install
48+ " %PYTHON% " setup.py build install bdist_wheel
4949IF %ERRORLEVEL% NEQ 0 exit 1
50+ if NOT " %WHEELS_OUTPUT_FOLDER% " == " " copy dist\dpctl*.whl %WHEELS_OUTPUT_FOLDER%
51+ if errorlevel 1 exit 1
Original file line number Diff line number Diff line change @@ -55,4 +55,7 @@ export DPPL_SYCL_INTERFACE_INCLDIR=dpctl/include
5555export CFLAGS=" -fPIC -O3 ${CFLAGS} "
5656export LDFLAGS=" -L ${OpenCL_LIBDIR} ${LDFLAGS} "
5757${PYTHON} setup.py clean --all
58- ${PYTHON} setup.py build install
58+ ${PYTHON} setup.py build install bdist_wheel -p manylinux1_x86_64
59+ if [ -n " ${WHEELS_OUTPUT_FOLDER} " ]; then
60+ cp dist/dpctl* .whl ${WHEELS_OUTPUT_FOLDER}
61+ fi
Original file line number Diff line number Diff line change 1111 number : {{ GIT_DESCRIBE_NUMBER }}
1212 script_env :
1313 - ONEAPI_ROOT
14+ - WHEELS_OUTPUT_FOLDER
1415
1516requirements :
1617 build :
You can’t perform that action at this time.
0 commit comments