Skip to content

Commit

Permalink
Use fixed value for parallelization
Browse files Browse the repository at this point in the history
Number of cores may lead to memory overflow.

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
  • Loading branch information
dborovcanin committed May 13, 2019
1 parent c55da27 commit 23dea7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ci.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This script contains commands to be executed by the CI tool.
NPROC=$(nproc)

NPROC=2
setup_protoc() {
echo "Setting up protoc..."
PROTOC_ZIP=protoc-3.6.1-linux-x86_64.zip
Expand Down Expand Up @@ -33,7 +33,7 @@ setup_mf() {
exit 1
fi
done
make -j$(NPROC)
make -j$NPROC
}

setup() {
Expand Down

0 comments on commit 23dea7e

Please sign in to comment.