Skip to content

Conversation

@etcwilde
Copy link
Member

@etcwilde etcwilde commented Aug 7, 2025

This switches from using lit.cfg to attempt to recompute the module triple to using the triple computed in CMake to ensure consistency. This is a better source of truth than having many sources everywhere.

In case anyone sees this and is wondering, the "target triple" refers to the triple that the compiler is built for, while the "variant triple" refers to the platform that the tests and runtimes are built for.

@etcwilde etcwilde requested review from bnbarham and compnerd August 7, 2025 00:51
@etcwilde etcwilde self-assigned this Aug 7, 2025
@etcwilde etcwilde requested a review from shahmishal August 7, 2025 00:51
@etcwilde
Copy link
Member Author

etcwilde commented Aug 7, 2025

@swift-ci please test

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

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

Yes please!

This switches from using lit.cfg to attempt to recompute the module
triple to using the triple computed in CMake to ensure consistency.
This is a better source of truth than having many sources everywhere.

In case anyone sees this and is wondering, the "target triple" refers to
the triple that the compiler is built for, while the "variant triple"
refers to the platform that the tests and runtimes are built for.
@etcwilde etcwilde force-pushed the ewilde/test-use-module-triple branch from b37e43f to 1f06214 Compare August 7, 2025 01:08
@etcwilde
Copy link
Member Author

etcwilde commented Aug 7, 2025

@swift-ci please test

@etcwilde
Copy link
Member Author

etcwilde commented Aug 7, 2025

@swift-ci please test macOS

@etcwilde etcwilde merged commit 95dfa3d into swiftlang:main Aug 7, 2025
5 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.

2 participants