Skip to content

SwiftBuild: Enable traits support #8873

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

Conversation

bkhouri
Copy link
Contributor

@bkhouri bkhouri commented Jun 25, 2025

When Creasting the SwiftBuildSystem Factory, the traits configuration was not passed when loading the package graph.

Update the factory to pass the traits configuration during package resolution, and remove the withKnownIssues in TraitTests as it relates to SwiftBuild.

There are some know issues, which are tracked via the automated tests.

@bkhouri
Copy link
Contributor Author

bkhouri commented Jun 25, 2025

@swift-ci test

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is better reviewed while ignoring whitespaces.

@bkhouri bkhouri force-pushed the t/main/get_trait_supported_with_swift_build branch 2 times, most recently from d7f25af to d2d0d1f Compare June 26, 2025 20:07
@bkhouri
Copy link
Contributor Author

bkhouri commented Jun 26, 2025

@swift-ci test

@bkhouri
Copy link
Contributor Author

bkhouri commented Jun 26, 2025

@swift-ci test windows

@bkhouri bkhouri force-pushed the t/main/get_trait_supported_with_swift_build branch from d2d0d1f to 84df920 Compare June 26, 2025 22:38
@bkhouri
Copy link
Contributor Author

bkhouri commented Jun 26, 2025

@swift-ci test

@bkhouri bkhouri force-pushed the t/main/get_trait_supported_with_swift_build branch from 84df920 to 29d4840 Compare June 27, 2025 02:16
@bkhouri
Copy link
Contributor Author

bkhouri commented Jun 27, 2025

@swift-ci test

@bkhouri
Copy link
Contributor Author

bkhouri commented Jun 27, 2025

@swift-ci test windows

@bkhouri
Copy link
Contributor Author

bkhouri commented Jun 27, 2025

@swift-ci test self hosted

@bkhouri
Copy link
Contributor Author

bkhouri commented Jun 27, 2025

@swift-ci test

@bkhouri bkhouri force-pushed the t/main/get_trait_supported_with_swift_build branch from 29d4840 to 4ea0898 Compare June 27, 2025 21:45
@bkhouri
Copy link
Contributor Author

bkhouri commented Jun 27, 2025

@swift-ci test

When Creasting the SwiftBuildSystem Factory, the traits configuration
was not passed when loading the package graph.

Update the factory to pass the traits configuration during package
resolution, and remove the `withKnownIssues` in TraitTests as it relates
to SwiftBuild.

Also augment te tests to run against all build configuration.
@bkhouri bkhouri force-pushed the t/main/get_trait_supported_with_swift_build branch from 4ea0898 to 8c2fb47 Compare June 28, 2025 00:46
@bkhouri
Copy link
Contributor Author

bkhouri commented Jun 28, 2025

@swift-ci test

@bkhouri
Copy link
Contributor Author

bkhouri commented Jun 28, 2025

@swift-ci test windows

@bkhouri bkhouri merged commit 0c7ebf2 into swiftlang:main Jun 28, 2025
6 checks passed
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.

4 participants