Skip to content

Commit 9fe3081

Browse files
committed
Move swift-foundation-icu build after swift build
1 parent 77ebc41 commit 9fe3081

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

utils/swift_build_support/swift_build_support/build_script_invocation.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -624,9 +624,6 @@ def compute_product_pipelines(self):
624624
builder.add_product(products.curl.LibCurl,
625625
is_enabled=self.args.build_curl)
626626

627-
builder.add_product(products.foundation.SwiftFoundationICU,
628-
is_enabled=self.args.build_foundation)
629-
630627
# Begin a build-script-impl pipeline for handling the compiler toolchain
631628
# and a subset of the tools that we build. We build these in this manner
632629
# to preserve current build-script-impl run behavior as we transition
@@ -646,6 +643,13 @@ def compute_product_pipelines(self):
646643
builder.add_impl_product(products.LibDispatch,
647644
is_enabled=self.args.build_libdispatch)
648645

646+
# Begin a pipeline to build Foundation's dependencies now that Swift
647+
# has built. This needs to be done before Foundation can build
648+
builder.begin_pipeline()
649+
650+
builder.add_product(products.foundation.SwiftFoundationICU,
651+
is_enabled=self.args.build_foundation)
652+
649653
# Begin a new build-script-impl pipeline that builds libraries that we
650654
# build as part of build-script-impl but that we should eventually move
651655
# onto build-script products.

0 commit comments

Comments
 (0)