Skip to content

Commit

Permalink
Added $JOBS variable to all make -j commands
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianherrera committed Feb 26, 2019
1 parent 530dae9 commit b237217
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion boringssl-2016-02-12/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
build_lib() {
rm -rf BUILD
cp -rf SRC BUILD
(cd BUILD && cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_COMPILER="$CC" -DCMAKE_C_FLAGS="$CFLAGS -Wno-deprecated-declarations" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=main" && make -j)
(cd BUILD && cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_COMPILER="$CC" -DCMAKE_C_FLAGS="$CFLAGS -Wno-deprecated-declarations" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=main" && make -j $JOBS)
}

get_git_revision https://github.com/google/boringssl.git 894a47df2423f0d2b6be57e6d90f2bea88213382 SRC
Expand Down
2 changes: 1 addition & 1 deletion c-ares-CVE-2016-5180/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
build_lib() {
rm -rf BUILD
cp -rf SRC BUILD
(cd BUILD && ./buildconf && ./configure && make -j )
(cd BUILD && ./buildconf && ./configure && make -j $JOBS)
}
get_git_revision https://github.com/c-ares/c-ares.git 51fbb479f7948fca2ace3ff34a15ff27e796afdd SRC
build_lib
Expand Down
2 changes: 1 addition & 1 deletion libpng-1.2.56/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
build_lib() {
rm -rf BUILD
cp -rf libpng-1.2.56 BUILD
(cd BUILD && ./configure && make -j)
(cd BUILD && ./configure && make -j $JOBS)
}

build_lib || exit 1
Expand Down
2 changes: 1 addition & 1 deletion re2-2014-12-09/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CXXFLAGS="${CXXFLAGS} -std=gnu++98"
build_lib() {
rm -rf BUILD
cp -rf SRC BUILD
(cd BUILD && make clean && make -j)
(cd BUILD && make clean && make -j $JOBS)
}

get_git_revision https://github.com/google/re2.git 499ef7eff7455ce9c9fae86111d4a77b6ac335de SRC
Expand Down

0 comments on commit b237217

Please sign in to comment.