Commit Graph

2493 Commits

Author SHA1 Message Date
Azat Khuzhin
f4543f4b4e
Respect library type for contrib libraries (#36399)
The following libraries forces STATIC:
- rockdb
- libstemmer-c
- lemmagen
- mariadb-connector-c

This is a preparation for USE_STATIC_LIBRARIES=OFF

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-19 18:05:42 +02:00
Azat Khuzhin
91979cdd17 jemalloc: enable logging in debug build
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-18 23:06:41 +03:00
Alexey Milovidov
294efeccfe Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
Alexey Milovidov
4691a428cb
Merge pull request #35130 from DevTeamBK/curl_upgrade
curl package upgraded to 7.81.0
2022-04-08 16:37:28 +03:00
alesapin
1be539e194
Merge pull request #36007 from amosbird/better-replxx1
Bump replxx to fix wrong assertion
2022-04-07 13:03:45 +02:00
taiyang-li
2ef316801c Merge branch 'master' into use_minmax_index 2022-04-07 10:53:25 +08:00
Amos Bird
33ea119013
Bump replxx to fix wrong assertion 2022-04-07 00:56:10 +08:00
Meena Renganathan
0d0b1ef7dc Fix to restrict the curl, azure and sentry build in MacOS 2022-04-06 06:28:35 -07:00
Mikhail f. Shiryaev
74dea085a9
Merge pull request #35943 from ClickHouse/update-unixodbc
Update unixodbc to mitigate CVE-2018-7485
2022-04-05 09:59:44 +02:00
Kseniia Sumarokova
9e2f0d25f3
Merge pull request #35832 from tonickkozlov/patch-1
Do not build krb5 if ENABLE_LIBRARIES is not set
2022-04-05 00:49:10 +02:00
Mikhail f. Shiryaev
6c7b8a0fd4
Update unixodbc to mitigate CVE-2018-7485 2022-04-04 23:34:33 +02:00
Azat Khuzhin
4cd159746e Fix polling of socket with negative timeout (when poll() interrupted by EINTR)
In case of EINTR the timeout will be adjusted, but this should not be
done in case of negative timeout since it means infinite timeout, and
in that adjustment block negative timeout will be reset to 0, which will
make poll() return (since zero timeout means return immediatelly even if
no fd is ready).

This should also fix 02127_connection_drain flap on CI [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/32928/ddd5bebe555ce8feebcdd339e47fc45184c20dd1/stateless_tests__release__wide_parts_enabled__actions_.html

Refs: https://github.com/ClickHouse/poco/pull/55
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 10:24:07 +03:00
mergify[bot]
dc9af4701a
Merge branch 'master' into patch-1 2022-04-01 14:59:31 +00:00
Maksim Kita
dd7ae2b9aa Fix enable LLVM for JIT compilation in CMake 2022-03-30 17:43:52 +02:00
taiyang-li
fcfabf4a0c Merge remote-tracking branch 'ck/master' into use_minmax_index 2022-03-30 11:23:24 +08:00
Azat Khuzhin
d9044cc2ac Do not require writable source directory for generating krb5 error tables
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-29 20:09:47 +03:00
tavplubix
693b47cdc9
Revert "Fix enable LLVM for JIT compilation in CMake" 2022-03-29 17:51:56 +03:00
taiyang-li
59727a423e Merge remote-tracking branch 'ck/master' into use_minmax_index 2022-03-29 19:39:09 +08:00
Maksim Kita
c566c52c16
Merge pull request #35683 from kitaisreal/llvm-cmake-fix
Fix enable LLVM for JIT compilation in CMake
2022-03-29 13:10:10 +02:00
mergify[bot]
c609426d09
Merge branch 'master' into llvm-cmake-fix 2022-03-28 21:16:25 +00:00
Maksim Kita
4c336c45fb Fix enable LLVM for JIT compilation in CMake 2022-03-28 23:15:31 +02:00
Azat Khuzhin
53eb49a2e2 avro: create symlink in binary dir (over source dir)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-27 14:11:11 +03:00
Azat Khuzhin
6151e9b059 Avoid using std::result_of (deprecated in c++ > 17)
Fixes: #34906
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-27 11:19:56 +03:00
Alexey Milovidov
619e11bcf6
Merge pull request #34906 from Algunenano/libcxx14
Switch to libcxx / libcxxabi from LLVM 14
2022-03-26 19:12:30 +03:00
Raúl Marín
e4558b1568 Update submodules libc++ to LLVM 14 2022-03-26 11:12:22 +01:00
Meena Renganathan
05ffa45907 Further updates to the CMakeLists.txt to fix the build error in MacOS 2022-03-25 16:22:34 -07:00
Alexey Milovidov
e426a9a2f1
Merge pull request #35541 from amosbird/betterbracketedpaste
Pasting improvement of clickhouse-client
2022-03-25 22:15:40 +03:00
taiyang-li
4aaa361f2e Merge remote-tracking branch 'ck/master' into use_minmax_index 2022-03-25 22:48:03 +08:00
mergify[bot]
0b95348215
Merge branch 'master' into libcxx14 2022-03-24 17:39:01 +00:00
Meena Renganathan
db58a87fcb Updated the curl-cmake/curl_config.h to resolve the build error in MacOS 2022-03-24 06:36:03 -07:00
Raúl Marín
9ad485af4c Update LLVM to llvmorg-14.0.0 / 329fda39c507 2022-03-24 11:04:26 +01:00
Raúl Marín
7fd4f06020 Temp fork of hyperscan to fix C++20 issue 2022-03-24 10:28:27 +01:00
Raúl Marín
841bf613ba Apply latest LLVM bug fixes to filesystem remove_all 2022-03-24 10:27:10 +01:00
Raúl Marín
9466e581bb Temporarily use my forks for libcxx / libcxxabi 2022-03-24 10:27:08 +01:00
Raúl Marín
f061e54acb Adapt libcxx CMakefiles to LLVM 14 changes 2022-03-24 10:25:04 +01:00
Amos Bird
e0694ea5ba
Pasting improvement of clickhouse-client 2022-03-23 23:25:58 +08:00
Rajkumar Varada
6481d62c6e
Merge branch 'ClickHouse:master' into libxml_upgrade 2022-03-21 09:23:57 -03:00
taiyang-li
fe67d86869 update contrib/arrow 2022-03-21 20:08:56 +08:00
taiyang-li
49b6f3dfc5 merge master and fix conflict 2022-03-21 15:05:43 +08:00
Anton Kozlov
c2d1935080
Do not build krb5 if ENABLE_LIBRARIES is not set
This module has hard dependency on SSL. If ENABLE_LIBRARIES is off then SSL is disabled. With this change, building this module will not break.
2022-03-18 15:56:25 +00:00
Meena Renganathan
d19090fdaf Merge branch 'master' of https://github.com/DevTeamBK/ClickHouse into curl_upgrade 2022-03-15 10:33:47 -07:00
Maksim Kita
ad6b3693e1
Merge pull request #35123 from zhanghuajieHIT/fix_build_fail_with_gcc
fix build fail with gcc
2022-03-14 10:36:15 +01:00
zhanghuajie
53a8987b3b fix build fail with gcc --fix warnings without disabling some parameters 2022-03-11 21:59:19 +08:00
Maksim Kita
24231804ae
Merge pull request #35103 from ClickHouse/arm-build-llvm
Try to build llvm for Aarch64
2022-03-10 22:11:00 +01:00
Nikita Mikhaylov
af71df6054 Added comment 2022-03-09 16:51:44 +01:00
kashwy
bd7e48e87c Upgrade icu to icu-release-70-1
upgrade due to vulnerabilities of WS-2019-0513 and CVE-2020-10531
2022-03-08 21:37:26 -08:00
Meena Renganathan
b85ada8ff6 Upgrdaed the curl package to fix vulnerabilities reported by WhiteSource 2022-03-08 09:35:56 -08:00
Nikita Mikhaylov
3b97f5f5c3 Better 2022-03-07 23:33:48 +01:00
Nikita Mikhaylov
b2345134e3 Try 2022-03-07 19:36:33 +01:00
Rajkumar
61639bb91b libxml2 package is upgraded to 2.9.13 2022-03-03 17:54:14 -08:00