Brendan Shanks (@bshanks) commented about tools/gitlab/build-mac:
+export PATH="$X86_BREW_HOME/opt/ccache/libexec:$PATH" + +# SDKROOT is independent of DEVELOPER_DIR/xcode-select, and will default to the +# command line tools. +export SDKROOT="$(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk" + ./tools/make_requests ./tools/make_specfiles ./tools/make_makefiles autoreconf -f
cd build64 -../configure -C --enable-win64 --with-mingw BISON=/usr/local/opt/bison/bin/bison -make -s -j8 +$ARCH_CMD ../configure -C --enable-win64 --with-mingw BISON="$ARCH_BREW_HOME/opt/bison/bin/bison" +$ARCH_CMD make -s -j8 Maybe this could be based on `sysctl hw.activecpu`?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5749#note_71661