NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.59k stars 13.07k forks source link

Package request: llvmPackages_git.libc #296577

Open theoparis opened 4 months ago

theoparis commented 4 months ago

Project description

I would love to see LLVM libc packaged in nix. Since it is still in development I think it should placed in llvmPackages_git for LLVM 19. See #296284 for llvmPackages_git.

At the moment, llvm's libc only supports static linking and may or may not work with libc++. I expect this to change in the future.

Packaging llvm libc would make testing llvm libc a lot easier with the ability to override the llvm gitRelease.

Metadata


Add a :+1: reaction to issues you find important.

RossComputerGuy commented 4 months ago

I can certainly work on this but it probably won't come until the LLVM 18 PR + LLVM git upgrade is merged. I plan on adding other LLVM packages to 18 and git, I could probably make it all in 1 PR for the additional packages or split up but it depends on what @RaitoBezarius prefers since he's the LLVM code owner.

wegank commented 4 months ago

I'd prefer that to be added in pkgs/development/compilers/llvm/common if possible, since the expression of LLVM 16-18 doesn't really differ much. Recently added subprojects like libclc and mlir are all implemented in this way.

RossComputerGuy commented 4 months ago

@wegank Alright, I'll keep that in mind.