Skip to content

Commit

Permalink
Fix a compile issue (apache#331)
Browse files Browse the repository at this point in the history
* Fix a compile issue

* Fix a compile issue
  • Loading branch information
lide-reed authored and 李超勇 committed Nov 20, 2018
1 parent 791e895 commit b57dfd4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export DORIS_HOME=${ROOT}

. ${DORIS_HOME}/env.sh

PARALLEL=8
PARALLEL=$[$(nproc)/4+1]

# Check args
usage() {
Expand Down
1 change: 0 additions & 1 deletion thirdparty/build-thirdparty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
############################################################

# --job param for *make*
PARALLEL=4
PARALLEL=$[$(nproc)/4+1]

###################################################
# DO NOT change variables bellow unless you known
Expand Down

0 comments on commit b57dfd4

Please sign in to comment.