Forward port fixes for macro build prebuilts #8243
Open
+527
−228
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Forward port of macro build prebuilts fixes from release/6.1.
#8229
Re-enable use of prebuilts for tests that depend on macro targets. These are guaranteed to be built for host as the macros are.
Add a hidden option to override the prebuilts download URL for swift-syntax for testing. Also added support for this to be a file URL.
Add support for using the ssh GitHub URL for swift-syntax, allowing multiple PackageReferences for prebuilts. Also elevated the PackageIdentity to the root structures that need it.
Fixed the build prebuilts script to generate into a versioned directory so we can support generating multiple versions at the same time.
#8232
I found a bug where if you change swift syntax version in your manifest, we were not changing the use of prebuilts to match. I have added a scan to do so. Also requires that we add the version of the prebuilt to the workspace state. Assume dependent products from prebuilts are being used to remove the warning for swift-syntax.
Fixes warning about swift-syntax not being used when all uses were replaced by the prebuilts.