diff --git a/build.d/gsa.sh b/build.d/gsa.sh index 211ec02..da29f8a 100644 --- a/build.d/gsa.sh +++ b/build.d/gsa.sh @@ -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 \ diff --git a/build.d/pg-gvm.sh b/build.d/pg-gvm.sh index 70a3766..207c45b 100644 --- a/build.d/pg-gvm.sh +++ b/build.d/pg-gvm.sh @@ -13,7 +13,7 @@ cd /build/*/ mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Release - make + make -j$(nproc) make install cd /build