Skip to content

Commit 885b2a3

Browse files
Using $BUILD_PREFIX over $PREFIX as this is where compiler is
1 parent cf91310 commit 885b2a3

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

conda-recipe/build.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,10 @@
66
export LDFLAGS="$LDFLAGS -Wl,-rpath,$PREFIX/lib"
77

88
# Intel LLVM must cooperate with compiler and sysroot from conda
9-
echo "--gcc-toolchain=$PREFIX --sysroot=$PREFIX/$HOST/sysroot -target $HOST" > icpx_for_conda.cfg
9+
echo "--gcc-toolchain=${BUILD_PREFIX} --sysroot=${BUILD_PREFIX}/${HOST}/sysroot -target ${HOST}" > icpx_for_conda.cfg
1010
export ICPXCFG="$(pwd)/icpx_for_conda.cfg"
1111
export ICXCFG="$(pwd)/icpx_for_conda.cfg"
1212

13-
echo $ICPXCFG
14-
cat $ICPXCFG
15-
echo $ICXCFG
16-
cat $ICXCFG
17-
1813
if [ -e "_skbuild" ]; then
1914
${PYTHON} setup.py clean --all
2015
fi

0 commit comments

Comments
 (0)