ClickHouse/cmake
Azat Khuzhin fd19fa1b70 Disable grpc protocol by default for TSAN and gcc
Since libtsan.a already has them:

    ld.lld: error: duplicate symbol: RunningOnValgrind
    >>> defined at dynamic_annotations.cc:99 (../contrib/abseil-cpp/absl/base/dynamic_annotations.cc:99)
    >>>            dynamic_annotations.cc.o:(RunningOnValgrind) in archive contrib/abseil-cpp/absl/base/libabsl_dynamic_annotations.a
    >>> defined at tsan_interface_ann.o:(.text+0x15A0) in archive /usr/lib/gcc/x86_64-linux-gnu/10/libtsan.a

    ld.lld: error: duplicate symbol: AnnotateMemoryIsInitialized
    >>> defined at dynamic_annotations.cc:75 (../contrib/abseil-cpp/absl/base/dynamic_annotations.cc:75)
    >>>            dynamic_annotations.cc.o:(AnnotateMemoryIsInitialized) in archive contrib/abseil-cpp/absl/base/libabsl_dynamic_annotations.a
    >>> defined at tsan_interface_ann.o:(.text+0x1600) in archive /usr/lib/gcc/x86_64-linux-gnu/10/libtsan.a

    ld.lld: error: duplicate symbol: AnnotateMemoryIsUnt show initialized
    >>> defined at dynamic_annotations.cc:75 (../contrib/abseil-cpp/absl/base/dynamic_annotations.cc:75)
    >>>            dynamic_annotations.cc.o:(AnnotateMemoryIsUninitialized) in archive contrib/abseil-cpp/absl/base/libabsl_dynamic_annotations.a
    >>> defined at tsan_interface_ann.o:(.text+0x1610) in archive /usr/lib/gcc/x86_64-linux-gnu/10/libtsan.a

    ...

And after this patch I successfully managed to build with thread
sanitizer under gcc.
2020-12-16 21:31:03 +03:00
..
darwin Explicitly link with -llib$SANITIZER for gcc 2020-12-16 21:31:03 +03:00
find Disable grpc protocol by default for TSAN and gcc 2020-12-16 21:31:03 +03:00
freebsd Explicitly link with -llib$SANITIZER for gcc 2020-12-16 21:31:03 +03:00
linux Explicitly link with -llib$SANITIZER for gcc 2020-12-16 21:31:03 +03:00
Modules Merge branch 'master' into ip-dict-no-trie 2020-11-25 23:07:19 +03:00
toolchain Update cross-builds to use clang-10 compiler (#10724) 2020-05-07 15:32:17 +03:00
yandex Fix typos reported by codespell 2020-10-27 12:04:03 +01:00
add_check.cmake
add_warning.cmake Code clean-up 2020-02-16 11:04:03 +03:00
analysis.cmake Merge branch 'master' into clang-tidy-11 2020-09-30 01:17:17 +03:00
arch.cmake CMake moved power pc check in tools 2020-10-29 11:28:40 +03:00
autogenerated_versions.txt Auto version update to [20.13.1.1] [54444] 2020-11-23 10:29:26 +03:00
contrib_finder.cmake Revert "Revert "cmake: Add option to fail configuration instead of auto-reconfiguration"" 2020-08-25 20:16:37 +03:00
cpu_features.cmake cmake/test_cpu → cmake/cpu_features 2019-09-13 17:54:22 +03:00
dbms_glob_sources.cmake Better add_globs 2019-10-22 15:09:49 +08:00
fuzzer.cmake updated cmake/ files, added some comments 2020-09-17 18:37:23 +03:00
generate_code.cmake
limit_jobs.cmake build: ThinLTO provides its own parallel linking, limit to 2 in case of ThinLTO 2020-12-11 01:32:38 +03:00
print_flags.cmake
print_include_directories.cmake Refactor CMake build files (#11390) 2020-06-09 13:54:49 +03:00
sanitize_target_link_libraries.cmake Sanitize LINK_LIBRARIES property for the directories (#12160) 2020-07-07 19:22:41 +03:00
sanitize.cmake Explicitly link with -llib$SANITIZER for gcc 2020-12-16 21:31:03 +03:00
target.cmake reverted USE to ENABLE 2020-09-18 17:18:59 +03:00
tools.cmake Merge pull request #16509 from kitaisreal/cmake-moved-power-pc-check-in-tools 2020-10-30 16:03:50 +03:00
version.cmake Add anonymize option and version tag 2020-05-30 11:02:13 +03:00
warnings.cmake ANTLR4 Grammar for ClickHouse and new parser (#11298) 2020-12-04 05:15:44 +03:00