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"
45
45
set " DPPL_SYCL_INTERFACE_INCLDIR = dpctl\include"
46
46
47
47
" %PYTHON% " setup.py clean --all
48
- " %PYTHON% " setup.py build install bdist_wheel
48
+ " %PYTHON% " setup.py build install
49
49
IF %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
55
55
export CFLAGS=" -fPIC -O3 ${CFLAGS} "
56
56
export LDFLAGS=" -L ${OpenCL_LIBDIR} ${LDFLAGS} "
57
57
${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
59
61
if [ -n " ${WHEELS_OUTPUT_FOLDER} " ]; then
62
+ $PYTHON setup.py bdist_wheel -p manylinux1_x86_64
60
63
cp dist/dpctl* .whl ${WHEELS_OUTPUT_FOLDER}
61
64
fi
You can’t perform that action at this time.
0 commit comments