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 52
52
pip install --no-cache-dir numpy ${{ matrix.use_pre }}
53
53
echo "CONDA_PREFFIX is '${CONDA_PREFIX}'"
54
54
export MKLROOT=${CONDA_PREFIX}
55
- CC=icx pip install . --no-build-isolation --no-deps --verbose
55
+ pip install . --no-build-isolation --no-deps --verbose
56
56
pip install --no-cache-dir pytest
57
57
pip list
58
58
# 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%"
5
5
" %PYTHON% " setup.py clean --all
6
6
set " SKBUILD_ARGS = -G Ninja -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
7
7
8
+ set " CC = icx"
9
+
8
10
FOR %%V IN (14.0.0 14 15.0.0 15 16.0.0 16 17.0.0 17) DO @ (
9
11
REM set DIR_HINT if directory exists
10
12
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"
8
8
read -r GLIBC_MAJOR GLIBC_MINOR <<< " $(conda list '^sysroot_linux-64$' \
9
9
| tail -n 1 | awk '{print $2}' | grep -oP '\d+' | head -n 2 | tr '\n' ' ')"
10
10
11
+ export CC=icx
12
+
11
13
export CMAKE_GENERATOR=" Ninja"
12
14
SKBUILD_ARGS=" -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
13
15
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ set "INCLUDE=%BUILD_PREFIX%\include;%INCLUDE%"
5
5
" %PYTHON% " setup.py clean --all
6
6
set " SKBUILD_ARGS = -G Ninja -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
7
7
8
+ set " CC = icx"
9
+
8
10
if NOT " %WHEELS_OUTPUT_FOLDER% " == " " (
9
11
rem Install and assemble wheel package from the build bits
10
12
" %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"
8
8
read -r GLIBC_MAJOR GLIBC_MINOR <<< " $(conda list '^sysroot_linux-64$' \
9
9
| tail -n 1 | awk '{print $2}' | grep -oP '\d+' | head -n 2 | tr '\n' ' ')"
10
10
11
+ export CC=icx
12
+
11
13
export CMAKE_GENERATOR=" Ninja"
12
14
SKBUILD_ARGS=" -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
13
15
You can’t perform that action at this time.
0 commit comments