Skip to content

Commit 20566ef

Browse files
Try to expand bash variables
1 parent cf91310 commit 20566ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

conda-recipe/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
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=${!PREFIX} --sysroot=${!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
13+
echo ${!ICPXCFG}
1414
cat $ICPXCFG
15-
echo $ICXCFG
15+
echo ${!ICXCFG}
1616
cat $ICXCFG
1717

1818
if [ -e "_skbuild" ]; then

0 commit comments

Comments
 (0)