Skip to content

[6.0.0][CMake] Explicitly link Testing to Foundation #715

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

Closed
wants to merge 4 commits into from

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Sep 19, 2024

Cherry-pick #693 into release/6.0.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: TBA

grynspan and others added 4 commits August 23, 2024 17:26
…#641)

**Explanation:** Sets the version of the library as built in CMake to
"6.0".
**Scope:** 6.0 releases built with CMake instead of SwiftPM
**Issue:** N/A
**Original PR:** swiftlang#637,
swiftlang#638
**Risk:** Low
**Testing:** Manually tested at desk and in a toolchain build as we
don't have CI jobs using CMake yet. See
swiftlang/swift#76034
**Reviewer:** @compnerd @briancroom
…tead of a C++ macro. (swiftlang#650)

**Explanation:** Correctly sets the testing library version (it was
failing to set on the Swift side.)
**Scope:** Building with CMake
**Issue:** N/A
**Original PR:** swiftlang#648
**Risk:** Low
**Testing:** Built a toolchain and verified the string was ingested all
the way through.
**Reviewer:** @grynspan @briancroom
WASI doesn't support `libdispatch`

(cherry picked from commit c2f8ccc)
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