summaryrefslogtreecommitdiffstats
path: root/pkgs/servers/clickhouse
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2020-11-28 20:38:40 +0000
committerLuke Granger-Brown <git@lukegb.com>2020-11-28 20:40:22 +0000
commit6e39a67aecaa4ea6d92a7ace3670cec4a582c7c5 (patch)
tree3c4e115298434f8eef19047cc44812c750a7bfc3 /pkgs/servers/clickhouse
parente145bb2580ce69a2b7827bb2bd551023a8cbf6b0 (diff)
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.
Diffstat (limited to 'pkgs/servers/clickhouse')
-rw-r--r--pkgs/servers/clickhouse/default.nix1
1 files changed, 1 insertions, 0 deletions
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 = ''