Skip to content

Commit

Permalink
llvm_16: add zstd support
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltyKitkat committed Jun 21, 2023
1 parent a452e85 commit 5330724
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/development/compilers/llvm/16/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
, version
, release_version
, zlib
, enableZstd ? true, zstd
, which
, sysctl
, buildLlvmTools
Expand Down Expand Up @@ -96,7 +97,8 @@ in
buildInputs = [ libxml2 libffi ]
++ optional enablePFM libpfm; # exegesis

propagatedBuildInputs = [ ncurses zlib ];
propagatedBuildInputs = [ ncurses zlib ]
++ optional enableZstd zstd;

nativeCheckInputs = [
which
Expand Down Expand Up @@ -383,7 +385,9 @@ in
checkTarget = "check-all";

# For the update script:
passthru.monorepoSrc = monorepoSrc;
passthru = {
inherit monorepoSrc enableZstd;
};

requiredSystemFeatures = [ "big-parallel" ];
meta = llvm_meta // {
Expand Down

0 comments on commit 5330724

Please sign in to comment.