Skip to content

Commit

Permalink
added -j option for make in gsa & pg-gvm
Browse files Browse the repository at this point in the history
  • Loading branch information
immauss committed Aug 21, 2023
1 parent e4d9f1e commit bb12d43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.d/gsa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ GSAD_VERSION=$(echo $gsad| sed "s/^v\(.*$\)/\1/")
curl -f -L https://github.com/greenbone/gsad/archive/refs/tags/v$GSAD_VERSION.tar.gz -o gsad-$GSAD_VERSION.tar.gz
tar xvf gsad-$GSAD_VERSION.tar.gz
cd /build/*/
cmake /build/gsad-$GSAD_VERSION \
cmake -j$(nproc) /build/gsad-$GSAD_VERSION \
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \
-DCMAKE_BUILD_TYPE=Release \
-DSYSCONFDIR=/usr/local/etc \
Expand Down
2 changes: 1 addition & 1 deletion build.d/pg-gvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cd /build/*/
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
make -j$(nproc)
make install

cd /build
Expand Down

0 comments on commit bb12d43

Please sign in to comment.