Skip to content

Prefer llvm-ar over ar on WebAssembly #1523

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
Jan 15, 2024

Conversation

kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Jan 14, 2024

Static "ar"chivers not prefixed with "llvm-" rarely support WebAssembly object file formats, and the legacy driver uses "llvm-ar", so it would be better to keep the consistency.

This unblocks the use of swift-driver for WebAssembly target.

Static "ar"chivers not prefixed with "llvm-" rarely support WebAssembly
object file formats, and the legacy driver uses "llvm-ar", so it would
be better to keep the consistency.
@kateinoigakukun
Copy link
Member Author

@swift-ci Please test

@MaxDesiatov MaxDesiatov requested a review from artemcm January 14, 2024 13:48
kateinoigakukun added a commit to swiftwasm/swiftwasm-build that referenced this pull request Jan 14, 2024
The upstream recently started symlinking swift-driver to swift/swiftc
since swiftlang/swift@6a181fb
so the existence of swift-driver is now mandatory.

We will be able to use swift-driver after swiftlang/swift-driver#1523
is merged.
@kateinoigakukun kateinoigakukun merged commit 3a7016a into swiftlang:main Jan 15, 2024
@kateinoigakukun kateinoigakukun deleted the yt/wasm-llvm-tools branch January 15, 2024 08:18
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.

2 participants