-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Build System: CMake] make add_swift_library a wrapper to add_llvm_library #19514
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
CC: @Rostepher @gottesmm Let's get the party started! |
9221a8a
to
43c1598
Compare
@gottesmm @llvm-beanz @Rostepher ... okay, this is about as thin of a wrapper over |
Awesome work so far! I'll give this a closer look in the morning. |
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test linux platform |
Build failed |
add_swift_library
and rename to `add_swift_target_li…add_swift_library
and rename to `add_swift_target_li…
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test Linux platform |
Build failed |
@swift-ci please test Linux platform |
Build failed |
19:36:01 failed to demangle witness for associated type 'Iterator' in conformance 'Swift.Array<Commands.ToolName.Type>: Sequence' from mangled name 's16IndexingIteratorVySayxGG' The failure seems to be a demangling issue? Not sure I understand how this is breaking (and only on Linux). |
CC: @eeckstein |
Maybe there is some missing build dependency and something didn't get rebuilt. |
@swift-ci please test |
Build failed |
Build failed |
Bleh, it isn't the |
@swift-ci please test |
Build failed |
Build failed |
The failure was due to a rebase failure on my part, sorry. |
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test macOS platform |
@swift-ci please test |
Build failed |
Build failed |
add_swift_library
and rename to `add_swift_target_li…
@swift-ci please test Linux platform |
…brary`
Split up the
add_swift_library
by extracting the tools host handling aspect ofit. This has a much more limited option set. Reducing the options further
would allow us to eliminate this and replace it with a wrapper around
add_llvm_library
. Leave the bulk of the logic in place inadd_swift_target_library
which can now be simplified on its own.Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.
Resolves SR-NNNN.