ClickHouse/contrib
Azat Khuzhin d99851bcbe Fix googletest contrib compilation (due to GTEST_HAS_POSIX_RE=0)
By some reason cmake rules for googletest sets GTEST_HAS_POSIX_RE=0
(Compatibilty? But which platform that does support ClickHouse does not
have it?)

But everything will be okay, if these macros was set PUBLIC (i.e. for
compiling googletest library itself and it's users), however it was
added as INTERFACE only (so library itself does not know about
GTEST_HAS_POSIX_RE=0), and this leads to UB, here ASan report (while I
was trying to use ASSERT_EXIT()).

<details>

<summary>ASan report</summary>

    [ RUN      ] Common.LSan
    =================================================================
    ==7566==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6030005b2388 at pc 0x00000d00924c bp 0x7ffcd3b7cfb0 sp 0x7ffcd3b7c770
    WRITE of size 64 at 0x6030005b2388 thread T0
        0 0xd00924b in regcomp (/bld/src/unit_tests_dbms+0xd00924b) (BuildId: 40d3fa83125f9047)
        1 0x29ca243b in testing::internal::RE::Init(char const*) /bld/./contrib/googletest/googletest/src/gtest-port.cc:750:15
        2 0xd4d92b3 in testing::internal::RE::RE(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) /bld/./contrib/googletest/googletest/include/gtest/internal/gtest-port.h:896:36
        3 0xd4d92b3 in testing::PolymorphicMatcher<testing::internal::MatchesRegexMatcher> testing::ContainsRegex<char const*>(char const* const&) /bld/./contrib/googletest/googletest/include/gtest/gtest-matchers.h:868:28
        4 0xd4d813a in testing::internal::MakeDeathTestMatcher(char const*) /bld/./contrib/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h:173:10
        5 0xd4d813a in Common_LSan_Test::TestBody() /bld/./src/Common/tests/gtest_lsan.cpp:11:5

    0x6030005b2388 is located 0 bytes to the right of 24-byte region [0x6030005b2370,0x6030005b2388)
    allocated by thread T0 here:
        0 0xd066fbd in operator new(unsigned long) (/bld/src/unit_tests_dbms+0xd066fbd) (BuildId: 40d3fa83125f9047)
        1 0xd4d913d in testing::PolymorphicMatcher<testing::internal::MatchesRegexMatcher> testing::ContainsRegex<char const*>(char const* const&) /bld/./contrib/googletest/googletest/include/gtest/gtest-matchers.h:868:24
        2 0xd4d813a in testing::internal::MakeDeathTestMatcher(char const*) /bld/./contrib/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h:173:10
        3 0xd4d813a in Common_LSan_Test::TestBody() /bld/./src/Common/tests/gtest_lsan.cpp:11:5

</details>
2022-07-17 17:24:02 +03:00
..
abseil-cpp@215105818d Abseil: Use upstream lts_2021_11_02 branch 2021-12-13 16:49:22 +01:00
abseil-cpp-cmake Cosmetics 2022-06-01 11:02:39 +02:00
AMQP-CPP@1a6c51f4ac fix unbundled build 2021-08-03 17:29:59 +03:00
amqpcpp-cmake Removed warning flags in contribs 2022-06-01 11:02:39 +02:00
arrow@efdcd015cf Revert "Remove resursive submodules" 2022-06-02 09:41:12 +03:00
arrow-cmake Add separate option to omit symbols from heavy contrib 2022-07-02 06:32:03 +03:00
avro@e43c46e87f More pytest fixes (#23538) 2021-06-07 20:29:19 +03:00
avro-cmake Removed warning flags in contribs 2022-06-01 11:02:39 +02:00
aws@00b0360454 Retry on Yandex.S3 throttle 2021-10-25 17:34:59 +03:00
aws-c-common@736a82d169 Update submodule heads. 2019-12-09 13:31:59 +03:00
aws-c-event-stream@3bc33662f9 AWS S3 SDK integration. 2019-12-03 19:23:24 +03:00
aws-checksums@519d6d9093 Update submodule heads. 2019-12-09 13:31:59 +03:00
aws-s3-cmake Add separate option to omit symbols from heavy contrib 2022-07-02 06:32:03 +03:00
azure@ac4b763d4c Updating azure submodule with ClickHouse-Extras fork 2021-12-10 22:04:38 +01:00
azure-cmake Removed warning flags in contribs 2022-06-01 11:02:39 +02:00
base64@9499e0c494 revert irrelate contribs 2021-12-20 18:30:40 +08:00
base64-cmake Replace variable ARCH_ARM by ARCH_AARCH64 2022-05-15 09:48:02 +02:00
base-x@a85f98fb4e Correct submodule 2022-06-25 01:45:38 +02:00
base-x-cmake update base-x cmakelists 2022-06-23 16:51:15 +05:00
boost@c0807e83f2 Use ClickHouse-Extras for boost· 2021-12-20 18:01:28 +01:00
boost-cmake Replace variable ARCH_ARM by ARCH_AARCH64 2022-05-15 09:48:02 +02:00
boringssl@c1e01a441d Revert "ClickHouse's boringssl module updated to the official version of the FIPS compliant." 2022-06-18 23:16:18 +03:00
boringssl-cmake Revert "ClickHouse's boringssl module updated to the official version of the FIPS compliant." 2022-06-18 23:16:18 +03:00
brotli@63be8a9940 Revert "Remove resursive submodules" 2022-06-02 09:41:12 +03:00
brotli-cmake Remove unused M_LIBRARY link 2022-06-01 11:02:39 +02:00
bzip2@bf905ea225 Add submodule bzip2 2021-08-07 06:18:14 +00:00
bzip2-cmake Cosmetics 2022-06-01 11:02:39 +02:00
capnproto@c8189ec3c2 Try to fix tests, update capnp lib to eliminate problem with UB sanitizer 2021-10-14 16:43:23 +03:00
capnproto-cmake Removed warning flags in contribs 2022-06-01 11:02:39 +02:00
cassandra@f4a31e92a2 update cassandra driver 2021-12-22 14:17:14 +03:00
cassandra-cmake Cosmetics 2022-06-01 11:02:39 +02:00
cctz@8c71d74bdf Bump cctz to 2022-05-15 2022-05-25 12:21:05 +02:00
cctz-cmake contrib/cctz: use hidden libraries 2022-01-21 10:11:22 +03:00
cityhash102 Remove unbundled cityhash support 2022-01-20 10:01:12 +03:00
cld2@bc6d493a2f Fix detectLanguage 2022-01-18 21:32:32 +00:00
cld2-cmake Merge branch 'master' into classification 2022-01-25 10:22:47 +00:00
consistent-hashing contrib/consistent-hashing: add ALIAS library 2022-01-21 10:11:22 +03:00
cppkafka@5a119f689f Revert "Remove resursive submodules" 2022-06-02 09:41:12 +03:00
cppkafka-cmake Cosmetics 2022-06-01 11:02:39 +02:00
croaring@2c867e9f9c Update roaring just in case 2021-06-10 02:36:36 +03:00
croaring-cmake contrib/croaring: add a cmake ALIAS library 2022-01-21 10:08:32 +03:00
curl@462196e6b4 upgrade curl to 7.83.1 2022-06-01 21:30:02 -07:00
curl-cmake Add separate option to omit symbols from heavy contrib 2022-07-02 06:32:03 +03:00
cyrus-sasl@e6466edfd6 Fix 2021-05-28 11:38:20 +03:00
cyrus-sasl-cmake contrib/cyrus-sasl: use hidden library 2022-01-21 10:11:22 +03:00
datasketches-cpp@7d73d7610d Submodules 2021-05-28 01:45:13 +03:00
datasketches-cpp-cmake Remove unbundled datasketches support 2022-01-20 10:02:00 +03:00
double-conversion@cf2f0f3d54
double-conversion-cmake Remove unbundled double-conversion support 2022-01-20 08:47:16 +03:00
dragonbox@923705af6f Update Dragonbox 2021-01-17 23:38:59 +03:00
dragonbox-cmake contrib/dragonbox: add ALIAS library 2022-01-21 10:11:22 +03:00
fast_float@7eae925b51 Updated submodule 2020-12-06 23:37:36 +03:00
fast_float-cmake contrib/fast_float: use hidden library 2022-01-21 10:11:22 +03:00
fastops@1460583af7 Update submodule 2021-10-16 03:09:38 +03:00
fastops-cmake Cosmetics 2022-06-01 11:02:39 +02:00
flatbuffers@eb3f827948 update 2021-06-18 13:34:15 +03:00
fmtlib@b6f4ceaed0 Update fmtlib (7.0.0 -> 8.1.1) 2022-02-01 14:30:03 +03:00
fmtlib-cmake Cosmetics 2022-06-01 11:02:39 +02:00
googletest@e7e591764b Fix 2021-05-28 11:38:20 +03:00
googletest-cmake Fix googletest contrib compilation (due to GTEST_HAS_POSIX_RE=0) 2022-07-17 17:24:02 +03:00
grpc@5e23e96c0c Update grpc submodule to PR 9 2022-05-31 14:12:44 -07:00
grpc-cmake Remove MAKE_STATIC_LIBRARIES (in favor of USE_STATIC_LIBRARIES) 2022-01-24 17:28:33 +03:00
h3@c7f46cfd71 Revert "Implement h3ToGeo function" 2021-06-22 17:25:21 +03:00
h3-cmake Remove unused M_LIBRARY link 2022-06-01 11:02:39 +02:00
hashidsxx@783f6911cc add hashid support 2022-05-08 06:42:51 +09:00
hashidsxx-cmake remove hashid define guard 2022-05-18 15:26:54 -04:00
hive-metastore@809a77d435 add submodule hive-metasotre 2021-11-16 11:38:24 +08:00
hive-metastore-cmake Cosmetics 2022-06-01 11:02:39 +02:00
icu@a56dde820d Upgrade icu to icu-release-70-1 2022-03-08 21:37:26 -08:00
icu-cmake Removed warning flags in contribs 2022-06-01 11:02:39 +02:00
icudata@72d9a4a7fe Upgrade icu to icu-release-70-1 2022-03-08 21:37:26 -08:00
jemalloc@41a859ef73 Bump jemalloc to fix possible assertion 2022-07-12 07:57:27 +03:00
jemalloc-cmake Bump jemalloc to fix possible assertion 2022-07-12 07:57:27 +03:00
krb5@5149dea4e2 Fix MSan report in Kerberos library 2021-01-17 21:35:53 +03:00
krb5-cmake Merge pull request #35832 from tonickkozlov/patch-1 2022-04-05 00:49:10 +02:00
lemmagen-c@59537bdcf5 Updated submodules to include new READMEs 2021-06-19 23:15:16 +00:00
lemmagen-c-cmake Respect library type for contrib libraries (#36399) 2022-04-19 18:05:42 +02:00
libcpuid@8db3b8d2d3 Revert "DOCS-628: Stable versions of statistical functions (#10848)" 2020-05-13 16:32:36 +03:00
libcpuid-cmake Removed warning flags in contribs 2022-06-01 11:02:39 +02:00
libcxx@172b2ae074 Update submodules libc++ to LLVM 14 2022-03-26 11:12:22 +01:00
libcxx-cmake Support for Clang Thread Safety Analysis (TSA) 2022-06-20 16:13:25 +02:00
libcxxabi@6eb7cc7a7b Update submodules libc++ to LLVM 14 2022-03-26 11:12:22 +01:00
libcxxabi-cmake Adapt libcxx CMakefiles to LLVM 14 changes 2022-03-24 10:25:04 +01:00
libdivide contrib/libdivide: add ALIAS library 2022-01-21 10:11:23 +03:00
libfarmhash Remove unbundled farmhash support 2022-01-20 10:01:12 +03:00
libgsasl@383ee28e82 cleanup, fixes, new submodules, ShellCommand, WriteBufferFromString 2020-12-16 14:48:33 +03:00
libgsasl-cmake compile the new libgsasl with supportting three modes(privacy/integrity/authentication) 2022-06-04 23:30:38 +08:00
libhdfs3@9194af4458 revert irrelate contribs 2021-12-20 18:30:40 +08:00
libhdfs3-cmake Replace variable ARCH_ARM by ARCH_AARCH64 2022-05-15 09:48:02 +02:00
libmetrohash contrib/libmetrohash: add ALIAS library 2022-01-21 10:11:23 +03:00
libpq@e071ea570f Update libpq 2021-07-02 22:26:33 +03:00
libpq-cmake contrib/libpq: use hidden library 2022-01-21 10:11:23 +03:00
libpqxx@a4e8348392 libpqxx without confgure_file cmake 2022-01-18 15:40:32 +00:00
libpqxx-cmake contrib/libpqxx: use hidden library 2022-01-21 10:11:23 +03:00
libprotobuf-mutator@a304ec48dc Update libprotobuf-mutator + fix build (#38834) 2022-07-05 12:31:50 +02:00
libprotobuf-mutator-cmake Update libprotobuf-mutator + fix build (#38834) 2022-07-05 12:31:50 +02:00
librdkafka@6062e711a9 Update librdkafka 2022-06-20 07:19:58 -03:00
librdkafka-cmake Fix librdkafka/hdfs that depends on sasl2/krb5 2022-01-20 10:02:03 +03:00
libstemmer_c@c753054304 Updated submodules to include new READMEs 2021-06-19 23:15:16 +00:00
libstemmer-c-cmake Respect library type for contrib libraries (#36399) 2022-04-19 18:05:42 +02:00
libunwind@5022f30f3e Updated libunwind 2022-06-15 10:59:23 +02:00
libunwind-cmake Revert special contribs and set folder manually for them until fixed 2021-10-17 23:10:01 +03:00
libuv@95081e7c16 Update submodules 2021-10-12 02:03:00 +03:00
libuv-cmake Cosmetics 2022-06-01 11:02:39 +02:00
libxml2@7846b0a677 Upgrade libxml2 to 2.9.14 2022-06-01 06:10:05 -07:00
libxml2-cmake Remove unused M_LIBRARY link 2022-06-01 11:02:39 +02:00
llvm@20607e6172 Update submodules to simplify cross build 2021-10-11 14:34:05 +03:00
llvm-cmake Always disable --color-diagnostics for LLVM 2022-06-10 10:39:38 +02:00
lz4@4c9431e9af Update lz4 contrib 2021-11-29 14:12:13 +03:00
lz4-cmake Remove USE_XXHASH (reduntant) 2022-01-20 10:02:02 +03:00
magic_enum@38f86e4d09 Initial: replacing hardcoded toString for enums with magic_enum 2021-09-06 16:24:03 +02:00
magic-enum-cmake contrib/magic-enum: use hidden library 2022-01-21 10:11:23 +03:00
mariadb-connector-c@e39608998f Remove zlib in mariadb-connector-c 2022-06-29 10:03:55 -07:00
mariadb-connector-c-cmake Respect library type for contrib libraries (#36399) 2022-04-19 18:05:42 +02:00
miniselect@be0af6bd0b Move miniselect to submodule and replace quantile exact with better algorithm 2020-11-10 00:53:43 +03:00
miniselect-cmake Move miniselect 2022-01-20 10:01:59 +03:00
minizip-ng@f3d400e999 Bump minizip-ng to a sane version 2022-04-15 20:03:13 +08:00
minizip-ng-cmake Cosmetics 2022-06-01 11:02:39 +02:00
msgpack-c@46684265d5 Revert "Remove resursive submodules" 2022-06-02 09:41:12 +03:00
msgpack-c-cmake Remove unbundled msgpack support 2022-01-20 10:01:58 +03:00
murmurhash contrib/murmurhash: add ALIAS library 2022-01-21 10:11:23 +03:00
nanodbc@df52a1232d Update nanodbc 2021-08-24 12:50:07 +00:00
nanodbc-cmake Cosmetics 2022-06-01 11:02:39 +02:00
nats-io@6b2227f367 Select, MV, Insert working 2022-05-12 13:58:50 +03:00
nats-io-cmake Fix build, disable for freebsd 2022-07-05 12:10:49 +02:00
nlp-data@5591f91f5e Better 2022-01-10 20:30:26 +00:00
nlp-data-cmake Merge branch 'master' into classification 2022-01-25 10:22:47 +00:00
NuRaft@1334b9ae72 Update NuRaft commit 2022-05-20 09:59:13 +00:00
nuraft-cmake Remove unbundled nuraft support 2022-01-20 08:47:16 +03:00
openldap@0208811b60 Update OpenLDAP for BoringSSL 2020-11-29 11:51:32 +03:00
openldap-cmake Remove unbundled openldap support 2022-01-20 08:47:16 +03:00
orc@f9a393ed24 Fix contrib 2022-01-27 13:49:56 +03:00
pdqsort Update pdqsort to recent version (#10171) 2020-04-11 14:16:14 +03:00
pdqsort-cmake Move pdqsort 2022-01-20 10:01:59 +03:00
poco@9fec8e11db Update poco to fix GCS via proxy tunnel usage 2022-07-04 08:46:10 +03:00
poco-cmake update poco 2022-06-28 12:37:07 -04:00
protobuf@6bb70196c5 Update protobuf to ignore protoc MSAN errors 2021-12-13 18:54:31 +01:00
protobuf-cmake contrib/protobuf: use hidden libraries 2022-01-21 10:11:23 +03:00
rapidjson@c4ef90ccdb Revert "Remove resursive submodules" 2022-06-02 09:41:12 +03:00
rapidjson-cmake Remove unbundled rapidjson support 2022-01-20 10:01:12 +03:00
re2@13ebb377c6 Fix 2021-05-28 11:46:08 +03:00
re2-cmake Remove PVS test 2022-02-17 12:59:47 +01:00
replxx@3fd0e3c936 Bump replxx to fix wrong assertion 2022-04-07 00:56:10 +08:00
replxx-cmake Removed warning flags in contribs 2022-06-01 11:02:39 +02:00
rocksdb@e7c2b2f7bc Initial support for risc-v 2021-11-11 19:23:34 +01:00
rocksdb-cmake Respect library type for contrib libraries (#36399) 2022-04-19 18:05:42 +02:00
s2geometry@471fe9dc93 Update submodules for libc++13 compatibility 2021-12-13 16:49:22 +01:00
s2geometry-cmake Remove unused M_LIBRARY link 2022-06-01 11:02:39 +02:00
sentry-native@f431047ac8 Initial support for risc-v 2021-11-11 19:23:34 +01:00
sentry-native-cmake contrib/sentry-native: use hidden library 2022-01-21 10:11:23 +03:00
simdjson@1075e8609c Update simdjson 2022-07-05 06:08:44 +02:00
simdjson-cmake Remove unbundled simdjson support 2022-01-20 10:01:12 +03:00
snappy@fb057edfed Revert "Remove resursive submodules" 2022-06-02 09:41:12 +03:00
snappy-cmake Remove unbundled snappy support 2022-01-20 08:47:16 +03:00
sparsehash-c11@cf0bffaa45
sparsehash-c11-cmake Remove unbundled sparsehash support 2022-01-20 10:01:11 +03:00
sqlite-amalgamation@9818baa5d0 Add library as submodule 2021-07-07 20:06:35 +00:00
sqlite-cmake contrib/sqlite: add hidden library 2022-01-21 10:11:23 +03:00
sysroot@e9fb375d0a Fix clang-tidy-14 (part 1) 2022-04-19 17:44:27 +02:00
thrift@2a93df80f2 Update thrift to 0.16.0(latest) 2022-06-21 12:28:40 -07:00
thrift-cmake Add back accidentally removed line 2022-07-14 18:42:41 -07:00
unixodbc@a2cd5395e8 Update unixodbc to mitigate CVE-2018-7485 2022-04-04 23:34:33 +02:00
unixodbc-cmake Removed warning flags in contribs 2022-06-01 11:02:39 +02:00
vectorscan@73695e419c Replace hyperscan by vectorscan 2022-06-24 10:47:52 +02:00
vectorscan-cmake Add separate option to omit symbols from heavy contrib 2022-07-02 06:32:03 +03:00
wordnet-blast@1d16ac2803 Updated submodules to include new READMEs 2021-06-19 23:15:16 +00:00
wordnet-blast-cmake contrib/wordnet-blast: use hidden library 2022-01-21 10:11:23 +03:00
wyhash@991aa3dab6 wyhash 2022-04-21 02:26:37 +03:00
wyhash-cmake Update CMakeLists.txt 2022-05-09 08:48:51 -04:00
xz@869b9d1b4e fixed whitespaces, added hidden submodule file 2020-11-02 23:04:49 +03:00
xz-cmake LZMA/xz cannot be disabled 2022-01-20 10:02:02 +03:00
yaml-cpp@0c86adac6d Update submodules 2021-05-28 00:18:30 +03:00
yaml-cpp-cmake contrib/yaml-cpp: use hidden library 2022-01-21 10:11:23 +03:00
zlib-ng@bffad6f6fe Re-add the submodule 2021-11-29 21:10:37 +03:00
zlib-ng-cmake contrib/zlib-ng: cleanup cmake rules 2022-01-21 10:11:23 +03:00
zstd@b944db0c45 Optimize most important parts with NEON SIMD 2022-06-15 13:19:29 +00:00
zstd-cmake Optimize most important parts with NEON SIMD 2022-06-15 13:19:29 +00:00
CMakeLists.txt Merge branch 'master' into nats-integration 2022-07-04 21:06:07 +02:00