File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22rem set CFLAGS=-I%PREFIX%\Library\include %CFLAGS%
33rem set LDFLAGS=/LIBPATH:%PREFIX% %LDFLAGS%
44
5- " %PYTHON% " setup.py clean --all
6-
7- :: Make CMake verbose
8- set " VERBOSE = 1"
5+ set " CC = icx"
96
107:: -wnx flags mean: --wheel --no-isolation --skip-dependency-check
118%PYTHON% -m build -w -n -x
Original file line number Diff line number Diff line change @@ -4,10 +4,11 @@ set -ex
44read -r GLIBC_MAJOR GLIBC_MINOR <<< " $(conda list '^sysroot_linux-64$' \
55 | tail -n 1 | awk '{print $2}' | grep -oP '\d+' | head -n 2 | tr '\n' ' ')"
66
7- ${PYTHON} setup.py clean --all
7+ if [ -d " build" ]; then
8+ rm -rf build
9+ fi
810
9- # Make CMake verbose
10- export VERBOSE=1
11+ export CC=icx
1112
1213# -wnx flags mean: --wheel --no-isolation --skip-dependency-check
1314${PYTHON} -m build -w -n -x
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ requirements:
2424 - ninja
2525 - python
2626 - python-gil # [py>=314]
27+ - python-build
2728 - pip >=25.0
2829 - mkl-devel
2930 - cython
You can’t perform that action at this time.
0 commit comments