File tree Expand file tree Collapse file tree 5 files changed +9
-1
lines changed Expand file tree Collapse file tree 5 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 5252 pip install --no-cache-dir numpy ${{ matrix.use_pre }}
5353 echo "CONDA_PREFFIX is '${CONDA_PREFIX}'"
5454 export MKLROOT=${CONDA_PREFIX}
55- CC=icx pip install . --no-build-isolation --no-deps --verbose
55+ pip install . --no-build-isolation --no-deps --verbose
5656 pip install --no-cache-dir pytest
5757 pip list
5858 # mkl_umath cannot be installed in editable mode, we need
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ set "INCLUDE=%BUILD_PREFIX%\include;%INCLUDE%"
55" %PYTHON% " setup.py clean --all
66set " SKBUILD_ARGS = -G Ninja -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
77
8+ set " CC = icx"
9+
810FOR %%V IN (14.0.0 14 15.0.0 15 16.0.0 16 17.0.0 17) DO @ (
911 REM set DIR_HINT if directory exists
1012 IF EXIST " %BUILD_PREFIX% \Library\lib\clang\%%V \" (
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ export ICXCFG="$(pwd)/icx_for_conda.cfg"
88read -r GLIBC_MAJOR GLIBC_MINOR <<< " $(conda list '^sysroot_linux-64$' \
99 | tail -n 1 | awk '{print $2}' | grep -oP '\d+' | head -n 2 | tr '\n' ' ')"
1010
11+ export CC=icx
12+
1113export CMAKE_GENERATOR=" Ninja"
1214SKBUILD_ARGS=" -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
1315
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ set "INCLUDE=%BUILD_PREFIX%\include;%INCLUDE%"
55" %PYTHON% " setup.py clean --all
66set " SKBUILD_ARGS = -G Ninja -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
77
8+ set " CC = icx"
9+
810if NOT " %WHEELS_OUTPUT_FOLDER% " == " " (
911 rem Install and assemble wheel package from the build bits
1012 " %PYTHON% " setup.py install bdist_wheel %SKBUILD_ARGS%
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ export ICXCFG="$(pwd)/icx_for_conda.cfg"
88read -r GLIBC_MAJOR GLIBC_MINOR <<< " $(conda list '^sysroot_linux-64$' \
99 | tail -n 1 | awk '{print $2}' | grep -oP '\d+' | head -n 2 | tr '\n' ' ')"
1010
11+ export CC=icx
12+
1113export CMAKE_GENERATOR=" Ninja"
1214SKBUILD_ARGS=" -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
1315
You can’t perform that action at this time.
0 commit comments