Skip to content
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

Various set of SPM based build updates for Windows #873

Merged
merged 4 commits into from
Mar 29, 2023

Conversation

compnerd
Copy link
Member

Update the build for Windows to get SPM based builds working better. This should make it easier to work with llbuild and SPM when developing with SPM.

This matches the behaviour in CMake where we now build libllbuild
statically and internalise it into llbuildSwift.
@compnerd
Copy link
Member Author

@swift-ci please test

The set of libraries that use LLVM indirectly has shifted over the time
that the initial SPM build for Windows was put together.  Update the
list to match the current reality.
This replicates the warning suppression flags from LLVM (and CMake) into
the SPM based build.  This should silence a significant portion of the
warnings that we encounter when building with SPM.
We would previously reset the C++ settings rather than augmenting which
would result in having to recreate any settings that were previously
applied.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@compnerd compnerd merged commit d21f84e into swiftlang:main Mar 29, 2023
@compnerd compnerd deleted the build-bundles branch March 29, 2023 04:42
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