-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[build-script] Stop installing the llbuildSwift library that is no longer used #77647
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
@compnerd, OK, but given it isn't actually used on Unix, are you using it on Windows either? And does anyone know the situation on macOS? |
I would assume that other Unicies should have a similar dependency OR they might be statically linking. |
I downloaded and checked the latest OSS trunk Nov. 14 snapshot toolchain for macOS, looks like it currently ships two copies of this dylib:
Only one library uses it, just like on Windows, and it only appears to use the one in
Since the one in @marcprux, first time I'm looking at macOS dylib dependencies and rpaths, let me know if I missed anything. @artemcm, I see you tried to statically link on macOS and remove the copy in This is ready for a CI run, if someone would kick one off. |
@jakepetroules, would you kick off a CI run here? |
@swift-ci please test |
@swift-ci please test |
OK, passed CI again after break, @dschaefer2, perhaps you could review, because this was originally added for SwiftPM but is now unused? |
@swift-ci please build toolchain |
Let's make sure the toolchain jobs pass, but as far as I can see this is not used 🤔. There's a |
Looks like that was added a long time ago and |
Alright, toolchain builds should work now. @swift-ci please build toolchain |
Toolchains built fine, @bnbarham, ready for review and merge. |
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.
CC @dschaefer2 for your info. Seems fine to me though, it doesn't appear to be used and toolchain builds passed.
Thanks, I'll submit for 6.1 next. |
I'm cross-compiling the trunk Swift 6.1 toolchain for Android and was surprised to find that this library hasn't been used by the linux toolchain in years, as the following shows no other binary links to it:
I tried building SwiftPM natively on Android as part of the toolchain with this change and had no problem. The CMake-built
swift-bootstrap
uses this library but directly from the build directory, not from the install directory, so this pull has no effect on that.The Windows trunk build uses the new
swift-toolchain-sqlite
package from @jakepetroules and doesn't appear to install this library already.I don't know if macOS still needs this library installed, as I don't use that OS, but I can limit this change to non-Darwin if needed.
Jake and @ahoppen, let me know what you think.