Skip to content

Commit c47671b

Browse files
authored
Fix --skip-cmake-bootstrap (#6000)
We were still building llbuild with CMake even when the skip-option was passed.
1 parent 3649109 commit c47671b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Utilities/bootstrap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,11 +327,11 @@ def build(args):
327327
"""Builds SwiftPM using a two-step process: first using CMake, then with itself."""
328328
parse_build_args(args)
329329

330-
# Build llbuild if its build path is not passed in.
331-
if not "llbuild" in args.build_dirs:
332-
build_llbuild(args)
333-
334330
if args.bootstrap:
331+
# Build llbuild if its build path is not passed in.
332+
if not "llbuild" in args.build_dirs:
333+
build_llbuild(args)
334+
335335
# tsc depends on swift-system so they must be built first.
336336
build_dependency(args, "swift-system")
337337
# swift-driver depends on tsc, swift-argument-parser, and yams so they must be built first.

0 commit comments

Comments
 (0)