Azat Khuzhin
2fd78b7eac
Add -Wundef for gcc
2021-04-18 23:40:08 +03:00
benbiti
e1ff6b5629
add a libuv.cmake
2021-04-18 09:51:08 +08:00
benbiti
0b0093fa4d
updated: process libuv as cassandra
2021-04-18 09:50:56 +08:00
changvvb
0be5976967
Merge branch 'support-apple-m1' of github.com:changvvb/ClickHouse into support-apple-m1
2021-04-15 22:57:23 +08:00
changvvb
4eee2d0977
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-04-15 22:54:26 +08:00
kssenii
7a287e6fe9
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc
2021-04-11 21:36:08 +00:00
Denis Glazachev
5e8fe847a2
Remove unneeded changes
...
Fix GCC build
2021-04-10 23:23:18 +04:00
changvvb
03a2ba315b
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-04-10 21:31:38 +08:00
alexey-milovidov
2d4a8c4787
Merge pull request #22885 from traceon/gcc-macos-compilation-fixes
...
Fix vanilla GCC compilation in macOS
2021-04-10 14:17:11 +03:00
changvvb
facbb0368b
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-04-09 23:19:19 +08:00
kssenii
72d89bc933
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc
2021-04-09 11:13:01 +00:00
Denis Glazachev
e8464d61f1
Fix vanilla GCC compilation in macOS
2021-04-09 04:28:24 +04:00
Denis Glazachev
4b116c214c
Disable jemalloc for ALL macOS non-RelWithDebInfo builds
...
Revisit default ENABLE_* flag setting
2021-04-08 19:05:04 +04:00
alesapin
c28a3b860c
Fix Coordination darwin build
2021-04-08 17:17:57 +03:00
changvvb
b070090ca7
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-04-08 18:11:16 +08:00
kssenii
0b39480d51
Better
2021-04-06 20:01:23 +00:00
Alexander Kuzmenkov
29cf5bd712
Merge remote-tracking branch 'origin/master' into HEAD
2021-04-06 14:31:19 +03:00
changvvb
fdcf077cf5
Disabled rocksdb jemalloc
2021-04-06 17:06:18 +08:00
changvvb
1f8bd034a3
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-04-06 15:55:03 +08:00
kssenii
38f135ab39
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc
2021-04-05 15:37:53 +00:00
mastertheknife
4a79c52978
Fix tab\space in xz.cmake
2021-04-04 01:16:00 +03:00
mastertheknife
65ca073f42
Allow unbundled xz (lzma) using USE_INTERNAL_XZ_LIBRARY=OFF
2021-04-04 01:05:07 +03:00
kssenii
90db0be8e9
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc
2021-04-03 08:01:13 +00:00
alexey-milovidov
18cb1bad25
Merge pull request #22475 from mastertheknife/ppc64le_disable_incompatible_libraries
...
ppc64le: Disable incompatible libraries (platform specific typically)
2021-04-02 21:29:11 +03:00
Alexander Kuzmenkov
2c91fc55e9
Merge remote-tracking branch 'origin/master' into HEAD
2021-04-02 18:38:05 +03:00
robot-clickhouse
39b5674bef
Auto version update to [21.5.1.1] [54450]
2021-04-02 18:34:29 +03:00
robot-clickhouse
f6d6f568c2
Auto version update to [21.4.1.6422] [54449]
2021-04-02 18:32:01 +03:00
mastertheknife
2952cb296d
Disable base64, fastops and libcpuid on unsupported platforms better
2021-04-02 13:57:46 +03:00
alexey-milovidov
e1d334b8e2
Merge pull request #22487 from mastertheknife/ppc64le_enable_bundled_openldap
...
ppc64le: Enable the bundled openldap
2021-04-02 10:07:14 +03:00
alexey-milovidov
3827789b3d
Merge pull request #22484 from mastertheknife/aarch64_enable_s3
...
aarch64: Re-enable S3
2021-04-02 10:03:55 +03:00
alexey-milovidov
4d8736f252
Merge pull request #22476 from mastertheknife/ppc64le_reenable_clang
...
ppc64le: Re-enable compiling with Clang
2021-04-02 10:02:55 +03:00
mastertheknife
b4003a07d2
ppc64le: Enable the bundled openldap
2021-04-02 06:32:09 +03:00
mastertheknife
6be8746d8c
aarch64: Enable s3
2021-04-02 05:48:23 +03:00
mastertheknife
6d0349aec6
ppc64le: Re-enable compiling with Clang
2021-04-02 00:15:31 +03:00
mastertheknife
0692459f9f
ppc64le: Disable incompatible libraries (platform specific typically)
2021-04-02 00:06:21 +03:00
mastertheknife
00ed52e947
Fix finding libclang_rt.builtins on Fedora\RHEL\CentOS on ppc64le
2021-04-01 18:38:16 +03:00
Kseniia Sumarokova
e3fac9ef32
Merge branch 'master' into nanodbc
2021-04-01 16:38:00 +03:00
Alexander Kuzmenkov
faddd7e815
Merge remote-tracking branch 'origin/master' into HEAD
2021-04-01 14:26:36 +03:00
Alexey Milovidov
edf33aa512
Merge branch 'datasketches-cmake' of github.com:pingyu/ClickHouse into datasketches-cmake
2021-04-01 03:17:48 +03:00
Alexey Milovidov
12ff56673b
Merge branch 'master' into datasketches-cmake
2021-04-01 03:17:05 +03:00
Alexander Kuzmenkov
a55d03cb62
try to avoid conflict with prlimit
2021-03-31 22:41:53 +03:00
Amos Bird
061e3c7d81
Correctly place debug helpers
2021-03-31 18:28:58 +08:00
alexey-milovidov
02021aaa3e
Update datasketches.cmake
2021-03-31 08:49:33 +03:00
kssenii
c81ab04e8f
Switch to nanodbc
2021-03-22 12:37:05 +00:00
changvvb
b947fcac75
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-03-22 10:42:35 +08:00
pingyu
83b7ab1fb5
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into datasketches-cmake
2021-03-20 21:15:07 +08:00
Alexey Milovidov
a486bc8558
Clang-tidy requires assertions
2021-03-19 17:23:04 +03:00
changvvb
66ff11bed9
Add cmake/darwin/toolchain-aarch64.cmake
2021-03-19 13:50:11 +08:00
changvvb
bba600d558
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-03-16 13:26:00 +08:00
alexey-milovidov
494c6294b3
Merge pull request #21597 from qoega/fixes-clang-12-cmake-3.19
...
Prepare to use clang 12 and cmake 3.19
2021-03-11 23:45:53 +03:00
Denis Glazachev
290a6d273e
Add Kerberos support for authenticating existing users when accessing over HTTP
2021-03-11 23:41:10 +03:00
changvvb
fcb238715b
Support apple m1
2021-03-12 01:12:52 +08:00
Yatsishin Ilya
c64ba1ea8b
fix 12.0.0 version
2021-03-11 11:03:03 +03:00
Yatsishin Ilya
682b5fb6ee
better
2021-03-11 10:42:58 +03:00
Yatsishin Ilya
6e545c072a
deprecated -fuse-ld changed to --ld-path for clang
2021-03-10 18:07:56 +03:00
robot-clickhouse
4e61f45dbb
Auto version update to [21.4.1.1] [54449]
2021-03-06 14:43:30 +03:00
robot-clickhouse
7da423e5f7
Auto version update to [21.3.1.6185] [54448]
2021-03-06 14:41:21 +03:00
pingyu
08126030d6
wip #14893
2021-02-26 00:44:01 +08:00
Azat Khuzhin
58b0bbe6b1
Fix ccache 4.2+ usage (RULE_LAUNCH_COMPILE/RULE_LAUNCH_LINK was not set)
2021-02-24 21:56:19 +03:00
Azat Khuzhin
865dca0b0d
ccache 4.2+ does not requires any quirks for SOURCE_DATE_EPOCH
...
And besides "ccache <some ccache options> compiler" does not work, since
it interpret everything as ccache options.
Refs: cad2416291
2021-02-18 22:39:44 +03:00
alesapin
63080a0b5e
Redundant space
2021-02-10 12:31:01 +03:00
alesapin
57c9b6c864
Fix build without nuraft
2021-02-01 16:18:17 +03:00
robot-clickhouse
cd82eed093
Auto version update to [21.3.1.1] [54448]
2021-02-01 12:50:56 +03:00
robot-clickhouse
c9b78186d9
Auto version update to [21.2.1.5869] [54447]
2021-02-01 12:48:27 +03:00
alexey-milovidov
303db08231
Merge pull request #19369 from filimonov/kafka_for_arm64
...
Kafka for arm64
2021-01-23 01:52:07 +03:00
alexey-milovidov
6e1d660e36
Merge pull request #19390 from ClickHouse/http_referer
...
Add http_referer to client info
2021-01-22 17:25:09 +03:00
Ilya Yatsishin
8f280aa1c6
Merge pull request #19337 from filimonov/kafka_wo_ssl
...
Allow building librdkafka without ssl
2021-01-22 15:22:30 +03:00
Alexey Milovidov
afc6f2fd8e
Add http_referer to client info
2021-01-22 01:55:45 +03:00
Mikhail Filimonov
066fbfff0e
librdkafka support for arm64
2021-01-21 16:04:55 +01:00
alesapin
fe6b964b32
Revert "Revert "Auto version update to [21.2.1.1] [54446]""
...
This reverts commit 42f63e14b5
.
2021-01-21 12:39:46 +03:00
Mikhail Filimonov
58c57bbb9d
Allow building librdkafka without ssl
2021-01-21 08:43:35 +01:00
Alexander Tokmakov
e2467427d1
Merge branch 'master' into update_cassandra
2021-01-19 14:10:15 +03:00
Alexey Milovidov
a19e7edd14
Merge branch 'master' into kssenii-pg2ch
2021-01-15 17:33:19 +03:00
Alexander Tokmakov
588d9f0a56
fix
2021-01-15 01:51:55 +03:00
Ilya Yatsishin
8004b0446f
Merge pull request #18924 from snar/enable-kafka-on-freebsd
...
Restore kafka on freebsd
2021-01-12 19:16:35 +03:00
alexey-milovidov
67e7e6b235
Merge pull request #18914 from danlark1/master
...
Update libcxx and use unstable ABI to provide better performance
2021-01-12 01:21:32 +03:00
robot-clickhouse
d418dcd346
Auto version update to [21.1.1.5646] [54445]
2021-01-11 19:03:39 +03:00
Danila Kutenin
e5ec4e21b6
Fix Darwin build
2021-01-11 09:04:34 +00:00
Alexey Milovidov
42f63e14b5
Revert "Auto version update to [21.2.1.1] [54446]"
...
This reverts commit bc2593688e
.
2021-01-11 11:32:52 +03:00
robot-clickhouse
bc2593688e
Auto version update to [21.2.1.1] [54446]
2021-01-11 11:12:11 +03:00
robot-clickhouse
d87ed6e242
Auto version update to [21.1.1.5643] [54445]
2021-01-11 11:09:35 +03:00
Alexey Milovidov
9fafb0861e
Fix build after wrong "auto version update"
2021-01-11 06:31:32 +03:00
Alexey Milovidov
c7d4d12f72
Auto version update to [21.1.0] [54445]
2021-01-11 03:51:08 +03:00
alexey-milovidov
7e21d4d70a
Update ccache.cmake
2021-01-10 03:46:35 +03:00
Azat Khuzhin
0421ab6c80
Use time_macros over unset SOURCE_DATE_EPOCH in ccache 4.2 (unreleased)
...
ccache 4.2+ will ignore SOURCE_DATE_EPOCH [1].
[1]: https://github.com/ccache/ccache/pull/755
2021-01-10 02:28:02 +03:00
alexey-milovidov
72b142a00a
Merge branch 'master' into pg2ch
2021-01-06 23:18:59 +03:00
Alexandre Snarskii
e4171816c9
enable kafka integration on freebsd
2021-01-03 20:17:28 +03:00
kssenii
e100aec086
Fix typos check
2020-12-31 11:15:05 +00:00
Alexey Milovidov
98687ff8f4
Merge branch 'master' into harmful
2020-12-31 02:25:28 +03:00
kssenii
62b06de97e
Try fix build
2020-12-30 16:00:05 +00:00
kssenii
d146974058
Update libpq
2020-12-29 20:05:42 +00:00
kssenii
ff6f76e2d1
Fix build, update libpq
2020-12-29 06:41:55 +00:00
kssenii
2ab07fbd71
Update libraries
2020-12-27 12:24:14 +00:00
kssenii
2d8e35b4bd
Add libpq and libpqxx
2020-12-27 12:02:41 +00:00
alesapin
e81485653b
Merge pull request #18491 from ClickHouse/add_nuraft
...
Add NuRaft to contrib
2020-12-26 16:19:05 +03:00
alexey-milovidov
936653496a
Merge pull request #18488 from traceon/patch-1
...
Allow AppleClang builds
2020-12-25 21:42:40 +03:00
alesapin
14e2236a46
Fix freebsd one more time
2020-12-25 16:43:01 +03:00
alesapin
b4cac6a8a4
Fix unbundled, splitted and disable freebsd build
2020-12-25 15:36:49 +03:00
alesapin
3c104035b1
Add NuRaft library
2020-12-24 23:10:47 +03:00
Azat Khuzhin
4c69612fa7
Limit parallel link jobs only if ThinLTO *is* enabled
...
Before it checks only ENABLE_THINLTO flag, which enables ThinLTO only
for RelWithDebInfo.
2020-12-24 22:57:44 +03:00
Azat Khuzhin
a16535687e
Fix typo for parallel link jobs condition
2020-12-24 22:57:44 +03:00
Denis Glazachev
1ddea6d7ee
Allow AppleClang builds
2020-12-24 22:08:20 +04:00
alexey-milovidov
e06b251121
Merge pull request #18441 from azat/ccache-SOURCE_DATE_EPOCH
...
Ignore SOURCE_DATE_EPOCH for newer ccache (4+)
2020-12-24 11:49:07 +03:00
Azat Khuzhin
763844beac
Make poco library path variable scope less global
2020-12-23 23:55:39 +03:00
Azat Khuzhin
d97455a94b
Ignore SOURCE_DATE_EPOCH for newer ccache (4+)
...
ccache 4+ starts respecting SOURCE_DATE_EPOCH [1], it will include it
into the hash of the manifest.
SOURCE_DATE_EPOCH will be passed from debhelpers, by extracting last
entry from d/changelog (or current time if there is entries)
And this will make ccache unusable.
Fix this by ignoring SOURCE_DATE_EPOCH, like current ccache version on
CI does (3.7.7)
[1]: 238553a1c4/src/ccache.cpp (L1279)
2020-12-23 22:15:57 +03:00
Alexey Milovidov
b99634dc5d
Merge branch 'master' into harmful
2020-12-21 03:03:10 +03:00
Alexey Milovidov
bf2df558d4
Merge branch 'master' into FawnD2-switch-upstream-for-arrow-submodule
2020-12-20 09:38:46 +03:00
alexey-milovidov
41b2503d1a
Merge pull request #18114 from azat/20.13-gcc10-sanitizers
...
gcc10 sanitizers support
2020-12-19 12:54:36 +03:00
Alexey Milovidov
42a4e38f08
Merge branch 'master' into harmful
2020-12-17 06:28:55 +03:00
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
Azat Khuzhin
c862ae0c42
Explicitly link with -llib$SANITIZER for gcc
...
gcc with -nodefaultlibs does not add sanitizers library during linkage
with -static-libasan and similar, fix this, by add them explicitly.
From the gcc(1) about -nodefaultlibs:
Do not use the standard system libraries when linking. Only the
libraries you specify are passed to the linker, and options specifying
linkage of the system libraries, such as -static-libgcc or
-shared-libgcc, are ignored. The standard startup files are used
normally, unless -nostartfiles is used.
Plus checked it manually, w/o -nodefaultlibs everything works without
this explicit linkage.
After this patch UBSAN under gcc compiled successfully.
v2: freebsd and darwin
2020-12-16 21:31:03 +03:00
Azat Khuzhin
1dca6e9269
cmake/linux/default_libs.cmake: fix alignment
2020-12-16 21:31:03 +03:00
Azat Khuzhin
90df89b504
cmake/sanitizers.cmake: tiny refactoring
2020-12-16 21:31:03 +03:00
Alexey Milovidov
dabde573df
Adjust CMake
2020-12-16 19:30:23 +03:00
Azat Khuzhin
8de0c0e8fc
Fix warning message for unusupported -fsanitize-blacklist
2020-12-15 02:29:09 +03:00
Azat Khuzhin
519d89dc9f
Do not pass -fsanitize-blacklist for gcc (it does not support it) for UBSAN
2020-12-15 02:24:28 +03:00
Azat Khuzhin
75153c9663
build: ThinLTO provides its own parallel linking, limit to 2 in case of ThinLTO
2020-12-11 01:32:38 +03:00
Maksim Kita
5b57c59a3b
Updated fast_float integration
2020-12-06 23:37:55 +03:00
Maksim Kita
87c50602bc
Fast float updated implementation
2020-12-06 23:37:35 +03:00
Maksim Kita
80d66b8868
FastFloat library integration
2020-12-06 23:37:35 +03:00
Ivan
315ff4f0d9
ANTLR4 Grammar for ClickHouse and new parser ( #11298 )
2020-12-04 05:15:44 +03:00
FawnD2
26488467f8
Merge branch 'master' into switch-upstream-for-arrow-submodule
2020-11-29 15:53:28 +03:00
Denis Glazachev
0e6dd287e7
Fix CMake generation and build for native Xcode and AppleClang
2020-11-27 20:33:16 +04:00
Nikolai Kochetov
9291bbb04b
Merge pull request #16804 from vdimir/ip-dict-no-trie
...
sorted-array based ip_dict
2020-11-26 19:26:06 +03:00
Alexander Kuzmenkov
394b81ac46
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-25 23:38:55 +03:00
Nikolai Kochetov
729272391f
Merge branch 'master' into ip-dict-no-trie
2020-11-25 23:07:19 +03:00
Vitaly Baranov
8d96a11d8d
Update grpc build scripts.
2020-11-24 17:53:34 +03:00
myrrc
fbb0e6e6aa
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-11-24 16:04:17 +03:00
robot-clickhouse
dc19fba36f
Auto version update to [20.13.1.1] [54444]
2020-11-23 10:29:26 +03:00
robot-clickhouse
67e9901cda
Auto version update to [20.12.1.5236] [54443]
2020-11-23 10:26:45 +03:00
vdimir
e2fac19686
Remove libbtrie
2020-11-21 21:31:15 +03:00
myrrc
a8d8dd7d3e
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-11-12 14:50:59 +03:00
sundy-li
46c01eb7a2
improve unbundle build
2020-11-11 09:08:53 +08:00
sundy-li
fb7066d73d
* fix fasttest and cmake && pipline for all_scan
...
* unique the keys
* add inputstream && outputstream
2020-11-11 09:08:53 +08:00
sundy-li
c7617173c4
add sync_file_range for glibc-compatibility
2020-11-11 09:08:52 +08:00
sundy-li
1fa4906dd2
update cmake && remove useless codes
2020-11-11 09:08:52 +08:00
sundy-li
20315edae8
update cmake
2020-11-11 09:08:52 +08:00
root
e9de5b6ad4
Add StorageEmbeddedRocksdb Engine
2020-11-11 09:08:52 +08:00
myrrc
e460248624
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-11-10 14:54:24 +03:00
Danila Kutenin
3c6794bf37
Add Floyd-Rivest selection algorithm instead of std::partial_sort
2020-11-09 20:22:05 +03:00
FawnD2
6a89d965fd
Merge branch 'master' into switch-upstream-for-arrow-submodule
2020-11-07 22:34:55 +03:00
FawnD2
65e4fa555b
Remove build branch with internal parquet native cmake
2020-11-07 19:49:36 +03:00
robot-clickhouse
f7b7854ace
Auto version update to [20.12.1.1] [54443]
2020-11-05 21:52:50 +03:00
robot-clickhouse
19ea4f1a95
Auto version update to [20.11.1.5109] [54442]
2020-11-05 21:50:15 +03:00
myrrc
ab1b7267b6
fixed the build, added some comments
2020-11-03 17:56:07 +03:00
alexey-milovidov
2d80c98964
Merge pull request #16509 from kitaisreal/cmake-moved-power-pc-check-in-tools
...
CMake moved power pc check in tools
2020-10-30 16:03:50 +03:00
Maksim Kita
d3f08b21de
CMake moved power pc check in tools
2020-10-29 11:28:40 +03:00
Alexey Milovidov
91e80598cd
Add "harmful" library
2020-10-28 02:00:16 +03:00
Mikhail Filimonov
41971e073a
Fix typos reported by codespell
2020-10-27 12:04:03 +01:00
alexey-milovidov
2b00b5391a
Merge pull request #11844 from Enmk/AES_encrypt_decrypt
...
encrypt and decrypt functions
2020-10-20 22:57:35 +03:00
Alexey Milovidov
19e31578df
Better message about build error on Mac #16072
2020-10-16 15:00:26 +03:00
Alexey Milovidov
5e502c52b3
Merge branch 'master' into AES_encrypt_decrypt
2020-10-14 16:30:23 +03:00
Azat Khuzhin
0f5ba33be8
Exclude zero-as-null-pointer-constant for libstdc++ under WEVERYTHING
2020-10-11 22:11:18 +03:00
alexey-milovidov
557002262f
Merge pull request #15828 from azat/unbundled-INTERFACE_COMPILE_DEFINITIONS
...
Fix INTERFACE_COMPILE_DEFINITIONS for IMPORTED targets
2020-10-11 19:28:18 +03:00
Azat Khuzhin
35335f07db
Fix INTERFACE_COMPILE_DEFINITIONS for IMPORTED targets
...
INTERFACE_COMPILE_DEFINITIONS does not work IMPORTED targets:
From 3.6:
Specify compile definitions to use when compiling a given <target>.
The named <target> must have been created by a command such as
add_executable() or add_library() and must not be an Imported Target.
Since 3.11:
Specify compile definitions to use when compiling a given <target>.
The named <target> must have been created by a command such as
add_executable() or add_library() and must not be an ALIAS target.
And this causes the -Wundef warning:
src/Functions/FunctionsHashing.h:1326:5: warning: 'USE_XXHASH' is not defined, evaluates to 0 [-Wundef]
2020-10-11 09:06:01 +03:00
Azat Khuzhin
4e49812e32
Enable Wzero-as-null-pointer-constant only for libcxx
...
Since libstdc++ has some of such compares for 3way compare:
/src/ch/clickhouse/src/Common/UInt128.h:61:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant]
bool inline operator>= (const UInt128 rhs) const { return tuple() >= rhs.tuple(); }
^~
nullptr
/usr/include/c++/10.2.0/tuple:1426:5: note: while rewriting comparison as call to 'operator<=>' declared here
operator<=>(const tuple<_Tps...>& __t, const tuple<_Ups...>& __u)
2020-10-10 22:48:36 +03:00
Azat Khuzhin
0813c1073b
Add -Wzero-as-null-pointer-constant for gcc
2020-10-10 22:45:39 +03:00
robot-clickhouse
554fa482e6
Auto version update to [20.11.1.1] [54442]
2020-10-10 18:39:58 +03:00
robot-clickhouse
94be292b92
Auto version update to [20.10.1.4881] [54441]
2020-10-10 18:37:28 +03:00
alesapin
f950198fa5
Allow to use c11 with clang pedantic
2020-10-06 19:00:42 +03:00
Vitaly Baranov
dd634aa731
Merge pull request #15491 from vitlibar/update-grpc
...
Update gRPC to the latest version
2020-10-02 15:54:35 +03:00
alesapin
c5df9433f0
Merge pull request #15239 from ClickHouse/100_percent_lld_11_for_clang_11
...
Build ClickHouse for release with clang-11
2020-10-02 14:59:29 +03:00
Vitaly Baranov
65a1684ed7
Fix gRPC build scripts.
2020-10-02 01:45:01 +03:00
Vitaly Baranov
8a3b024a6d
Fix using external protobuf library for the build.
2020-10-01 06:28:54 +03:00
tavplubix
a4b4895b26
Merge pull request #15435 from ClickHouse/ADQM-160-fix
...
Try merge #14265 again
2020-09-30 11:21:55 +03:00
Alexey Milovidov
b0e8119744
Merge branch 'master' into clang-tidy-11
2020-09-30 01:17:17 +03:00
alesapin
078f7075ba
Fix cmake
2020-09-29 15:15:45 +03:00
Alexander Tokmakov
a7d3a024c7
Revert "Revert "Test and doc for PR12771 krb5 + cyrus-sasl + kerberized kafka""
...
This reverts commit c298c633a7
.
2020-09-29 11:56:37 +03:00
tavplubix
c298c633a7
Revert "Test and doc for PR12771 krb5 + cyrus-sasl + kerberized kafka"
2020-09-24 16:10:24 +03:00
Ilya Yatsishin
7dad84ea6b
Merge pull request #14265 from arenadata/ADQM-160
...
Test and doc for PR12771 krb5 + cyrus-sasl + kerberized kafka
2020-09-23 19:02:58 +03:00
Ilya Golshtein
e2ee97202b
USE_LIBGSASL not required to use internal librdkafka
2020-09-22 23:16:34 +03:00
alesapin
269d225637
Merge branch 'master' into myrrc-feature-cmake-flags-doc-generator
2020-09-22 17:00:02 +03:00
myrrc
eb1bb88fa0
updated the gtest find cmake file
2020-09-19 20:45:11 +03:00
myrrc
c78d9f9f38
moved the generators to docs/ folder
2020-09-19 19:42:36 +03:00
Alexey Milovidov
059646743b
Remove OpenCL
2020-09-19 17:20:00 +03:00
Alexey Milovidov
cac65b38f2
Merge branch 'master' into clang-tidy-11
2020-09-19 00:02:44 +03:00
myrrc
f6bce8bd1e
reverted USE to ENABLE
2020-09-18 17:18:59 +03:00
myrrc
3953ed485b
added sub-tables in report, replaced some USE_ -> ENABLE_ for
...
consistency
2020-09-18 16:09:22 +03:00
Alexey Milovidov
799a675b5d
Merge branch 'master' into AES_encrypt_decrypt
2020-09-17 21:42:51 +03:00
myrrc
7cd5c0d34f
Merge remote-tracking branch 'upstream/master' into feature/cmake-flags-doc-generator
2020-09-17 19:17:09 +03:00
myrrc
ac606dca77
updated cmake/ files, added some comments
2020-09-17 18:37:23 +03:00
Vitaly Baranov
3356d75b23
Merge pull request #13156 from azat/cluster-secure
...
Secure inter-cluster query execution (with initial_user as current query user) [v3]
2020-09-17 17:11:00 +03:00
Alexey Milovidov
9ceb4934c2
Use clang-tidy 11
2020-09-17 13:32:16 +03:00
Simon Liu
c41e230589
Modify the minimum version of the Clang compiler that Clickhouse can support (8 -> 9),
...
The main reason is that in Clang 8.0 "#pragma clang attribute" cannot be used in the namesapce scope.
2020-09-16 22:14:30 +08:00
alesapin
a75254766e
Merge pull request #14609 from ClickHouse/update_to_gcc_10
...
Update default build to gcc-10
2020-09-15 09:49:43 +03:00
Azat Khuzhin
85b63ecadf
Bump revision manually (to make it compatible with other version from this tag)
...
As @alexey-milovidov wrote.
P.S. I did not use ./utils/release/release_lib.sh (via ./release), since
it is pretty complex (it fetches tags and so on)
The following macros has been updated:
- VERSION_REVISION -- usually bumped with utils/release/release_lib.sh
(interesting that even if there were no changes)
- DBMS_MIN_REVISION_WITH_INTERSERVER_SECRET
- DBMS_TCP_PROTOCOL_VERSION -- does not affect anything, some internal
yandex stuff
2020-09-15 01:36:28 +03:00
alesapin
fb7fc28e6f
Update warnings.cmake
2020-09-14 12:20:43 +03:00
alesapin
8075ce2809
Update warnings.cmake
2020-09-12 15:42:32 +03:00
alesapin
e25b1da29f
Disable -Wstringop-overflow for gcc-10
2020-09-11 13:53:26 +03:00
Azat Khuzhin
0f4fdcbf38
Pass -fsanitize-blacklist for TSAN only under clang (gcc does not support this)
...
And no such check for -fsnaitize=memory, since gcc does not support it
anyway.
2020-09-10 02:07:28 +03:00
alesapin
4ba8f8960b
Increase frame-larger-than
2020-09-09 12:53:24 +03:00
robot-clickhouse
8def718661
Auto version update to [20.10.1.1] [54440]
2020-09-08 17:04:41 +03:00
robot-clickhouse
7bc3c43a38
Auto version update to [20.9.1.4585] [54439]
2020-09-08 17:04:06 +03:00
alesapin
b91f37169d
Fix cmake
2020-09-08 10:09:40 +03:00
Vasily Nemkov
b147ffcd43
encrypt, aes_encrypt_mysql, decrypt, aes_decrypt_mysql functions
...
Functions to encrypt/decrypt any input data with OpenSSL's ciphers
with custom key, iv, and add (-gcm mode only).
_mysql versions are 100% compatitable with corresponding MySQL functions
Supported modes depend on OpenSSL version, but generally are:
aes-{128,192,56}-{ecb,cbc,cfb1,cfb8,cfb128,ofb,gcm}
Please note that in a -gcm mode a 16-byte tag is appended to the ciphertext
on encryption and is expected to be found at the end of ciphertext on decryption.
Added tests that verify compatibility with MySQL functions,
and test vectors for GCM mode from OpenSSL.
Added masking rules for aes_X funtions
Rules are installed by default to config.d/query_masking_rules.xml
2020-09-01 12:42:15 +03:00
robot-clickhouse
e2fa0eae2f
Auto version update to [20.9.1.1] [54439]
2020-08-31 23:07:41 +03:00
robot-clickhouse
f63e5faac0
Auto version update to [20.8.1.4513] [54438]
2020-08-31 23:07:05 +03:00
alesapin
30cf59fc9a
Revert version update
2020-08-31 22:51:56 +03:00
robot-clickhouse
59a3937adb
Auto version update to [20.8.1.4513] [54438]
2020-08-31 19:41:50 +03:00
Konstantin Podshumok
a9d2de595d
xcmake: enbale ccache by default if it is installed
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-27 14:27:00 +03:00
Konstantin Podshumok
8ce844a40d
cmake: when USE_STATIC_LIBRARIES prefer bundled brotli
...
even if UNBUNDLED=ON because libbrotli*.a and similar are not
available in most of the systems
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:44 +03:00
Konstantin Podshumok
e296997b6c
cmake: fix potential curl linking problems
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:44 +03:00
Konstantin Podshumok
68a921cdea
cmake: use bundled rdkafaka for in unbundled tests for now
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:43 +03:00
Konstantin Podshumok
5097793872
cmake: Fix odbc in unbudled
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:43 +03:00
Konstantin Podshumok
5d13c1f03f
cmake: unbundled: libxml2 requires liblzma when building static
...
Squashed:
- fixup hdfs3-libxml2
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:43 +03:00
Konstantin Podshumok
ef858027d4
unbundled: fix detection of mariadb headers
...
Squashed:
- unbundled: add warning about mariadbclient dependencies
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:42 +03:00
Konstantin Podshumok
d989e59699
unbundled: link with termcap when using static llvm
...
ld.lld: error: undefined symbol: setupterm
referenced by Process.cpp.o:(llvm::sys::Process::FileDescriptorHasColors(int)) in archive /usr/lib/llvm-9/lib/libLLVMSupport.a
Squashed:
- fixup termcap + external llvm
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:42 +03:00
Konstantin Podshumok
d739c6a38f
Revert "Merge pull request #13689 from ClickHouse/remove-termcap"
...
This reverts commit da8d8f35dd
, reversing
changes made to c3d0a87b8b
.
2020-08-25 20:16:42 +03:00
Konstantin Podshumok
cc6a59d59b
cmake: disable internal ORC when using external Parquet
...
Squashed:
- fix internal poco linking with `zlib`
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:42 +03:00
Konstantin Podshumok
e0939a8666
unbundled: add thrift when using external parquet
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:41 +03:00
Konstantin Podshumok
17c46faaa7
cmake: fix parquet/arrow variables
...
squashed:
- sync FindArrow.cmake and FindParquet.cmake with arrow repo
- unbundled: add arrow to dbms link libraries
- cmake: fix-up unbundled Arrow support
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:41 +03:00
Konstantin Podshumok
3e3b67601f
cmake: USE_INTERNAL_GSASL_LIBRARY by default when USE_STATIC_LIBRARIES
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:41 +03:00
Konstantin Podshumok
2b867cb2db
cmake: disable external avro as we don't support it yet
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:41 +03:00
Konstantin Podshumok
2c9c7c9e95
cmake: USE_INTERNAL_H3_LIBRARY is always ON by default
...
as I don't know any system with package for it
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:40 +03:00
Konstantin Podshumok
e101db600c
cmake: set USE_INTERNAL_SPARSEHASH_LIBRARY=ON by default
...
as we don't know any distribution with sparsehash-c11 package
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:40 +03:00
Konstantin Podshumok
f40a9f5b20
cmake: set USE_INTERNAL_ORC and USE_INTERNAL_HDFS3 to OFF by default even in unbundled
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:40 +03:00
Konstantin Podshumok
139ba52944
cmake: unbundled + use_static_libs = no ldap
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:40 +03:00
Konstantin Podshumok
0c30721b91
cmake: set ENABLE_ORC to OFF by default on platforms that don't support protobuf or parquet
...
Squashed:
- cmake: Better diagnostic message about broken ORC dependencies
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:39 +03:00
Konstantin Podshumok
3ec7a4bc53
cmake: make sure ENABLE_GRPC is off by default when PROTOBUF is OFF by default
...
Squashed:
- cmake: make sure protobuf compiler and snappy are there for unbundled build
- cmake: Turn ON internal GRPC library by default until relevant features will be implemented
- cmake: allow unbundled grpc
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:39 +03:00
Konstantin Podshumok
986bdf86ee
cmake: don't enable internal llvm with disabled embedded compiler
...
Even if UNBUNDLED is off
Squashed:
- cmake: fix misleading error message about internal llvm on unsupported arches
- cmake: re-do some checks for LLVM options
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:39 +03:00
Konstantin Podshumok
1913522233
cmake: always use internal poco library as it went too far from upstream
...
Squashed:
- cmake: move USE_INTERNAL_POCO_LIBRARY option to separate file
- point contrib/poco to "add <atomic> to TCPServerDispatcher"
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:38 +03:00
Konstantin Podshumok
528f9d587f
cmake: find/s3: use FAIL_ON_UNSUPPORTED_OPTIONS_COMBINATION
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:38 +03:00
Konstantin Podshumok
d456aa86ef
Revert "Revert "cmake: Add option to fail configuration instead of auto-reconfiguration""
...
This reverts commit 89419ceb9b
(curl part moved to separate commit)
Squashed:
- termcap removed
- fix for cassandra on apple merged
- cmake: fix "Can't find system zlib library" in unbundled build
- cmake: fix condition when testing for rdkafka platform
- cmake: PROTOBUF_OLD_ABI_COMPAT shouldn't be enabled for internal protobuf
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:37 +03:00
alexey-milovidov
fb0e68f808
Merge pull request #12771 from arenadata/ADQM-109
...
krb5 + cyrus-sasl + kerberized kafka
2020-08-20 20:13:01 +03:00
Ilya Yatsishin
e0d86f8b45
Merge pull request #13708 from qoega/cassandra-macos-rpath
...
Fix cassandra build on macos
2020-08-14 15:49:47 +03:00
Yatsishin Ilya
4c1e5d9d56
Fix cassandra build on macos
2020-08-14 09:25:08 +03:00
Alexey Milovidov
ad20a384c1
Remove useless code
2020-08-14 02:55:10 +03:00
alexey-milovidov
89419ceb9b
Revert "cmake: Add option to fail configuration instead of auto-reconfiguration"
2020-08-13 23:10:06 +03:00
Konstantin Podshumok
d22de6c7e9
cmake: Make sure USE_SIMDJSON default value is in sync with ENABLE_LIBRARIES
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-09 21:37:46 +03:00
Konstantin Podshumok
fe56697893
cmake: Add option to fail configuration instead of auto-reconfiguration
...
squashed:
find/msgpack.cmake - merge collision fix, trivial
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-09 21:37:26 +03:00
robot-clickhouse
a82c0f5371
Auto version update to [20.8.1.1] [54438]
2020-08-07 21:45:49 +03:00
robot-clickhouse
19f3800a55
Auto version update to [20.7.1.4310] [54437]
2020-08-07 21:45:15 +03:00
Alexey Milovidov
cf6ccbc656
Adjustments
2020-08-03 20:44:23 +03:00
Alexey Milovidov
f5f0c788b8
Relax the limit
2020-08-03 00:10:57 +03:00
Alexey Milovidov
cf388cc32f
Slightly lower the limit
2020-08-02 04:35:49 +03:00
Ilya Golshtein
ff92812ac5
openssl to link with krb5
2020-07-31 13:49:08 +03:00
Ilya Golshtein
017a433403
some cleanup, disabling sasl really works
2020-07-31 13:49:08 +03:00
Ilya Golshtein
d93f0c7548
initial - kerberized kafka works
2020-07-31 13:49:07 +03:00
Alexey Milovidov
c202691319
Merge branch 'master' into stack-frams-size-limit
2020-07-30 23:53:52 +03:00
alesapin
d52f67d24e
Fix abtesting build
2020-07-29 14:00:04 +03:00
Alexey Milovidov
50bbfc848d
Merge branch 'master' into stack-frams-size-limit
2020-07-21 14:45:15 +03:00
Vitaly Baranov
0b17595a91
Merge pull request #12423 from vitlibar/update-simdjson
...
Update simdjson
2020-07-20 10:15:38 +03:00
Vitaly Baranov
4cc101f1d4
Fix build scripts.
2020-07-17 10:30:13 +03:00
Vitaly Baranov
000b197ad1
Merge pull request #11234 from traceon/ldap-per-user-authentication
...
Add LDAP authentication support
2020-07-16 13:17:21 +03:00
Denis Glazachev
59cb758cf7
Merge branch 'master' into ldap-per-user-authentication
2020-07-16 02:29:24 +04:00
alesapin
e35c49faa2
Merge branch 'master' into fasttest
2020-07-15 22:35:46 +03:00
Alexander Kuzmenkov
3e6b9f297f
Some provisions for Android build
2020-07-15 14:16:00 +03:00
alesapin
a31109f023
Better submdoules
2020-07-14 21:44:57 +03:00
alesapin
0740b88d6b
Merge branch 'master' into fasttest
2020-07-14 15:19:05 +03:00
robot-clickhouse
0f23642a3d
Auto version update to [20.7.1.1] [54437]
2020-07-13 18:26:03 +03:00