forked from uwcms/cms-calo-layer1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenvironment.sh
executable file
·38 lines (29 loc) · 1004 Bytes
/
environment.sh
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
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
. /opt/Xilinx/14.4/ISE_DS/settings64.sh
# For reference - to setup Petalinux gcc
if [ -d /opt/Xilinx/petalinux-v12.12-final-full/ ]; then
PETALINUXDIR=/opt/Xilinx/petalinux-v12.12-final-full/
else
PETALINUXDIR=/afs/hep.wisc.edu/home/uwhepfpga/petalinux-v12.12-final-full
fi
pushd $PETALINUXDIR
source settings.sh
popd
# Setup an env var pointing to your softipbus installation
if [ -d $HOME/trigger_code/softipbus ]; then
export SOFTIPBUS=$HOME/trigger_code/softipbus
else
export SOFTIPBUS=${PWD}/../softipbus
fi
export BITBANGER=${PWD}/bitbanger2
# Include xdaq libraries
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/xdaq/lib
# Run VMEStream in ECHOTEST mode (for now)
export VME_CONTROLLER=CAEN
if [ -d /nfshome0/rctts/cactusprojects/rct/ ]; then
export RCTSTUFF=/nfshome0/rctts/cactusprojects/rct/
else
export RCTSTUFF=/cms/cmslab/trigger_upgrade/cactusprojects/rct
fi
export PATH=$RCTSTUFF/bin:$PATH
export LD_LIBRARY_PATH=$RCTSTUFF/lib:$LD_LIBRARY_PATH