Skip to content

Commit 8bf2a3d

Browse files
authored
Skip Cmake -j flag when building with Xcode
xcodebuild will scale the build itself, the `-j` flag has no impact on perf
1 parent 4456407 commit 8bf2a3d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/build_apple_frameworks.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ for preset_index in "${!PRESETS[@]}"; do
162162
--preset "${preset}"
163163

164164
cmake --build "${preset_output_dir}" \
165-
--config "${mode}" \
166-
-j$(sysctl -n hw.ncpu)
165+
--config "${mode}"
167166
done
168167
done
169168

0 commit comments

Comments
 (0)