ClickHouse/cmake
Георгий Кондратьев afbcdf2f00 Link to libLLVM rather than to individual LLVM libs when USE_STATIC_LIBRARIES is off
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.
2019-01-06 03:52:50 +00:00
..
Modules Fix icu link #3631 (#3671) 2018-11-27 18:34:21 +03:00
add_check.cmake cmake: Avoiding check target conflicts. [#CHEBOTAREV-14] 2017-08-24 16:37:27 +03:00
arch.cmake Removed bad code #2864 2018-08-19 06:26:28 +03:00
dbms_glob_sources.cmake Addition to prev. revision [#CLICKHOUSE-2]. 2017-05-09 22:45:21 -04:00
find_base64.cmake Fix path to search base64 library 2018-12-20 16:40:20 +03:00
find_boost.cmake wip 2018-08-22 02:57:59 +03:00
find_capnp.cmake Fix capnp builld dependencies order. 2018-09-07 13:57:31 -07:00
find_ccache.cmake Cmake fixes (#CLICKHOUSE-3303) (#1229) 2017-09-11 18:51:32 +03:00
find_consistent-hashing.cmake Update find_consistent-hashing.cmake 2018-08-30 22:10:08 +03:00
find_contrib_lib.cmake Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM (#1083) 2017-08-09 23:52:55 +03:00
find_cpuid.cmake Build fixes (#3181) 2018-09-28 17:53:20 +03:00
find_execinfo.cmake Fixed names [#CLICKHOUSE-2] 2018-08-05 11:54:57 +03:00
find_gtest.cmake CLICKHOUSE-3762 Build fixes (#2488) 2018-06-19 21:09:09 +03:00
find_hdfs3.cmake Fix build without submodules 2018-12-19 18:37:55 +03:00
find_icu.cmake Fix icu link after second cmake run 2018-12-11 16:49:03 +03:00
find_libgsasl.cmake Fix build without submodules 2018-12-19 19:16:46 +03:00
find_libxml2.cmake Fix build without submodules 2018-12-19 19:16:46 +03:00
find_llvm.cmake Link to libLLVM rather than to individual LLVM libs when USE_STATIC_LIBRARIES is off 2019-01-06 03:52:50 +00:00
find_ltdl.cmake Added unixodbc as a submodule. (#2789) 2018-08-02 11:18:15 +03:00
find_lz4.cmake Cmake: fix warnings (#1437) 2017-11-02 17:14:16 +03:00
find_odbc.cmake Better link and deps (#3631) 2018-11-21 22:20:27 +03:00
find_poco.cmake Better link and deps (#3631) 2018-11-21 22:20:27 +03:00
find_protobuf.cmake hdfs read support 2018-11-19 16:17:09 +08:00
find_rdkafka.cmake Fix macos build (#3861) 2018-12-18 16:37:00 +03:00
find_re2.cmake Use submodule contrib/capnproto, remove include_directories (#1746) 2018-01-11 21:39:52 +03:00
find_readline_edit.cmake CLICKHOUSE-3762 Build fixes (#2488) 2018-06-19 21:09:09 +03:00
find_rt.cmake Fixed names [#CLICKHOUSE-2] 2018-08-05 11:54:57 +03:00
find_sparsehash.cmake Use submodule contrib/capnproto, remove include_directories (#1746) 2018-01-11 21:39:52 +03:00
find_ssl.cmake Fix macos build (#3861) 2018-12-18 16:37:00 +03:00
find_termcap.cmake Build fixes (#2347) 2018-05-11 17:16:16 +03:00
find_xxhash.cmake Fixed "unbundled" build #3905 2018-12-23 22:25:40 +03:00
find_zlib.cmake Build fixes 2018-12-27 18:23:37 +03:00
find_zstd.cmake Cmake: fix warnings (#1437) 2017-11-02 17:14:16 +03:00
generate_code.cmake CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory (#3653) 2018-11-28 14:37:12 +03:00
lib_name.cmake Better link and deps (#3631) 2018-11-21 22:20:27 +03:00
limit_jobs.cmake Fix build 2018-12-27 21:21:06 +03:00
print_flags.cmake CLICKHOUSE-3600 Use correct lld version, cmake fixes (#1968) 2018-02-26 21:34:22 +03:00
print_include_directories.cmake Better link and deps (#3631) 2018-11-21 22:20:27 +03:00
sanitize.cmake Merge remote-tracking branch 'origin/master' into ubsan-fixes-3 2018-09-02 23:42:15 +03:00
test_compiler.cmake Build fixes (#3545) 2018-11-10 23:09:07 +03:00
test_cpu.cmake Arch-based compilation 2018-11-02 22:06:05 +03:00
use_libcxx.cmake Fix includes, Faster compile (#3898) 2018-12-23 17:19:11 +03:00