Skip to content

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

Merged
merged 1 commit into from
Oct 4, 2017

Conversation

compnerd
Copy link
Member

Add explicit links against the swift runtime for the tests which may
use the swift runtime. This prevents link failures for the swift tests.

@compnerd
Copy link
Member Author

CC @das @MadCoder @dgrove-oss

@MadCoder
Copy link
Contributor

@swift-ci please test

@compnerd compnerd force-pushed the swift-tests branch 2 times, most recently from 108b59d to 19fbcb0 Compare September 28, 2017 04:50
Copy link
Contributor

@gottesmm gottesmm left a 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)
Copy link
Contributor

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch.

@gottesmm
Copy link
Contributor

gottesmm commented Oct 1, 2017 via email

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.
@compnerd
Copy link
Member Author

compnerd commented Oct 4, 2017

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.

@MadCoder
Copy link
Contributor

MadCoder commented Oct 4, 2017

sorry I had forgotten about it. the new changes look fine, let's just test once more it still builds

@MadCoder
Copy link
Contributor

MadCoder commented Oct 4, 2017

@swift-ci please test

@compnerd
Copy link
Member Author

compnerd commented Oct 4, 2017

@MadCoder could you merge this please? I don't have merge rights on libdispatch.

@gottesmm gottesmm merged commit 0d0a998 into swiftlang:master Oct 4, 2017
@gottesmm
Copy link
Contributor

gottesmm commented Oct 4, 2017

I merged.

@compnerd compnerd deleted the swift-tests branch October 4, 2017 20:20
ktopley-apple pushed a commit that referenced this pull request Dec 6, 2018
build: explicitly link tests to swiftCore swiftOnoneSupport

Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
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.

4 participants