-
Notifications
You must be signed in to change notification settings - Fork 469
build: explicitly link tests to swiftCore swiftOnoneSupport #307
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
Conversation
@swift-ci please test |
108b59d
to
19fbcb0
Compare
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.
Just noticed a typo. Not an actual review.
CMakeLists.txt
Outdated
@@ -33,7 +33,32 @@ dispatch_common_warnings() | |||
option(ENABLE_DISPATCH_INIT_CONSTRUCTOR "enable libdispatch_init as a constructor" ON) | |||
set(USE_LIBDISPATCH_INIT_CONSTRUCTOR ${ENABLE_DISPATCH_INIT_CONSTRUCTOR}) | |||
|
|||
# TODO(compnerd) swift options | |||
option(ENABLE_SWIFT "enable libdispatch swift overlay" OFF) | |||
if(ENABLE_SWIFFT) |
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.
This looks like a typo. ENABLE_SWIFFT => ENABLE_SWIFT. I didn't read anything else though so don't take this as a "true" review.
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.
Nice catch.
On Oct 1, 2017, at 11:50 AM, Saleem Abdulrasool ***@***.***> wrote:
@compnerd commented on this pull request.
In CMakeLists.txt <#307 (comment)>:
> @@ -33,7 +33,32 @@ dispatch_common_warnings()
option(ENABLE_DISPATCH_INIT_CONSTRUCTOR "enable libdispatch_init as a constructor" ON)
set(USE_LIBDISPATCH_INIT_CONSTRUCTOR ${ENABLE_DISPATCH_INIT_CONSTRUCTOR})
-# TODO(compnerd) swift options
+option(ENABLE_SWIFT "enable libdispatch swift overlay" OFF)
+if(ENABLE_SWIFFT)
Nice catch.
Just doing my job ; )
… —
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#307 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAee3zvYmK-U7GL5Ybtzo6OYl3eYOXmPks5sn97xgaJpZM4PjDZD>.
|
Add explicit links against the swift runtime for the tests which may use the swift runtime. This prevents link failures for the swift tests. Install the swiftmodule and swiftdoc into the installed image. Correct the modulemap installation. Fix a typo in the header installation.
Can we get this merged? This is holding up a sizable change at swiftlang/swift#12098 and also improves the swift build of libdispatch as well as fixes the installation. |
sorry I had forgotten about it. the new changes look fine, let's just test once more it still builds |
@swift-ci please test |
@MadCoder could you merge this please? I don't have merge rights on libdispatch. |
I merged. |
build: explicitly link tests to swiftCore swiftOnoneSupport Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
Add explicit links against the swift runtime for the tests which may
use the swift runtime. This prevents link failures for the swift tests.