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 d4fc290
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 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 @@ -384,6 +386,8 @@ in

# For the update script:
passthru.monorepoSrc = monorepoSrc;
# For the zstd feature tests:
passthru.enableZstd = enableZstd;

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

0 comments on commit d4fc290

Please sign in to comment.