Skip to content

Commit 3136f03

Browse files
committed
Move swift-foundation-icu build after swift build
1 parent 4fb06f6 commit 3136f03

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
@@ -615,9 +615,6 @@ def compute_product_pipelines(self):
615615
builder.add_product(products.curl.LibCurl,
616616
is_enabled=self.args.build_curl)
617617

618-
builder.add_product(products.foundation.SwiftFoundationICU,
619-
is_enabled=self.args.build_foundation)
620-
621618
# Begin a build-script-impl pipeline for handling the compiler toolchain
622619
# and a subset of the tools that we build. We build these in this manner
623620
# to preserve current build-script-impl run behavior as we transition
@@ -637,6 +634,13 @@ def compute_product_pipelines(self):
637634
builder.add_impl_product(products.LibDispatch,
638635
is_enabled=self.args.build_libdispatch)
639636

637+
# Begin a pipeline to build Foundation's dependencies now that Swift
638+
# has built. This needs to be done before Foundation can build
639+
builder.begin_pipeline()
640+
641+
builder.add_product(products.foundation.SwiftFoundationICU,
642+
is_enabled=self.args.build_foundation)
643+
640644
# Begin a new build-script-impl pipeline that builds libraries that we
641645
# build as part of build-script-impl but that we should eventually move
642646
# onto build-script products.

0 commit comments

Comments
 (0)