Amos Bird
b54cf8b95a
Remove duplication
2021-05-12 16:07:11 +08:00
Amos Bird
d22ab2028f
Run check_*_compiler_flag earlier
2021-05-12 12:14:25 +08:00
Maksim Kita
ca9a23abbc
Fix build
2021-05-08 17:39:34 +03:00
alexey-milovidov
f360e7c808
Merge pull request #23766 from kitaisreal/remove-unused-compilers
...
Remove unused compilers (fixed for the troublesome "unbundled" build)
2021-05-01 16:15:38 +03:00
Alexey Milovidov
ba815acafa
Update library list
2021-05-01 11:23:12 +03:00
alexey-milovidov
cda164c3cd
Update llvm.cmake
2021-05-01 08:09:20 +03:00
alexey-milovidov
37ce69d40e
Update llvm.cmake
2021-05-01 08:08:36 +03:00
alexey-milovidov
012620b71d
Update llvm.cmake
2021-05-01 08:07:55 +03:00
Maksim Kita
0c5e5a0300
Update llvm.cmake
2021-05-01 00:47:15 +03:00
alexey-milovidov
7fa24d7b26
Merge pull request #23664 from azat/msan-dtor
...
Enable use-after-destruction detection in MSan
2021-04-30 21:51:28 +03:00
Yatsishin Ilya
cf277a6784
find llvm
2021-04-30 17:55:38 +03:00
Maksim Kita
f8dcba8435
Updated llvm search version
2021-04-29 22:45:15 +03:00
Maksim Kita
26068a4d28
Updated llvm.cmake
2021-04-29 20:10:01 +03:00
Benjamin Naecker
57fd59b73b
Adds support for building on Solaris-derived systems
...
This commit adds a number of changes to platform-detection and
compile-time directives required to support building ClickHouse on
Solaris-derived systems, most notably illumos.
2021-04-28 16:32:41 -07:00
Azat Khuzhin
d83ea5844f
Enable use-after-destruction detection in MSan
...
Refs: https://clang.llvm.org/docs/MemorySanitizer.html#use-after-destruction-detection
2021-04-28 23:02:52 +03:00
tavplubix
1d5d69f651
Merge pull request #23637 from ClickHouse/fix-build-with-AMQP
...
Merging #22984
2021-04-26 11:33:52 +03:00
Alexander Tokmakov
b3849beea3
minor fix
2021-04-26 09:45:52 +03:00
Alexey Milovidov
5423ef573a
Add warning about gcc usage
2021-04-25 01:51:40 +03:00
Denis Glazachev
b349e84fc7
Use nanodbc always together with odbc
...
Disable clickhouse-odbc-bridge building when odbc is disabled
2021-04-20 15:07:05 +04:00
robot-clickhouse
db82e9e3d5
Auto version update to [21.6.1.1] [54451]
2021-04-20 01:48:20 +03:00
robot-clickhouse
a584d78f19
Auto version update to [21.5.1.6601] [54450]
2021-04-20 01:45:38 +03:00
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