Skip to content

Remove custom handling in add_swift_host_library #23204

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 5 commits into from
Apr 8, 2019

Conversation

compnerd
Copy link
Member

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

Use the appropriate CMake mechanism for controlling flags for building
the code.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd
Copy link
Member Author

CC: @gottesmm @Rostepher @gwynne

Copy link
Contributor

@gwynne gwynne left a comment

Choose a reason for hiding this comment

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

I'm not presently qualified to give an unqualified thumbs-up on this, but I definitely approve! 👍

Use the appropriate CMake mechanism for building the libraries.
This is not currently being used.  Unfortunately, setting linker options
is difficult until CMake 3.13 which introduced target_link_options.
Prior to that, you needed to do:

set_property(TARGET <TARGET> APPEND_STRING LINK_FLAGS <NEW FLAGS>)

If needed, we could write a helper to provide the target_link_options
interface on earlier CMake versions.
Use the appropriate CMake mechanisms for building the libraries.
@compnerd compnerd force-pushed the silence-in-the-library branch from bc3160f to 533a26a Compare March 11, 2019 00:01
@compnerd
Copy link
Member Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - bc3160f6d220e66c265027756378730b892678b7

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - bc3160f6d220e66c265027756378730b892678b7

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

@Rostepher, @gottesmm - is this okay?

@compnerd
Copy link
Member Author

compnerd commented Apr 2, 2019

@Rostepher @gottesmm - ping x 2?

@compnerd
Copy link
Member Author

compnerd commented Apr 8, 2019

@Rostepher @gottesmm - ping x 3

@gottesmm
Copy link
Contributor

gottesmm commented Apr 8, 2019

I checked all instances of uses of this and it merges cleanly. LGTM.

@gottesmm gottesmm merged commit 91dbbc3 into swiftlang:master Apr 8, 2019
@compnerd compnerd deleted the silence-in-the-library branch April 8, 2019 18:58
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