Skip to content

Commit 27c8f8a

Browse files
Restore CC=icx in conda build scripts to build with icx
1 parent 283d50e commit 27c8f8a

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

conda-recipe-cf/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash -ex
22

33
# -Ccompile-args=-v makes ninja print full compiler commands (verbose build)
4-
$PYTHON -m pip install --no-build-isolation --no-deps \
4+
CC=icx CXX=icpx $PYTHON -m pip install --no-build-isolation --no-deps \
55
-Csetup-args="-Dmkl_threading=gnu_thread" \
66
-Ccompile-args=-v \
77
. \

conda-recipe/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ if [ -d "build" ]; then
1515
rm -rf build
1616
fi
1717

18+
export CC=icx
19+
export CXX=icpx
20+
1821
# -wnx flags mean: --wheel --no-isolation --skip-dependency-check
1922
# -Ccompile-args=-v makes ninja print full compiler commands (verbose build)
2023
${PYTHON} -m build -w -n -x -Ccompile-args=-v

0 commit comments

Comments
 (0)