File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 3
3
@ REM used BUILD_PREFIX as compiler installed in build section of meta.yml
4
4
set " PATH = %BUILD_PREFIX% \Library\bin-llvm;%PATH% "
5
5
6
- %PYTHON% setup.py install --single-version-externally-managed --record=record.txt
6
+ set " SKBUILD_ARGS = -G Ninja --"
7
+ set " SKBUILD_ARGS = %SKBUILD_ARGS% -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
8
+
9
+ %PYTHON% setup.py install --single-version-externally-managed --record=record.txt %SKBUILD_ARGS%
7
10
8
11
rem Build wheel package
9
12
if NOT " %WHEELS_OUTPUT_FOLDER% " == " " (
10
- %PYTHON% setup.py bdist_wheel --build-number %GIT_DESCRIBE_NUMBER%
13
+ %PYTHON% setup.py bdist_wheel --build-number %GIT_DESCRIBE_NUMBER% %SKBUILD_ARGS%
11
14
if errorlevel 1 exit 1
12
15
copy dist\numba_dpex*.whl %WHEELS_OUTPUT_FOLDER%
13
16
if errorlevel 1 exit 1
Original file line number Diff line number Diff line change @@ -6,11 +6,13 @@ set -euxo pipefail
6
6
# starting from dpcpp_impl_linux-64=2022.0.0=intel_3610
7
7
export PATH=$CONDA_PREFIX /bin-llvm:$PATH
8
8
9
- ${PYTHON} setup.py install --single-version-externally-managed --record=record.txt
9
+ SKBUILD_ARGS=(-G Ninja -- -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON)
10
+
11
+ ${PYTHON} setup.py install --single-version-externally-managed --record=record.txt " ${SKBUILD_ARGS[@]} "
10
12
11
13
# Build wheel package
12
14
WHEELS_BUILD_ARGS=(-p manylinux2014_x86_64 --build-number " $GIT_DESCRIBE_NUMBER " )
13
15
if [[ -v WHEELS_OUTPUT_FOLDER ]]; then
14
- $PYTHON setup.py bdist_wheel " ${WHEELS_BUILD_ARGS[@]} "
16
+ $PYTHON setup.py bdist_wheel " ${WHEELS_BUILD_ARGS[@]} " " ${SKBUILD_ARGS[@]} "
15
17
cp dist/numba_dpex* .whl " ${WHEELS_OUTPUT_FOLDER[@]} "
16
18
fi
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ requirements:
18
18
- python
19
19
- setuptools >=63.*
20
20
- scikit-build >=0.15*
21
+ - ninja # [not win]
21
22
- cmake >=3.26*
22
23
- numba >=0.57*
23
24
- dpctl >=0.14*
You can’t perform that action at this time.
0 commit comments