Skip to content

Commit 6d16044

Browse files
authored
Removed the offending duplicate ninja_build code that was masking the real logic for decided when to use the system ninja or to build it from source. (#11919)
1 parent c02c4a6 commit 6d16044

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

utils/build_swift/driver_arguments.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,6 @@ def apply_default_arguments(args):
108108
raise ValueError("error: --watchos-all is unavailable in open-source "
109109
"Swift.\nUse --watchos to skip watchOS device tests.")
110110

111-
ninja_required = (
112-
args.cmake_generator == 'Ninja' or args.build_foundation)
113-
if ninja_required:
114-
args.build_ninja = ninja_required
115-
116111
# SwiftPM and XCTest have a dependency on Foundation.
117112
# On OS X, Foundation is built automatically using xcodebuild.
118113
# On Linux, we must ensure that it is built manually.

0 commit comments

Comments
 (0)