Skip to content

build: correct dependencies for a unified build #34965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 5, 2020

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Dec 4, 2020

When not building with the standard library with the host compiler and
building the check target for Swift from clean, we would mis-order the
build for the BlocksRuntimeStubs which depends on the just built
compiler. Ensure that CMake knows this dependency.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

When not building with the standard library with the host compiler and
building the check target for Swift from clean, we would mis-order the
build for the BlocksRuntimeStubs which depends on the just built
compiler.  Ensure that CMake knows this dependency.
@compnerd
Copy link
Member Author

compnerd commented Dec 4, 2020

CC: @drodriguez

@compnerd
Copy link
Member Author

compnerd commented Dec 4, 2020

@swift-ci please smoke test

@drodriguez
Copy link
Contributor

Oh, that's part of add_swift_target_library, not _add_swift_target_library_single. Good catch.

@compnerd
Copy link
Member Author

compnerd commented Dec 4, 2020

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

compnerd commented Dec 4, 2020

@swift-ci please smoke test Linux platform

@compnerd
Copy link
Member Author

compnerd commented Dec 4, 2020

@swift-ci please smoke test macOS platform

@drodriguez drodriguez merged commit 0b0025d into swiftlang:main Dec 5, 2020
@compnerd compnerd deleted the dependencies branch December 5, 2020 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants