From 6e39a67aecaa4ea6d92a7ace3670cec4a582c7c5 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 28 Nov 2020 20:38:40 +0000 Subject: [PATCH] clickhouse: use system LLVM Building LLVM pieces is a huge contributor to build times, and probably bloats binary size as well. Fortunately, there's a knob for this specific thing (-DUNBUNDLED=ON seems broken and requires some libraries which aren't packaged for Nix at the moment). Hopefully this will make clickhouse able to build on OfBorg. --- pkgs/servers/clickhouse/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/clickhouse/default.nix b/pkgs/servers/clickhouse/default.nix index 4fd5b6c4751e..8bb7aafc3c5a 100644 --- a/pkgs/servers/clickhouse/default.nix +++ b/pkgs/servers/clickhouse/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DENABLE_TESTS=OFF" + "-DUSE_INTERNAL_LLVM_LIBRARY=OFF" ]; postInstall = ''