Skip to content

[6.0.2][CMake] Explicitly link Testing to Foundation #713

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 3 commits into from
Sep 24, 2024

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Sep 18, 2024

Cherry-pick #693 into release/6.0.2

  • 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)
@rintaro rintaro self-assigned this Sep 18, 2024
@shahmishal shahmishal changed the base branch from release/6.0.1 to release/6.0.2 September 20, 2024 05:21
@stmontgomery stmontgomery added windows 🪟 Windows support build 🧱 Affects the project's build configuration or process labels Sep 20, 2024
@stmontgomery stmontgomery added the bug 🪲 Something isn't working label Sep 20, 2024
@grynspan grynspan changed the title [6.0.1][CMake] Explicitly link Testing to Foundation [6.0.2][CMake] Explicitly link Testing to Foundation Sep 20, 2024
@grynspan grynspan added this to the Swift 6.0.2 milestone Sep 20, 2024
@grynspan
Copy link
Contributor

@swift-ci test

@grynspan grynspan merged commit cd448bb into swiftlang:release/6.0.2 Sep 24, 2024
3 checks passed
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.

4 participants