Conversation
|
I put the meson options because they are pretty important to be able to fiddle with for embedded devs, so this makes them easier to do so. |
d713e8d to
8f5d341
Compare
Or at least it did...running it at home the stdenv fails to build :/ |
|
ghost
left a comment
There was a problem hiding this comment.
Something more in passthru.tests would be nice. Maybe build GNU hello against picolibc and show that it works. Otherwise looks fine to me.
|
I like the idea, would be cool if picolibc could be used just like any other libc in nixpkgs (with
FYI you will probably run into libc++ (or probably libstdc++ too, I only tried llvm) expecting features that picolibc cannot provide (e.g. a clock). You might find it useful to look at my PR attempting to address this, and the discussions there: #352629 (Unfortunately I don't have the time to work on it right now, feel free to cannibalize parts of it if they are useful and you are working on a more comprehensive solution.) |
|
Is there an equivalent to |
|
If its useful then tests will happen. |
|
We can rig this up, but I can't help with that until after Nix 2.28 for Nixpkgs 25.05 is good to go. |
Things done
Added Picolibc with configuration options.
Closes #368022
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Also tested:
nix-build -A pkgsCross.arm-embedded.picolibcnix-build -A pkgsLLVM.picolibc-nix-build -A pkgsCross.arm-embedded.pkgsLLVM.picolibc(unsure if this is the right incantation?)TODO (future PRs):
Add a 👍 reaction to pull requests you find important.