From 3d59e88c0e42182c3749b446ccd9027933c84be4 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 28 Jan 2021 20:55:16 +1100 Subject: [PATCH] make with -j2 to use available CPUs. --- .github/setup_ci.sh | 6 +++--- .github/workflows/c-cpp.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) 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 -- 2.47.3