File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,13 @@ 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 bdist_wheel
48+ " %PYTHON% " setup.py build install
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
50+
51+ rem Build wheel package
52+ if NOT " %WHEELS_OUTPUT_FOLDER% " == " " (
53+ %PYTHON% setup.py bdist_wheel
54+ if errorlevel 1 exit 1
55+ copy dist\dpctl*.whl %WHEELS_OUTPUT_FOLDER%
56+ if errorlevel 1 exit 1
57+ )
Original file line number Diff line number Diff line change @@ -55,7 +55,10 @@ 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 bdist_wheel -p manylinux1_x86_64
58+ ${PYTHON} setup.py build install
59+
60+ # Build wheel package
5961if [ -n " ${WHEELS_OUTPUT_FOLDER} " ]; then
62+ $PYTHON setup.py bdist_wheel -p manylinux1_x86_64
6063 cp dist/dpctl* .whl ${WHEELS_OUTPUT_FOLDER}
6164fi
You can’t perform that action at this time.
0 commit comments