-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtaggerSetup.csh
More file actions
executable file
·27 lines (23 loc) · 932 Bytes
/
taggerSetup.csh
File metadata and controls
executable file
·27 lines (23 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Change these two lines to match your area
set OPENCVPATH=/uscms/home/nstrobbe/nobackup/SOFTWARE/opencv/lib
set TAGGERDIR=/uscms/home/nstrobbe/work/StealthStop/CMSSW_8_0_28/src/TopTagger/TopTagger/test/../..//TopTagger/test
set OSNAME=`uname -s`
if ( "$OSNAME" == "Darwin" ) then
set test=`echo $DYLD_LIBRARY_PATH | grep "${OPENCVPATH}"`
if ( $test == "" ) then
setenv DYLD_LIBRARY_PATH ${OPENCVPATH}:${LD_LIBRARY_PATH}
endif
set test2=`echo $DYLD_LIBRARY_PATH | grep "${TAGGERDIR}"`
if ( $test2 == "" ) then
setenv DYLD_LIBRARY_PATH ${TAGGERDIR}:${LD_LIBRARY_PATH}
endif
else
set test=`echo $LD_LIBRARY_PATH | grep "${OPENCVPATH}"`
if ( $test == "" ) then
setenv LD_LIBRARY_PATH ${OPENCVPATH}:${LD_LIBRARY_PATH}
endif
set test2=`echo $LD_LIBRARY_PATH | grep "${TAGGERDIR}"`
if ( $test2 == "" ) then
setenv LD_LIBRARY_PATH ${TAGGERDIR}:${LD_LIBRARY_PATH}
endif
endif