Skip to content

Commit

Permalink
Tools: ci: use number of CPUs to choose number of jobs on Make builds
Browse files Browse the repository at this point in the history
  • Loading branch information
OXINARF committed Sep 8, 2017
1 parent c073263 commit aa6b997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/scripts/build_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ for t in $CI_BUILD_TARGET; do
fi

start_time=$(get_time)
CCACHE_DISABLE="true" make $t -j2
CCACHE_DISABLE="true" make $t -j$(nproc)
diff_time=$(($(get_time)-$start_time))
echo -e "\033[32m'make' finished successfully (${diff_time}s)\033[0m"
popd
Expand Down

0 comments on commit aa6b997

Please sign in to comment.