Compile in parallel on macOS

This commit is contained in:
Cameron Gutman 2020-05-04 17:49:24 -07:00
commit 7ca4e49bf5

View file

@ -40,7 +40,7 @@ popd
echo Compiling Moonlight in $BUILD_CONFIG configuration echo Compiling Moonlight in $BUILD_CONFIG configuration
pushd $BUILD_FOLDER pushd $BUILD_FOLDER
make $(echo "$BUILD_CONFIG" | tr '[:upper:]' '[:lower:]') || fail "Make failed!" make -j$(sysctl -n hw.logicalcpu) $(echo "$BUILD_CONFIG" | tr '[:upper:]' '[:lower:]') || fail "Make failed!"
popd popd
echo Saving dSYM file echo Saving dSYM file