-
Notifications
You must be signed in to change notification settings - Fork 506
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 by Bors] - Change C compiler to Zig #464
Conversation
3512e37
to
855444b
Compare
@sehz try this on Mac |
fails to compile on Mac:
|
No longer needed since #521 remove |
We now have other dependencies that use CC |
Updated this to use zig/lld. Seems to work everywhere as long as |
9258306
to
5fbfa43
Compare
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.
Very nice work! This finally fixes long standing cross compilation issues
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.
Can you add to changelog?
Does this help with the Raspberry Pi build? |
Yes, it should cross compile to Raspberry on on any supported OS (Linux, Mac, etc) |
Ok, I look forward to the Raspberry Pi build for my weekend project. Any plans to add that back to pre-built images? |
Updated |
there is merge conflict |
resolved |
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.
LGTM
bors r+ |
Merge conflict. |
need rebase again with other PR landed first |
bors r+ |
In order to fix musl build issues on newer GCC, this PR changes C compiler to Zig and Linker to LLD 11. Please test on various OSes. Co-authored-by: Nick Cardin <nick@cardin.email>
Pull request successfully merged into master. Build succeeded: |
In order to fix musl build issues on newer GCC, this PR changes C compiler to Zig and Linker to LLD 11.
Please test on various OSes.