Skip to content

[5.10][build] Move libdispatch earlier in the build so it can be used by the compiler validation suite #68640

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 3 commits into from
Oct 6, 2023

Conversation

finagolfin
Copy link
Member

Cherrypick of #65829 and #68565

Explanation: The libdispatch and several concurrency tests in the validation suite were inadvertently disabled a couple years ago. This enables them again by making sure the target libdispatch is built first and using the new dispatch-vfs-overlay.yaml it now generates.

Scope: Enabling compiler tests again

Issue: #53973

Risk: negative, as it is only testing more code, thus lowering risk

Testing: Passes all CI on trunk for the last couple days, and I've been doing this manually on Android for years without a problem.

Reviewer: @gottesmm

gottesmm and others added 3 commits September 20, 2023 03:30
… always have a fresh swift-dispatch when running swift tests.

In the fullness of time, we want to split the full build-script-impl pipeline so
that we can begin moving library like products (libdispatch, foundation) from
build-script-impl into build-script. We are not there yet since some of swift's
concurrency tests have a dependency on swift dispatch being built. This breaks
the build and we need to extract those tests into a separate product. But for
now, this makes sense to repair the build.

rdar://89046735
…g/swift-corelibs-libdispatch#785

This allows the tests that use libdispatch to find its modulemap, plus add the
libdispatch compilation flags to one test that was missing them and fix one
async test on linux.
…uilt before the compiler tests are run

This reverts 0132841 but moves libdispatch into the earlier pipeline, so that
it alone is built before the compiler validation suite is run.
@finagolfin finagolfin requested a review from a team as a code owner September 19, 2023 22:19
@finagolfin
Copy link
Member Author

@bnbarham, please run the CI on this.

@bnbarham
Copy link
Contributor

@swift-ci please test

@finagolfin
Copy link
Member Author

@gottesmm, should I try to enable these for the 5.9 branch also?

@bnbarham
Copy link
Contributor

@gottesmm, should I try to enable these for the 5.9 branch also?

There should be very few changes going to 5.9 at this point, so probably not worth it in my mind.

@finagolfin
Copy link
Member Author

There should be very few changes going to 5.9 at this point, so probably not worth it in my mind.

@bnbarham, this changes zero behavior in the toolchain though, only slightly modifying the build order and some tests to enable several tests on the CI again. That's why I thought it might be worth it for 5.9 too, as it might catch 5.9 regressions better by having several dozen more tests run.

@finagolfin
Copy link
Member Author

Pinging @tbkka, ready for review.

@finagolfin
Copy link
Member Author

Ping @DougGregor, tiny pull that re-enables several tests on the linux CI.

@finagolfin
Copy link
Member Author

Ping @bnbarham, can you review and merge? I didn't know you could get pulls into 5.10.

@bnbarham bnbarham merged commit 62a3980 into swiftlang:release/5.10 Oct 6, 2023
@finagolfin finagolfin deleted the release/5.10 branch October 6, 2023 18:05
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.

3 participants