Skip to content

Commit

Permalink
llvm_15: add zstd support
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltyKitkat committed Jun 21, 2023
1 parent d4fc290 commit 7e0e77d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/development/compilers/llvm/15/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
, version
, release_version
, zlib
, enableZstd ? true, zstd
, which
, sysctl
, buildLlvmTools
Expand Down Expand Up @@ -93,7 +94,8 @@ in stdenv.mkDerivation (rec {
buildInputs = [ libxml2 libffi ]
++ optional enablePFM libpfm; # exegesis

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

nativeCheckInputs = [
which
Expand Down Expand Up @@ -396,6 +398,8 @@ in stdenv.mkDerivation (rec {

# 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 7e0e77d

Please sign in to comment.