Skip to content

Commit 471fc8e

Browse files
Workaround for running conda-build using Klocwork
Workaround to Klocwork overwriting LD_LIBRARY_PATH that was modified by DPC++ compiler conda packages. Will need to be added to DPC++ compiler activation scripts.
1 parent 4f187a8 commit 471fc8e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

conda-recipe/build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#!/bin/bash
22

3+
# Workaround to Klocwork overwriting LD_LIBRARY_PATH that was modified
4+
# by DPC++ compiler conda packages. Will need to be added to DPC++ compiler
5+
# activation scripts.
6+
export LDFLAGS="$LDFLAGS -Wl,-rpath,$CONDA_PREFIX/lib"
7+
38
${PYTHON} setup.py clean --all
49
INSTALL_CMD="install --sycl-compiler-prefix=$CONDA_PREFIX"
510

0 commit comments

Comments
 (0)