Skip to content

Runtimes: manually adjust the library prefix for core,Concurrency #81039

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
Apr 24, 2025

Conversation

compnerd
Copy link
Member

These libraries use C++ as the linker language which will prevent CMAKE_STATIC_LIBRARY_PREFIX_Swift from impacting them. Wire this property to the target manually so that it takes effect. This is primarily meant to support Windows, where we use a non-standard library prefix for static libraries mirroring the behaviour of the language runtimes (i.e. ucrt, vcruntime, msvcrt).

These libraries use C++ as the linker language which will prevent
`CMAKE_STATIC_LIBRARY_PREFIX_Swift` from impacting them. Wire this
property to the target manually so that it takes effect. This is
primarily meant to support Windows, where we use a non-standard library
prefix for static libraries mirroring the behaviour of the language
runtimes (i.e. ucrt, vcruntime, msvcrt).
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@etcwilde
Copy link
Member

macOS failure:

+ /usr/local/bin/sccache -s
Body did not finish within grace period; terminating with extreme prejudice

@etcwilde
Copy link
Member

@swift-ci please smoke test macOS

@compnerd compnerd merged commit c82502c into swiftlang:main Apr 24, 2025
3 checks passed
@compnerd compnerd deleted the static-names-are-dynamic branch April 24, 2025 21:48
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