diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index c6039d7..3476c03 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -30,8 +30,8 @@ jobs: - name: Install build tools run: | - sudo apt-get update - sudo apt-get install g++ make python3 + sudo apt-get -qq update + sudo apt-get -qq install g++ make python3 - name: ccache uses: hendrikmuhs/ccache-action@v1 diff --git a/build.sh b/build.sh index a8fe69f..3b0e6e5 100755 --- a/build.sh +++ b/build.sh @@ -52,4 +52,8 @@ grep " node-v$NODE_VERSION.tar.xz\$" SHASUMS256.txt | sha256sum -c - tar -Jxf "node-v$NODE_VERSION.tar.xz" cd "node-v$NODE_VERSION/" ./configure --fully-static --enable-static --without-npm --without-intl +# See: https://github.com/nodejs/node/issues/41497#issuecomment-1013137433 +for i in out/tools/v8_gypfiles/gen-regexp-special-case.target.mk out/test_crypto_engine.target.mk; do + sed -i 's/\-static//g' $i || echo "nevermind"; +done make -j"$(getconf _NPROCESSORS_ONLN)"