Skip to content

Enable Target‐Based Resolution #3880

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

Closed
wants to merge 1 commit into from

Conversation

SDGGiesbrecht
Copy link
Contributor

@SDGGiesbrecht SDGGiesbrecht commented Nov 19, 2021

This is the last piece of #3838 that actually turns target‐based resolution on by default. It is just a few lines in the manifest in order to be easy to revert if problems arise again.

This applies ENABLE_TARGET_BASED_DEPENDENCY_RESOLUTION to every target.

If needed for debugging, it can still be temporarily disabled during development by either setting DISABLE_TARGET_BASED_DEPENDENCY_RESOLUTION in the environment or by commenting out this bit of the manifest, whichever is more convenient at any given time.

At a later date, if everything has gone smoothly for a while, then all references to the compilation condition can be removed.

@neonichu
Copy link
Contributor

@swift-ci please smoke test

@tomerd
Copy link
Contributor

tomerd commented Nov 30, 2021

@swift-ci please test package compatibility

@tomerd
Copy link
Contributor

tomerd commented Dec 10, 2021

@SDGGiesbrecht iiuc merging this will enable the feature, correct? If so, I'd like to take it some time next week or so and see how it holds. does that work for you?

@SDGGiesbrecht
Copy link
Contributor Author

Yes, that is correct. And yes, you can take whatever time you need.

Feel free to ping me if you discover any other issues. (I haven’t looked at it since the package registry–resolution tie‐in work was merged.)

@tomerd tomerd added the ready Author believes the PR is ready to be merged & any feedback has been addressed label Dec 11, 2021
@tomerd
Copy link
Contributor

tomerd commented Jan 11, 2022

@swift-ci please smoke test

@tomerd
Copy link
Contributor

tomerd commented Jan 11, 2022

@swift-ci please test package compatibility

@SDGGiesbrecht SDGGiesbrecht mentioned this pull request Mar 7, 2022
11 tasks
@neonichu neonichu added the next waiting for next merge window label Apr 11, 2022
@SDGGiesbrecht
Copy link
Contributor Author

Closing. This and related PRs are stale and I do not have time to maintain them anymore. I will leave the related branches around for now in case anyone else wants to pick them up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next waiting for next merge window ready Author believes the PR is ready to be merged & any feedback has been addressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants