-
Notifications
You must be signed in to change notification settings - Fork 197
Unix: Use llvm-ar by default #1244
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
base: main
Are you sure you want to change the base?
Conversation
@artemcm, please run the CI on this. |
@swift-ci test |
Windows CI failure is unrelated, all pulls are failing on the Windows CI. |
@artemcm, now that the CI is working, would you run it again? |
@swift-ci test |
Rebased, need another CI run. |
@swift-ci test |
@swift-ci test |
@swift-ci test macos |
Now that llvm-ar is installed by default in the toolchain, swiftlang/swift#62510, and a recent SPM change requires there to be an archiver in the toolchain/PATH, swiftlang/swift-package-manager#5761, use that bundled llvm-ar for all Unix platforms.
@swift-ci test |
@artemcm, can we go ahead and get this in before the upcoming branch? @al45tair once expressed interest in testing this more last summer in the linked Driver pull but hasn't responded since, and we have plenty of data that it is unlikely to break anything as it has been the default Unix archiver for SwiftPM for the last year and a half, swiftlang/swift-package-manager#6829. If you're okay with merging this, which requires approval from someone like you, please approve and I'll go ahead and merge this and the Driver pull, which doesn't require anything else. |
I'm honestly not sure this is a desirable change. As I observed previously, almost nobody uses I think we should be using the system librarian ( @compnerd, WDYT? |
I don't see why you think he'd agree with you, considering we switched SwiftPM to default to I am skeptical that there are any worthwhile differences in what |
Now that llvm-ar is installed by default in the toolchain, swiftlang/swift#62510, and a recent SwiftPM change requires there to be an archiver in the toolchain/PATH, swiftlang/swift-package-manager#5761, use that bundled llvm-ar for all Unix platforms.
This is the Swift translation of swiftlang/swift#62800.