Skip to content

build: adjust the build to support building statically on Windows #885

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

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

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Jul 3, 2025

This adds the necessary build support required to build libdispatch and BlocksRuntime (libclosure) statically on Windows as well.

compnerd added 2 commits July 2, 2025 20:57
While we are still undecided on the state of libclosure (whether it
should be supported as a dynamic-only linked dependency or whether we
should support statically linking against the library), tweak the build
to support the static builds on Windows.
In order to support the MUSL Linux SDK, we need to ensure that we are
able to build libdispatch statically. Add support to correctly build the
static library on all platforms.
@compnerd
Copy link
Member Author

compnerd commented Jul 3, 2025

@swift-ci please test

@compnerd
Copy link
Member Author

compnerd commented Jul 3, 2025

@swift-ci please test Windows platform

4 similar comments
@compnerd
Copy link
Member Author

compnerd commented Jul 3, 2025

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

compnerd commented Jul 4, 2025

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

compnerd commented Jul 5, 2025

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

compnerd commented Jul 5, 2025

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

compnerd commented Jul 5, 2025

@swift-ci please clean test Windows platform

@compnerd
Copy link
Member Author

compnerd commented Jul 5, 2025

@swift-ci please test Windows platform

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