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

[6.0] Explicitly link to Foundation in CMake builds #709

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Sep 18, 2024

Cherry-pick #693 into release/6.0

  • Explanation: Previously in CMake builds, when Foundation was not in the regular search directory (e.g. resource directory or SDK search paths) #if canImport(Foundation) used to fail, and the functionalities are not included. This patch provides a way to provide Foundation_DIR for find_packgage(Foundation CONFIG), so that clients can correctly link Testing to Foundation
  • Scope: CMake builds
  • Risk: Low. No actual code changes.
  • Testing: Passes current test suite Also manually tested the build toolchain
  • Issues: N/A
  • Reviewer: @stmontgomery

WASI doesn't support `libdispatch`

(cherry picked from commit c2f8ccc)
@grynspan
Copy link
Contributor

grynspan commented Sep 18, 2024

Did you mean to cherry-pick this to release/6.0.1?

@stmontgomery stmontgomery added bug Something isn't working windows 🪟 Windows support build Affects the project's build configuration or process labels Sep 20, 2024
@grynspan grynspan merged commit 0781022 into swiftlang:release/6.0 Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Affects the project's build configuration or process windows 🪟 Windows support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants