Skip to content

Use full module triple in swiftmodule install #247

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
merged 1 commit into from
May 28, 2025

Conversation

etcwilde
Copy link
Member

This patch updates the CMake build to install the IndexStoreDB module with the full triple. This allows us to query the compiler for the appropriate module name instead of maintaining the long list of host architectures, making the build more resilient to changes in the future.

This patch updates the CMake build to install the IndexStoreDB module
with the full triple. This allows us to query the compiler for the
appropriate module name instead of maintaining the long list of host
architectures, making the build more resilient to changes in the future.
@etcwilde
Copy link
Member Author

@swift-ci please test

@bnbarham
Copy link
Contributor

Could you run a Windows toolchain build (might have to cross-PR from Swift) 🙏?

@etcwilde
Copy link
Member Author

@compnerd
Copy link
Member

We don't distribute IndexStoreDB as a re-usable module, so the swiftmodules aren't packaged. This is a pure build component for Windows.

@bnbarham
Copy link
Contributor

We don't distribute IndexStoreDB as a re-usable module, so the swiftmodules aren't packaged. This is a pure build component for Windows.

Yeah I know, I just wanted to make sure the build still passed (for dependencies of IndexStoreDB) and the Windows toolchain is the only place this would be used.

@bnbarham bnbarham merged commit ab0ef12 into swiftlang:main May 28, 2025
3 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.

3 participants