Skip to content

Commit ff8606f

Browse files
committed
Handle CPATH variable being unset
1 parent 9ace1cd commit ff8606f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci/_source_common_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export CACHE_ROOT=$(pwd)/cache-ci
22
export PYTHONUSERBASE=$CACHE_ROOT/pyusrb
3-
export CPATH=$SUNDIALS_ROOT/include:/usr/include/suitesparse:$CPATH # sunlinsol_klu.h includes "klu.h"
3+
export CPATH=$SUNDIALS_ROOT/include:/usr/include/suitesparse:${CPATH:-} # sunlinsol_klu.h includes "klu.h"
44
export CPLUS_INCLUDE_PATH=${Boost_ROOT}/include
55
export LIBRARY_PATH=$SUNDIALS_ROOT/lib
66
export LD_LIBRARY_PATH=$SUNDIALS_ROOT/lib

0 commit comments

Comments
 (0)