Skip to content

Commit

Permalink
Replace setting LD_LIBRARY_PATH with setting LIBRARY_PATH based on th…
Browse files Browse the repository at this point in the history
…e preceding comment
  • Loading branch information
oleksandr-pavlyk committed Nov 21, 2024
1 parent 65360c3 commit a295c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda-recipe/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# This is necessary to help DPC++ find Intel libraries such as SVML, IRNG, etc in build prefix
export LIBRARY_PATH="$LD_LIBRARY_PATH:${BUILD_PREFIX}/lib"
export LIBRARY_PATH="$LIBRARY_PATH:${BUILD_PREFIX}/lib"

# Intel LLVM must cooperate with compiler and sysroot from conda
echo "--gcc-toolchain=${BUILD_PREFIX} --sysroot=${BUILD_PREFIX}/${HOST}/sysroot -target ${HOST}" > icpx_for_conda.cfg
Expand Down

0 comments on commit a295c11

Please sign in to comment.