Skip to content

Commit

Permalink
[Build] Reduce the parallel of build (#6469)
Browse files Browse the repository at this point in the history
  • Loading branch information
morningman authored Aug 18, 2021
1 parent 999eaeb commit 9148bcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ if [[ ! -f ${DORIS_THIRDPARTY}/installed/lib/libs2.a ]]; then
${DORIS_THIRDPARTY}/build-thirdparty.sh
fi

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

# Check args
usage() {
echo "
Expand Down Expand Up @@ -92,7 +90,7 @@ fi

eval set -- "$OPTS"

PARALLEL=$[$(nproc)+1]
PARALLEL=$[$(nproc)/4+1]
BUILD_BE=
BUILD_FE=
BUILD_UI=
Expand Down
2 changes: 1 addition & 1 deletion run-be-ut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ fi

eval set -- "$OPTS"

PARALLEL=$[$(nproc)/2+1]
PARALLEL=$[$(nproc)/4+1]
CLEAN=
RUN=
if [ $# == 1 ] ; then
Expand Down

0 comments on commit 9148bcb

Please sign in to comment.