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 33@ REM used BUILD_PREFIX as compiler installed in build section of meta.yml
44set " PATH = %BUILD_PREFIX% \Library\bin-llvm;%PATH% "
55
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%
710
811rem Build wheel package
912if 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%
1114 if errorlevel 1 exit 1
1215 copy dist\numba_dpex*.whl %WHEELS_OUTPUT_FOLDER%
1316 if errorlevel 1 exit 1
Original file line number Diff line number Diff line change @@ -6,11 +6,13 @@ set -euxo pipefail
66# starting from dpcpp_impl_linux-64=2022.0.0=intel_3610
77export PATH=$CONDA_PREFIX /bin-llvm:$PATH
88
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[@]} "
1012
1113# Build wheel package
1214WHEELS_BUILD_ARGS=(-p manylinux2014_x86_64 --build-number " $GIT_DESCRIBE_NUMBER " )
1315if [[ -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[@]} "
1517 cp dist/numba_dpex* .whl " ${WHEELS_OUTPUT_FOLDER[@]} "
1618fi
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ requirements:
1818 - python
1919 - setuptools >=63.*
2020 - scikit-build >=0.15*
21+ - ninja # [not win]
2122 - cmake >=3.26*
2223 - numba >=0.57*
2324 - dpctl >=0.14*
You can’t perform that action at this time.
0 commit comments