File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -47,3 +47,11 @@ set "DPPL_SYCL_INTERFACE_INCLDIR=dpctl\include"
47
47
" %PYTHON% " setup.py clean --all
48
48
" %PYTHON% " setup.py build install
49
49
IF %ERRORLEVEL% NEQ 0 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 @@ -56,3 +56,9 @@ export CFLAGS="-fPIC -O3 ${CFLAGS}"
56
56
export LDFLAGS=" -L ${OpenCL_LIBDIR} ${LDFLAGS} "
57
57
${PYTHON} setup.py clean --all
58
58
${PYTHON} setup.py build install
59
+
60
+ # Build wheel package
61
+ if [ -n " ${WHEELS_OUTPUT_FOLDER} " ]; then
62
+ $PYTHON setup.py bdist_wheel -p manylinux1_x86_64
63
+ cp dist/dpctl* .whl ${WHEELS_OUTPUT_FOLDER}
64
+ fi
Original file line number Diff line number Diff line change 11
11
number : {{ GIT_DESCRIBE_NUMBER }}
12
12
script_env :
13
13
- ONEAPI_ROOT
14
+ - WHEELS_OUTPUT_FOLDER
14
15
15
16
requirements :
16
17
build :
@@ -24,6 +25,7 @@ requirements:
24
25
- make # [unix]
25
26
- ninja # [win]
26
27
- numpy >=1.17
28
+ - wheel
27
29
run :
28
30
- python
29
31
- numpy >=1.17
You can’t perform that action at this time.
0 commit comments