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-cpp-cmake Cosmetics 2022-06-01 11:02:39 +02:00
AMQP-CPP@1a6c51f4ac
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
avro-cmake Removed warning flags in contribs 2022-06-01 11:02:39 +02:00
aws@00b0360454
aws-c-common@736a82d169
aws-c-event-stream@3bc33662f9
aws-checksums@519d6d9093
aws-s3-cmake Add separate option to omit symbols from heavy contrib 2022-07-02 06:32:03 +03:00
azure@ac4b763d4c
azure-cmake Removed warning flags in contribs 2022-06-01 11:02:39 +02:00
base64@9499e0c494
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
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
bzip2-cmake Cosmetics 2022-06-01 11:02:39 +02:00
capnproto@c8189ec3c2
capnproto-cmake Removed warning flags in contribs 2022-06-01 11:02:39 +02:00
cassandra@f4a31e92a2
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
cityhash102
cld2@bc6d493a2f
cld2-cmake
consistent-hashing
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
croaring-cmake
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
cyrus-sasl-cmake
datasketches-cpp@7d73d7610d
datasketches-cpp-cmake
double-conversion@cf2f0f3d54
double-conversion-cmake
dragonbox@923705af6f
dragonbox-cmake
fast_float@7eae925b51
fast_float-cmake
fastops@1460583af7
fastops-cmake Cosmetics 2022-06-01 11:02:39 +02:00
flatbuffers@eb3f827948
fmtlib@b6f4ceaed0
fmtlib-cmake Cosmetics 2022-06-01 11:02:39 +02:00
googletest@e7e591764b
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
h3@c7f46cfd71
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
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
krb5-cmake Merge pull request #35832 from tonickkozlov/patch-1 2022-04-05 00:49:10 +02:00
lemmagen-c@59537bdcf5
lemmagen-c-cmake Respect library type for contrib libraries (#36399) 2022-04-19 18:05:42 +02:00
libcpuid@8db3b8d2d3
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
libfarmhash
libgsasl@383ee28e82
libgsasl-cmake compile the new libgsasl with supportting three modes(privacy/integrity/authentication) 2022-06-04 23:30:38 +08:00
libhdfs3@9194af4458
libhdfs3-cmake Replace variable ARCH_ARM by ARCH_AARCH64 2022-05-15 09:48:02 +02:00
libmetrohash
libpq@e071ea570f
libpq-cmake
libpqxx@a4e8348392
libpqxx-cmake
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
libstemmer_c@c753054304
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
libuv@95081e7c16
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
llvm-cmake Always disable --color-diagnostics for LLVM 2022-06-10 10:39:38 +02:00
lz4@4c9431e9af
lz4-cmake
magic_enum@38f86e4d09
magic-enum-cmake
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
miniselect-cmake
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
murmurhash
nanodbc@df52a1232d
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
nlp-data-cmake
NuRaft@1334b9ae72 Update NuRaft commit 2022-05-20 09:59:13 +00:00
nuraft-cmake
openldap@0208811b60
openldap-cmake
orc@f9a393ed24
pdqsort
pdqsort-cmake
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
protobuf-cmake
rapidjson@c4ef90ccdb Revert "Remove resursive submodules" 2022-06-02 09:41:12 +03:00
rapidjson-cmake
re2@13ebb377c6
re2-cmake
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
rocksdb-cmake Respect library type for contrib libraries (#36399) 2022-04-19 18:05:42 +02:00
s2geometry@471fe9dc93
s2geometry-cmake Remove unused M_LIBRARY link 2022-06-01 11:02:39 +02:00
sentry-native@f431047ac8
sentry-native-cmake
simdjson@1075e8609c Update simdjson 2022-07-05 06:08:44 +02:00
simdjson-cmake
snappy@fb057edfed Revert "Remove resursive submodules" 2022-06-02 09:41:12 +03:00
snappy-cmake
sparsehash-c11@cf0bffaa45
sparsehash-c11-cmake
sqlite-amalgamation@9818baa5d0
sqlite-cmake
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
wordnet-blast-cmake
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
xz-cmake
yaml-cpp@0c86adac6d
yaml-cpp-cmake
zlib-ng@bffad6f6fe
zlib-ng-cmake
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