From 50a379cabc00158468325cafdc9f983f9a9b2141 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Tue, 14 Nov 2023 07:46:36 +0800 Subject: [PATCH] MacOS: Build with n+1 cpus Signed-off-by: Andrew Innes --- .github/workflows/macos-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/macos-build.yaml b/.github/workflows/macos-build.yaml index de387c9adbfd..2818467e2338 100644 --- a/.github/workflows/macos-build.yaml +++ b/.github/workflows/macos-build.yaml @@ -31,7 +31,7 @@ jobs: ./configure CPPFLAGS="-I/usr/local/opt/gettext/include -I/usr/local/opt/openssl/include" LDFLAGS="-L/usr/local/opt/gettext/lib/ -L/usr/local/opt/openssl/lib" - name: build run: | - make -j 2 + make -j $(($(sysctl -n hw.ncpu)+1)) #- name: install # run: | # sudo make install DESTDIR=///