From e9bca3c822107d431a3e97ce0e3882b8dd5a261b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 19 Apr 2022 00:30:11 +0800 Subject: [PATCH] llvm: set LLVM_BUILD_TOOLS=OFF --- nix/llvm/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/llvm/default.nix b/nix/llvm/default.nix index a236c355..e4a2cc61 100644 --- a/nix/llvm/default.nix +++ b/nix/llvm/default.nix @@ -114,6 +114,7 @@ in stdenv.mkDerivation (rec { "-DLLVM_ENABLE_UNWIND_TABLES=OFF" "-DLLVM_ENABLE_THREADS=OFF" "-DLLVM_INCLUDE_BENCHMARKS=OFF" + "-DLLVM_BUILD_TOOLS=OFF" "-DLLVM_TARGETS_TO_BUILD=X86;ARM;RISCV" ] ++ optionals enableSharedLibraries [ "-DLLVM_LINK_LLVM_DYLIB=ON"