-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
[Cmake] Add debugdescription source file to swiftCore when needed #77777
base: main
Are you sure you want to change the base?
Conversation
@@ -239,6 +239,11 @@ add_library(swiftCore | |||
"${CMAKE_CURRENT_BINARY_DIR}/UnsafeRawBufferPointer.swift" | |||
"${CMAKE_CURRENT_BINARY_DIR}/Tuple.swift") | |||
|
|||
# https://github.com/swiftlang/swift/issues/77705 - Freestanding and Linux/Android builds both have failures to resolve. | |||
if(NOT LINUX AND NOT ANDROID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@compnerd Would it be preferred to use a cmake flag here which can be toggled on/off? Or will this suffice?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that given that this is a workaround for an issue, leaving this focused as the specific cases is fine. I do wonder if the underlying issue has been resolved and this workaround is now outdated.
@@ -239,6 +239,11 @@ add_library(swiftCore | |||
"${CMAKE_CURRENT_BINARY_DIR}/UnsafeRawBufferPointer.swift" | |||
"${CMAKE_CURRENT_BINARY_DIR}/Tuple.swift") | |||
|
|||
# https://github.com/swiftlang/swift/issues/77705 - Freestanding and Linux/Android builds both have failures to resolve. | |||
if(NOT LINUX AND NOT ANDROID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that given that this is a workaround for an issue, leaving this focused as the specific cases is fine. I do wonder if the underlying issue has been resolved and this workaround is now outdated.
@swift-ci test |
@swift-ci please smoke test |
Add source file
ObjectIdentifier+DebugDescription.swift
to the target when not building for Android or Linux