Fix a compile issue (#331)

* Fix a compile issue

* Fix a compile issue
This commit is contained in:
lide
2018-11-20 20:06:36 +08:00
committed by 李超勇
parent 791e89568e
commit b57dfd4dd3
3 changed files with 2 additions and 3 deletions

View File

@ -35,7 +35,7 @@ export DORIS_HOME=${ROOT}
. ${DORIS_HOME}/env.sh
PARALLEL=8
PARALLEL=$[$(nproc)/4+1]
# Check args
usage() {

View File

@ -397,7 +397,6 @@ build_boost() {
check_if_source_exist $BOOST_SOURCE
cd $TP_SOURCE_DIR/$BOOST_SOURCE
echo "using gcc : $GCC_VERSION : $CXX ; " > tools/build/src/user-config.jam
./bootstrap.sh --prefix=$TP_INSTALL_DIR
./b2 link=static -d0 -j$PARALLEL --without-mpi --without-graph --without-graph_parallel --without-python cxxflags="-std=c++11 -fPIC -I$TP_INCLUDE_DIR -L$TP_LIB_DIR" install
}

2
thirdparty/vars.sh vendored
View File

@ -22,7 +22,7 @@
############################################################
# --job param for *make*
PARALLEL=4
PARALLEL=$[$(nproc)/4+1]
###################################################
# DO NOT change variables bellow unless you known