-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[stdlib] Added PowerPC 32-bit support #41656
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
Genius, I like your pull request,fantastic |
Compiler changes LGTM. Would like stdlib’s eyes on this for the rest. @swift-ci test |
30c43d8
to
0ab3eec
Compare
You may want to update the Swift driver here https://github.com/apple/swift-driver/blob/0f9f247c8cc3d225dbbc263b1ec082bf2c8675fe/Sources/SwiftDriver/Jobs/GenericUnixToolchain%2BLinkerSupport.swift we should already accept the ppc triple family. |
Heh, nice, are you actually building the Swift compiler for 32-bit PowerPC too? If so, not hitting this C++ static assert that I hit with Android armv7 a couple months ago? |
@buttaface No, I compile a patched Swift 5.5.3 compiler for Aarch64 (Debian on M1 Pro) and cross compile the stdlib using cmake and buildroot. I am building a qemu mac99 image right now. This is also the strategy I used to cross compile Swift 5.5.3 for Armv7. Only 1 patch was needed provided by @uraimo to fix weak references. |
I have had to make changes to LLVM that I will be submitting. Mainly in |
Right now I am getting this error:
|
LLVM patches |
@swift-ci test |
Added patches to cross compile the Swift stdlib for the PowerPC 32-bit architecture.