-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
c3c: unstable-2021-07-30 -> 0.5.5 #271534
Conversation
So it appears we still have the following things that fail:
It does seem like the tests that fail are known issues in this release. It is expected that a new language that didn't even hit 1.0 will have these, but I will investigate more as time allows. The thing that does concern me is the aarch64-linux build.This should probably work; will check upstream as well. |
@SMFloris is this PR in draft, or ready for merge? I was wondering that at least for the time being, we could make the |
@Ashvith10 , I will get back to fixing the other platforms at some point in the future. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/3718 |
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.
Thanks for the contribution, and apologies that this wasn't seen sooner. Some feedback/questions below:
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, package builds and outputs correct version:
$ /nix/store/7j6za7z0lfcyx87cmi3534fvs5siyy4k-c3c-0.5.5/bin/c3c --version
C3 Compiler Version: 0.5.5 (prerelease)
Installed directory: /nix/store/7j6za7z0lfcyx87cmi3534fvs5siyy4k-c3c-0.5.5/bin/
LLVM version: 17.0.6
LLVM default target: x86_64-unknown-linux-gnu
Is it possible to have this merged before 24.05? :D |
Seems like tests are failing on all platforms on except x86_64-linux - not sure about the format-string test failures on darwin, but linking hello world in the tests seems to fail on aarch64-linux |
Update c3c compiler to the newest released stable version.
Update c3c compiler to the newest released stable version.
Description of changes
Updated the package to the latest upstream stable version.
Added a patch in order for CMake to be able to find the ldd libs since on Nix the ldd lib is split from the llvm libs.
Latest changelog of the c3c compiler
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Priorities
Add a 👍 reaction to pull requests you find important.