-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure
executable file
·49 lines (45 loc) · 1.88 KB
/
configure
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
39
40
41
42
43
44
45
46
47
48
#/bin/env bash
sw=/home/yuhw/sl7/
# export PKG_CONFIG_PATH="$sw/libzmq/lib/pkgconfig:$sw/czmq/lib/pkgconfig:$sw/zyre/lib/pkgconfig:$sw/spdlog/lib64/pkgconfig"
export PKG_CONFIG_PATH=$SPDLOG_LIB/pkgconfig:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=/home/yuhw/torch/libtorch/lib:$LD_LIBRARY_PATH
#FFTW_FQ_DIR=/home/yuhw/sw/fftw-3.5.7/
#FFTW_INC=$FFTW_FQ_DIR/include/
#FFTW_LIBRARY=$FFTW_FQ_DIR/lib/
./wcb configure \
--build-debug="-O2 -ggdb3 -w" \
--with-wct=$WIRECELL_FQ_DIR/ \
--with-wct-lib=$WIRECELL_LIB \
\ #--with-zio="/home/yuhw/sl7/zio" \
\ #--with-zio-lib="/home/yuhw/sl7/zio/lib64" \
\ #--with-tbb="$TBBROOT" \
--with-tbb=/home/yuhw/sl7/tbb \
--with-jsoncpp="$JSONCPP_FQ_DIR" \
\ #--with-jsonnet="$JSONNET_FQ_DIR" \
\ #--with-jsonnet="/home/yuhw/jsonnet/install/" \
\ #--with-jsonnet-include="/home/yuhw/jsonnet/go-jsonnet/cpp-jsonnet/include" \
\ #--with-jsonnet-lib="/home/yuhw/jsonnet/go-jsonnet/cpp-jsonnet" \
\ #--with-jsonnet-libs=gojsonnet \
--with-jsonnet-include="$GOJSONNET_FQ_DIR/include" \
--with-jsonnet-lib="$GOJSONNET_FQ_DIR/lib" \
\ #--with-gojsonnet-include="/home/yuhw/jsonnet/go-jsonnet/c-bindings" \
\ #--with-gojsonnet-lib="/home/yuhw/jsonnet/go-jsonnet/c-bindings" \
--with-eigen-include="$EIGEN_DIR/include/eigen3/" \
\ #--with-eigen-include="/home/yuhw/sw/eigen-3.3.7/" \
--with-root="$ROOTSYS" \
--with-fftw="$FFTW_FQ_DIR" \
--with-fftw-include="$FFTW_INC" \
--with-fftw-lib="$FFTW_LIBRARY" \
--with-fftwthreads="$FFTW_FQ_DIR" \
--boost-includes="$BOOST_INC" \
--boost-libs="$BOOST_LIB" \
--boost-mt \
--with-hdf5="$HDF5_FQ_DIR" \
--with-h5cpp="$H5CPP_DIR" \
--with-spdlog-include="$SPDLOG_INC" \
--with-spdlog-lib="$SPDLOG_LIB" \
\ #--with-cuda="/usr/local/cuda" \
\ #--with-cuda-lib="/usr/local/cuda/lib64" \
\ #--with-libtorch="/home/yuhw/torch/libtorch" --with-libtorch-libs torch,c10 \
\ #--with-libtorch="$LIBTORCH_FQ_DIR/" --with-libtorch-libs torch,c10 \
--prefix=$WIRECELL_FQ_DIR