-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·32 lines (21 loc) · 939 Bytes
/
setup.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
#!/bin/bash
#NOTE(TFK): You'll need this if you use GCC.
#export TAPIR_PREFIX=/efs/tools/tapir-csi/src/build
export TAPIR_PREFIX=/efs/tools/opencilk2/llvm
export PATH=$TAPIR_PREFIX/bin:$PATH
#:/efs/tools/protobuf_c4/bin:$PATH
export CXX=clang++
export OPENCV_ROOT=/efs/tools/OpenCV3
export LD_LIBRARY_PATH=$OPENCV_ROOT/lib:$LD_LIBRARY_PATH:/usr/local/lib
export OMP_NUM_THREADS=1
#export EXTRA_CFLAGS="-fcilkplus -Wall" #-Werror"
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/efs/home/tfk/archive-linux/lib/:/usr/lib/x86_64-linux-gnu/
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/
#export CPATH=$CPATH:/efs/home/tfk/archive-linux/lib
export LD_PRELOAD=/efs/tools/jemalloc/lib/libjemalloc.so
export N_TEMPORARY_BYTES=500000000
# for wheatman stuff.
export PYTHONPATH=$PYTHONPATH:/efs/python_local/lib/python2.7/site-packages
#export LD_LIBRARY_PATH=/efs/tools/protobuf_c4/lib:$LD_LIBRARY_PATH
mkdir -p build
$@