New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clickhouse: 20.5.2.7 -> 20.11.4.13 #105968
Conversation
c2686c7
to
f127089
Compare
f127089
to
cfda6ac
Compare
@@ -46,7 +55,6 @@ stdenv.mkDerivation rec { | |||
|
|||
cmakeFlags = [ | |||
"-DENABLE_TESTS=OFF" | |||
"-DUSE_INTERNAL_LLVM_LIBRARY=OFF" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this removed? We do not want to vendor LLVM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was removed in the previous PR, I've added it back and updated the flags to keep up with upstream's requirements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does take less time to compile when you're using the non-vendored LLVM though :^)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, but I reckon most people compiling it from source won't care much about a one-time 10ish minute saving (at least on my hardware)
The majority of users will be grabbing it from cache.nixos.org
I'm open to making this configurable with a default to OFF
Build hangs at |
cfda6ac
to
a776aea
Compare
Clickhouse takes forever to build - you're unlikely to be able to build it locally unless you have a beast of a machine I'm using AX41 machines, and it still takes 1 hour+ |
Result of 1 package built:- clickhouse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nix-shell:~/.cache/nixpkgs-review/pr-105968]$ ./results/clickhouse/bin/clickhouse local --version
ClickHouse client version 20.11.4.13.
[nix-shell:~/.cache/nixpkgs-review/pr-105968]$ ./results/clickhouse/bin/clickhouse server --version
ClickHouse server version 20.11.4.13.
Yup, LG.
Motivation for this change
Follow up on #105224
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)