From: Darren Tucker Date: Thu, 28 Jan 2021 09:55:16 +0000 (+1100) Subject: make with -j2 to use available CPUs. X-Git-Tag: V_8_5_P1~88 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3d59e88c0e42182c3749b446ccd9027933c84be4;p=thirdparty%2Fopenssh-portable.git make with -j2 to use available CPUs. --- diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh index 5f6cbf8de..67a76a5d5 100755 --- a/.github/setup_ci.sh +++ b/.github/setup_ci.sh @@ -70,7 +70,7 @@ if [ "${INSTALL_HARDENED_MALLOC}" = "yes" ]; then (cd ${HOME} && git clone https://github.com/GrapheneOS/hardened_malloc.git && cd ${HOME}/hardened_malloc && - make && sudo cp libhardened_malloc.so /usr/lib/) + make -j2 && sudo cp libhardened_malloc.so /usr/lib/) fi if [ "${INSTALL_OPENSSL_HEAD}" = "yes" ];then @@ -78,7 +78,7 @@ if [ "${INSTALL_OPENSSL_HEAD}" = "yes" ];then git clone https://github.com/openssl/openssl.git && cd ${HOME}/openssl && ./config no-threads no-engine no-fips no-shared --prefix=/opt/openssl/head && - make && sudo make install_sw) + make -j2 && sudo make install_sw) fi if [ "${INSTALL_LIBRESSL_HEAD}" = "yes" ];then @@ -86,5 +86,5 @@ if [ "${INSTALL_LIBRESSL_HEAD}" = "yes" ];then git clone https://github.com/libressl-portable/portable.git && cd ${HOME}/libressl/portable && sh update.sh && sh autogen.sh && ./configure --prefix=/opt/libressl/head && - make && sudo make install_sw) + make -j2 && sudo make install_sw) fi diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index e31ae668a..e546a9c58 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -26,7 +26,7 @@ jobs: - name: configure run: ./configure ${{ matrix.configs }} - name: make - run: make + run: make -j2 - name: copy moduli run: sudo cp moduli /usr/local/etc/ - name: make tests @@ -58,7 +58,7 @@ jobs: - name: configure run: ./configure ${{ matrix.configs }} - name: make - run: make + run: make -j2 - name: copy moduli run: sudo cp moduli /usr/local/etc/ - name: make tests @@ -84,7 +84,7 @@ jobs: - name: configure run: ./configure ${{ matrix.configs }} - name: make - run: make + run: make -j2 - name: copy moduli run: sudo cp moduli /usr/local/etc/ - name: make tests @@ -111,7 +111,7 @@ jobs: - name: configure run: ./configure --with-ssl-dir=/usr/local/opt/openssl ${{ matrix.configs }} - name: make - run: make + run: make -j2 - name: copy moduli run: sudo cp moduli /usr/local/etc/ - name: make tests