Skip to content

Commit 5d009c6

Browse files
committed
BLD: fix compiler paths for conda package test.
When `test_installed=true` the scons `prefix` path specifies where is the tested diffpy library. However, it is still necessary to set CPATH, LIBRARY_PATH so that boost is found in the configure step.
1 parent 1538edc commit 5d009c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conda-recipe/run_test.sh

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

3+
export CPATH="${PREFIX}/include:${CPATH}"
4+
export LIBRARY_PATH="${PREFIX}/lib:${LIBRARY_PATH}"
5+
36
MYNCPU=$(( (CPU_COUNT > 8) ? 8 : CPU_COUNT ))
47

58
# Apply sconscript.local customizations.

0 commit comments

Comments
 (0)