Skip to content

Commit

Permalink
Update pkgs/development/compilers/llvm/15/llvm/default.nix
Browse files Browse the repository at this point in the history
Co-authored-by: Rahul Butani <rrbutani@users.noreply.github.com>
  • Loading branch information
SaltyKitkat and rrbutani committed Jun 21, 2023
1 parent 8d8ed11 commit d6ad549
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/development/compilers/llvm/15/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,10 @@ in stdenv.mkDerivation (rec {
# https://github.com/ClangBuiltLinux/tc-build/issues/150#issuecomment-845418812
"-DLLVM_ENABLE_LIBXML2=OFF"
] ++ optionals enableZstd [
"-DLLVM_PREFER_STATIC_ZSTD=${toString stdenv.hostPlatform.isStatic}"
# We can use this option to make llvm to use static version of zstd.
#
# This option was backported to LLVM 15: https://github.com/llvm/llvm-project/commit/4bd3f3759259548e159aeba5c76efb9a0864e6fa
"-DLLVM_USE_STATIC_ZSTD=${toString stdenv.hostPlatform.isStatic}"
] ++ optionals enableManpages [
"-DLLVM_BUILD_DOCS=ON"
"-DLLVM_ENABLE_SPHINX=ON"
Expand Down

0 comments on commit d6ad549

Please sign in to comment.