File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1+ # Customize scons build environment.
2+
3+ Import ('env' )
4+
5+ import os
6+
7+ # Silence copious warnings from the boost headers.
8+ P = os .environ ['MYPREFIX' ]
9+ env .Prepend (CCFLAGS = '-isystem{}/include' .format (P ))
10+
11+ # Define path to the shared libraries from Anaconda environment.
12+ L = P + '/lib'
13+ env .Append (LINKFLAGS = '-Wl,-rpath,{!r}' .format (L ))
14+
15+ # vim: ft=python
Original file line number Diff line number Diff line change @@ -107,6 +107,8 @@ install:
107107 export MACOSX_DEPLOYMENT_TARGET=10.7;
108108 fi
109109
110+ - $NOMC || export MYPREFIX
111+ - $NOMC || cp .travis-sconscript.local sconscript.local
110112 - scons build=fast prefix="${MYPREFIX}" test_installed=true alltests
111113 - MYALLTESTSFAST=$(ls -t ${PWD}/build/fast*/tests/alltests | head -1)
112114 - scons build=debug lib alltests
You can’t perform that action at this time.
0 commit comments