2
build.sh
2
build.sh
@ -35,7 +35,7 @@ export DORIS_HOME=${ROOT}
|
||||
|
||||
. ${DORIS_HOME}/env.sh
|
||||
|
||||
PARALLEL=8
|
||||
PARALLEL=$[$(nproc)/4+1]
|
||||
|
||||
# Check args
|
||||
usage() {
|
||||
|
||||
1
thirdparty/build-thirdparty.sh
vendored
1
thirdparty/build-thirdparty.sh
vendored
@ -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
2
thirdparty/vars.sh
vendored
@ -22,7 +22,7 @@
|
||||
############################################################
|
||||
|
||||
# --job param for *make*
|
||||
PARALLEL=4
|
||||
PARALLEL=$[$(nproc)/4+1]
|
||||
|
||||
###################################################
|
||||
# DO NOT change variables bellow unless you known
|
||||
|
||||
Reference in New Issue
Block a user