Skip to content
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

Forward port fixes for macro build prebuilts #8243

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dschaefer2
Copy link
Member

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.

…lang#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.
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.
@dschaefer2
Copy link
Member Author

@swift-ci please test

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.

1 participant