nixpkgs/pkgs/servers/clickhouse
Orivej Desh e4e695548c clickhouse: link to libLLVM rather than to individual LLVM libs
The clickhouse program links to LLVM and to the clickhouse library, that also
links to LLVM. When the library is shared but LLVM is static, LLVM gets linked
into the program twice (once via the library and once directly), which causes
this error when running clickhouse:

     : CommandLine Error: Option 'x86-use-base-pointer' registered more than once!
     LLVM ERROR: inconsistency in registered CommandLine options

A common LLVM installation provides static component libraries and a shared
libLLVM. Linking to libLLVM when libclickhouse is shared solves this issue.

Upstream pull request: https://github.com/yandex/ClickHouse/pull/3989
2019-01-06 16:59:47 +00:00
..
default.nix clickhouse: link to libLLVM rather than to individual LLVM libs 2019-01-06 16:59:47 +00:00