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
robot-clickhouse
0c5be7309c
Auto version update to [20.6.1.4066] [54436]
2020-07-13 18:25:23 +03:00
alesapin
a9824fd650
Better cmake and less libraries
2020-07-10 22:08:18 +03:00
alesapin
4ab5edadb7
Less libraries
2020-07-10 12:47:50 +03:00
Denis Glazachev
5a4762bb8a
Merge branch 'master' into ldap-per-user-authentication
2020-07-09 14:50:02 +04:00
alexey-milovidov
f021376874
Merge pull request #12178 from azat/gcc10-build-fixes
...
gcc10/cmake build fixes
2020-07-09 01:49:07 +03:00
Denis Glazachev
9effacfbc1
Merge branch 'master' into ldap-per-user-authentication
...
* master: (1102 commits)
Update README.md
Update README.md
Update README.md
Update index.md
[docs] add intrdocution for statements page (#12189 )
Revert "Run perf tests with memory sampling (for allocations >1M)"
Sanitize LINK_LIBRARIES property for the directories (#12160 )
[docs] refactor Domains overview (#12186 )
DOCS-647: toStartOfSecond (#12190 )
[docs] add intrdocution for commercial page (#12187 )
DOCSUP-1348 Russian translation for new functions (#133 ) (#12194 )
changelog fixes
Update index.md (#12191 )
Update zh kafka.md title (#12192 )
Added test for #3767
style fix for #12152
Tests for fixed issues #10846 and #7347
changelog fixes
[docs] introduction for special table engines (#12170 )
[docs] introduction for third-party interfaces (#12175 )
...
# Conflicts:
# src/Access/ya.make
# src/Common/ErrorCodes.cpp
2020-07-08 00:42:09 +04:00
Azat Khuzhin
a5cb0aed12
Sanitize LINK_LIBRARIES property for the directories ( #12160 )
...
When you will try to link target with the directory (that exists), cmake will
skip this without an error, only the following warning will be reported:
target_link_libraries(main /tmp)
WARNING: Target "main" requests linking to directory "/tmp". Targets may link only to libraries. CMake is dropping the item.
And there is no cmake policy that controls this.
(I guess the reason that it is allowed is because of FRAMEWORK for OSX).
So to avoid error-prone cmake rules, this can be sanitized.
There are the following ways:
- overwrite target_link_libraries()/link_libraries() and check *before*
calling real macro, but this requires duplicate all supported syntax
-- too complex
- overwrite target_link_libraries() and check LINK_LIBRARIES property, this
works great
-- but cannot be used with link_libraries()
- use BUILDSYSTEM_TARGETS property to get list of all targets and sanitize
-- this will work.
I also tested it with the following patch:
$ git di
diff --git a/base/daemon/CMakeLists.txt b/base/daemon/CMakeLists.txt
index 26d59a57e7..35e6ff6432 100644
--- a/base/daemon/CMakeLists.txt
+++ b/base/daemon/CMakeLists.txt
@@ -9,4 +9,5 @@ target_link_libraries (daemon PUBLIC loggers PRIVATE clickhouse_common_io clickh
if (USE_SENTRY)
target_link_libraries (daemon PRIVATE ${SENTRY_LIBRARY})
+ target_link_libraries (daemon PRIVATE /tmp)
endif ()
And it works:
CMake Error at cmake/sanitize_target_link_libraries.cmake:48 (message):
daemon requested to link with directory: /tmp
Call Stack (most recent call first):
cmake/sanitize_target_link_libraries.cmake:55 (sanitize_link_libraries)
CMakeLists.txt:425 (include)
Refs: #12041
2020-07-07 19:22:41 +03:00
Azat Khuzhin
2d2a34d6cd
Use ENABLE_LIBRARIES option for AMQP-CPP
...
This is tiny fix, there are more problems that just this small little
bit.
2020-07-06 23:34:40 +03:00
alexey-milovidov
1719ab1ec5
Merge pull request #12041 from azat/curl-proper-cmake
...
Rewrite curl dependency in a more ch compatible way
2020-07-06 06:31:51 +03:00
Azat Khuzhin
e6aacaac5c
Do not enable sentry if ENABLE_LIBRARIES is not set
2020-07-04 16:41:22 +03:00
Azat Khuzhin
0700a705bc
Rewrite curl dependency in a more ch compatible way
...
- add support of unbundled curl
- add CURL::libcurl libraries
- avoid explicit linkage of daemon with curl (added with sentry)
- set CACHE variables for non-direct users:
- mariadb-connector-c
- aws-s3-cmake
- sentry-native
Cc: @alexey-milovidov
Cc: @alesapin (requires docker image update)
Cc: @abyss7
Refs: #11300
Refs: #8011
Refs: #8905
v2: replace cmake/find/curl.cmake with proper contrib/curl-cmake (as
pointed by @abyss7, cmake/find/*.cmake is deprecated)
2020-07-03 00:57:08 +03:00
alesapin
64583ceb22
Merge branch 'master' into add-storage-rabbitmq-read-only
2020-07-02 16:08:29 +03:00
kssenii
3d2cc9d4b2
Remove libevent library
2020-06-29 12:11:17 +00:00
alesapin
3fc65b3269
Merge branch 'master' into kssenii-rabbit-mq
2020-06-24 20:14:28 +03:00
Ivan Blinkov
45d1ca2567
merge master
2020-06-24 00:18:16 +03:00
robot-clickhouse
4bd47b8adc
Auto version update to [20.6.1.1] [54436]
2020-06-22 20:40:26 +03:00
robot-clickhouse
bc7f98141f
Auto version update to [20.5.1.3833] [54435]
2020-06-22 20:39:51 +03:00
alexey-milovidov
efc57fb063
Make the comment more readable.
2020-06-22 17:59:38 +03:00
Ivan Blinkov
5f73c87c71
change used flag
2020-06-11 15:18:19 +03:00
kssenii
18820814f5
Merge
2020-06-10 23:25:33 +00:00
Denis Glazachev
9e3a28a6b8
Merge branch 'master' into ldap-per-user-authentication
...
* master: (414 commits)
Update file.md
Update merge.md
Update dictionary.md
Update external-data.md
Update distributed.md
Update null.md
Update set.md
Update join.md
Update url.md
Update view.md
Update materializedview.md
Update memory.md
Update buffer.md
Update generate.md
removed a sentence about global lock during rename (#11577 )
greatCircleAngle en translation (#11584 )
Update configuration-files.md
try fix flacky test
Update why.html
Update rich.html
...
# Conflicts:
# src/Common/ErrorCodes.cpp
# utils/ci/jobs/quick-build/run.sh
2020-06-11 03:06:17 +04:00
Ivan Blinkov
67ccd6703e
maybe fix the unbundled gcc build
2020-06-11 00:03:13 +03:00
Ivan Blinkov
6191d33bd9
Do not cache frames inside StackTrace
2020-06-10 16:30:12 +03:00
Ivan Blinkov
90ee4d52f4
merge master
2020-06-10 13:18:41 +03:00
Ivan Blinkov
f872c639ed
Try to disable linker options from sentry
2020-06-09 20:44:56 +03:00
Alexander Tokmakov
6bb68329f8
Merge branch 'master' into merging_external_source_cassandra
2020-06-09 19:51:14 +03:00
Ivan Blinkov
6f7064928f
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-09 19:07:57 +03:00
Ivan
47ad338cb2
Refactor CMake build files ( #11390 )
...
* Get rid of lib_name.cmake
* Refactor Boost and HyperScan libraries
* Refactor lz4
* Fix build with xxHash
2020-06-09 13:54:49 +03:00
Ivan Blinkov
5b3fef526e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-09 11:51:29 +03:00
Alexey Milovidov
48e48a1e09
Decrease maximum stack frame size while we can
2020-06-08 23:00:17 +03:00
Alexey Milovidov
475af33319
Avoid too large stack frames
2020-06-08 20:35:45 +03:00
Alexey Milovidov
d91dab0d8f
Fixed "unbundled" build
2020-06-08 02:11:37 +03:00
Ivan Blinkov
6f0e754f1e
try to fix the glibc compatibility
2020-06-04 11:57:01 +03:00
Alexander Tokmakov
e67837bc4a
cleenup
2020-06-04 00:11:17 +03:00
Ivan Blinkov
2f74c58b05
experiment with BUILD_SHARED_LIBS
2020-06-02 23:50:18 +03:00
Ivan Blinkov
921b7c7480
partial revert
2020-06-02 22:25:34 +03:00
Ivan Blinkov
711e7d101d
experiment
2020-06-02 21:50:55 +03:00
Ivan Blinkov
0e8d559d83
disable for splitted
2020-06-02 13:13:21 +03:00
Ivan Blinkov
9c1ac2f1c1
experiment
2020-06-02 09:46:36 +03:00
Ivan Blinkov
5a32d79135
experiment
2020-06-01 23:55:32 +03:00
Ivan Blinkov
65ff11aeac
old cmake compatibility
2020-06-01 22:49:00 +03:00
Ivan Blinkov
8babd4d18c
experiment
2020-06-01 21:36:33 +03:00
Ivan Blinkov
1ce25238f8
try fix some more build issues
2020-06-01 19:49:11 +03:00
Alexander Tokmakov
62761eddcc
Merge branch 'master' into merging_external_source_cassandra
2020-06-01 14:44:46 +03:00
Ivan Blinkov
fcc7ff0ef9
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-01 08:42:03 +03:00
Denis Glazachev
e8144976fe
Merge branch 'master' into ldap-per-user-authentication
2020-05-31 15:09:16 +04:00
Denis Glazachev
165dc4e109
Disable system static OpenLDAP linking support (due to fPIC mismatch)
2020-05-31 15:04:56 +04:00
kssenii
e80b405359
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-storage-rabbitmq-read-only
2020-05-31 10:30:53 +00:00
Ivan Blinkov
77d8c9baca
Add anonymize option and version tag
2020-05-30 11:02:13 +03:00
Vitaly Baranov
69afc13d55
Fix build scripts related to protobuf and gRPC for Mac.
2020-05-29 23:09:01 +03:00
Ivan Blinkov
95ee742ee7
merge master
2020-05-29 22:56:10 +03:00
Denis Glazachev
ec9cb953b4
Try to find and link with Cyrus SASL and GSSAPI too, if static OpenLDAP libraries are requested
2020-05-29 23:26:41 +04:00
Alexander Tokmakov
8921041706
Merge branch 'master' into merging_external_source_cassandra
2020-05-29 18:20:39 +03:00
Denis Glazachev
9fb0a95c75
Compilation fix: add missing "/include"
...
Style fix
2020-05-29 16:14:42 +04:00
Denis Glazachev
d9ca9cd9b2
Compilation fix
...
Typo fix
2020-05-29 14:00:12 +04:00
Maxim Akhmedov
ce52a2c820
Add lost VERSION_* defines to ya.make.versions.inc
2020-05-28 19:44:30 +03:00
Maxim Akhmedov
f5b1ab8e4a
Use proper versions in Arcadia build.
2020-05-28 16:46:56 +03:00
Ivan Blinkov
709b4f42c8
Prototype sending crash reports on segfaults
2020-05-27 22:11:04 +03:00
Vitaly Baranov
7b03e36c2a
Improve build scripts related to protobuf and gRPC a little more.
2020-05-27 20:14:44 +03:00
Alexander Tokmakov
940132adc4
Merge branch 'master' into merging_external_source_cassandra
2020-05-27 00:13:57 +03:00
kssenii
ad1c0de8db
Merge
2020-05-26 17:45:39 +00:00
Vitaly Baranov
58a2172154
Improve build scripts related to protobuf and gRPC.
2020-05-25 18:46:57 +03:00
Alexander Tokmakov
ac54d470da
Merge branch 'master' into merging_external_source_cassandra
2020-05-22 17:27:40 +03:00
Alexander Tokmakov
e6ca09e134
fix build
2020-05-22 17:19:33 +03:00
Azat Khuzhin
23044ac02c
Disable -Wsequence-point on gcc10 (otherwise it stuck on GatherUtils compiling)
...
clang (10.0.0 is fine BTW) will warn about this anyway on CI.
For the debug build gcc10:
- before patch:
- concat.cpp -> >5m (stuck on cc1plus, not as)
- has.cpp -> >10m (stuck on cc1plus, not as)
- after this patch:
- concat.cpp -> 1m16s
- has.cpp -> 4m (and most of the time eats, as from binutils 2.34.50.20200508)
Command for build:
- ninja src/Functions/GatherUtils/CMakeFiles/clickhouse_functions_gatherutils.dir/concat.cpp.o
- ninja src/Functions/GatherUtils/CMakeFiles/clickhouse_functions_gatherutils.dir/has.cpp.o
The test case should be reduced and then it can be reported to the gcc
bugzilla.
P.S. Looks like a signal not to switch to gcc10 for now
2020-05-21 21:18:34 +03:00
Alexander Tokmakov
31b6f5f0d2
Merge branch 'master' into merging_external_source_cassandra
2020-05-20 23:44:53 +03:00
Alexander Tokmakov
4b30b3168c
try fix build
2020-05-20 23:26:39 +03:00
kssenii
a055e33087
Add libevent & AMQP-CPP libraries
2020-05-20 09:08:27 +03:00
Alexander Tokmakov
175b7aedf3
Merge branch 'master' into merging_external_source_cassandra
2020-05-19 05:21:27 +03:00
Artem Zuikov
97c7447130
Bitonic sort improvements ( #10934 )
2020-05-19 00:41:23 +03:00
Alexey Milovidov
6b650d0e47
Fix mistake in FreeBSD toolchain
2020-05-17 06:57:16 +03:00
Azat Khuzhin
f748021d9a
Use libc-headers only for BUNDLED build (fixes gcc10 unbundled build)
...
libstdc++ from gcc10 uses pthread_mutex_clocklock() which is not yet
exists in contrib/libc-headres.
P.S. I can prepare an update for libc-contrib
2020-05-16 00:00:38 +03:00
alexey-milovidov
5898f611da
Merge pull request #10861 from traceon/contrib-openldap
...
Add OpenLDAP third-party library integration (system or contrib/build)
2020-05-15 23:13:23 +03:00
Denis Glazachev
bad61a659c
Allow Linux aarch64
2020-05-15 15:15:13 +04:00
Ri
fc7afaa639
Bitonic sort on GPU (OpenCL) ( #10232 )
2020-05-15 03:01:14 +03:00
Denis Glazachev
b68664d332
Normalize CMAKE_SYSTEM_NAME and platform dependent folder names
2020-05-15 00:40:27 +04:00
Denis Glazachev
38320e6444
Normalize CMAKE_SYSTEM_PROCESSOR and platform dependent folder names
2020-05-15 00:25:27 +04:00
Denis Glazachev
3586fb1dc0
Clean and adjust the generated files
...
Add FreeBSD amd64 generated files/support
2020-05-14 23:53:11 +04:00
Denis Glazachev
36cb24377b
Merge branch 'master' into contrib-openldap
...
* master: (204 commits)
DOCS-289: randConstant (#10838 )
Update performance_comparison.md
fix docs build
Adjust ld+json images, remove feather icons (#10843 )
[docs] faster local/debug build (#10840 )
CLICKHOUSE-4862: some markdown fixes @ ru mergetree.md (#10835 )
CLICKHOUSE-4862: fix link (#10836 )
Some fixes at ru merge-tree-settings.md (#10837 )
Fix MSan failure in cache dictionary
Fix double whitespace
Additional assert in ColumnVector
Fix paths in compiler error messages #10434
Fix "Arcadia" build
Fix style check in Block::sortColumns() (sigh)
Sort iterators to avoid extra std::string creation in Block::sortColumns()
Optimize Block::sortColumns()
Better DNS exception message
Fix logical error in convertFieldToType
Make order of columns strict in Block::sortColumns()
Add a test for INSERT into Buffer() with different order of columns (via MV)
...
2020-05-13 00:29:09 +04:00
Denis Glazachev
acd8cfc5d2
Added contrib/openldap submodule
...
Added OpenLDAP find/detection cmake scripts
Added integration for OpenLDAP Linux and Darwin x86_64 platforms (following OpenSSL integration approach)
2020-05-12 23:19:15 +04:00
Alexey Milovidov
99e64729bb
Remove obsolete TSan suppressions
2020-05-11 10:05:46 +03:00
Alexey Milovidov
ce59ad8e04
Merge branch 'master' into even-more-warnings
2020-05-10 03:49:12 +03:00
Alexey Milovidov
d9257a8682
Merge branch 'arrow-io-format' of https://github.com/FawnD2/ClickHouse into FawnD2-arrow-io-format
2020-05-10 03:26:10 +03:00
Alexey Milovidov
a576a4fbcd
Enable extra warnings for base, utils, programs
2020-05-10 01:59:34 +03:00
Ivan
85d783c247
Poco contrib refactoring ( #10396 )
...
* Remove config_common.h
* Refactor libcpuid contrib
* Remove support for libcpuinfo
* Define USE_CPUID in Arcadia
* Refactor Poco libraries
2020-05-08 17:11:19 +03:00
Ivan
038e371570
Update cross-builds to use clang-10 compiler ( #10724 )
...
* Update FreeBSD toolchain
* Update cross-builds to use clang-10
2020-05-07 15:32:17 +03:00
Denis Glazachev
69052493eb
Cleaned up AppleClang version check
2020-05-06 20:47:13 +04:00
Denis Glazachev
688867d917
Blind fix for AppleClang version and char8_t support check
2020-05-06 19:54:04 +04:00
FawnD2
ea87bd1c64
Merge branch 'master' into arrow-io-format
2020-05-05 18:52:44 +03:00
Alexey Milovidov
3a0b77132d
Check for AppleClang
2020-05-04 18:12:06 +03:00
FawnD2
112758b99d
Merge branch 'master' into arrow-io-format
2020-05-04 00:53:17 +03:00
alexey-milovidov
aeb5487261
Merge branch 'master' into xcode-build-fix
2020-05-03 05:03:49 +03:00
Ivan
e5ca9a3789
Fix FreeBSD build ( #10150 )
...
* Add ranlib into toolchain
* Disable LLVM
2020-05-02 15:07:57 +03:00
FawnD2
538e6c39da
Arrow input format
2020-04-28 22:52:22 +03:00
robot-clickhouse
de4e88ff97
Auto version update to [20.5.1.1] [54435]
2020-04-28 20:12:16 +03:00
robot-clickhouse
73e5353ed8
Auto version update to [20.4.1.3177] [54434]
2020-04-28 20:11:43 +03:00
Denis Glazachev
6b02bfadaf
Use deduced paths to target executables
2020-04-27 21:46:41 +04:00
Eldar Zaitov
d7a037c26b
split fuzzers and sanitizers
2020-04-25 10:12:38 +03:00
Vitaly
d64c6b2134
build on FreeBSD fix (amd64)
2020-04-18 16:54:45 +03:00
Vitaly
96b5e7d3df
Update default_libs.cmake
2020-04-18 13:05:43 +03:00
alexey-milovidov
17e7d4d88a
Merge pull request #10307 from abyss7/arcadia-4
...
Changes for auto-sync with Arcadia
2020-04-17 05:08:34 +03:00
Alexey Milovidov
3e1c7be7f4
Update compiler check #10250
2020-04-14 17:32:55 +03:00
Ivan Lezhankin
910ab8a265
Move contrib/libpcg-random → base/pcg-random
2020-04-13 18:42:58 +03:00
alexey-milovidov
e63fe6da84
Update msgpack.cmake
2020-04-11 23:07:11 +03:00
alesapin
d2237c3ab8
Update msgpack.cmake
2020-04-10 17:17:32 +03:00
Azat Khuzhin
569b85eda4
Add ability to use unbundled msgpack
...
Actually it works before but by accidentally and with warnings.
2020-04-10 10:47:52 +03:00
alexey-milovidov
4a73fe7477
Merge pull request #9889 from Avogar/msgpack_format
...
Msgpack format
2020-04-10 00:07:10 +03:00
Ivan
f6b31f344d
Add cross-compile build for FreeBSD ( #9643 )
...
* Add toolchain to Docker image
2020-04-07 11:33:49 +03:00
Avogar
7a96984dd8
Merge branch 'master' of github.com:ClickHouse/ClickHouse into msgpack_format
2020-04-04 16:44:44 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00
Ivan Lezhankin
4d1749b34b
Also move dbms/cmake/version.cmake to top-level
2020-04-02 04:30:20 +03:00
Ivan
97f2a2213e
Move all folders inside /dbms one level up ( #9974 )
...
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00
Kruglov Pavel
18daaf6de5
Merge branch 'master' into msgpack_format
2020-03-26 20:11:49 +03:00
Avogar
b02636f916
Add MsgPackRowInputFormat, msgpack-c contrib and tests.
2020-03-26 19:46:13 +03:00
Ivan Lezhankin
362aca365f
Merge branch 'master' into jemalloc
2020-03-21 22:50:48 +03:00
Ivan
571d0d541c
Improve CCTZ contrib ( #9687 )
...
* common/Types.h → common/types.h
Also split Core/Defines.h and merge with common/likely.h
* Improve cctz contrib
* Fix ALWAYS_INLINE and unbundled build
* Update Dockerfile from master
* Fix test for unbundled library
2020-03-19 13:38:34 +03:00
Ivan Lezhankin
528e42bc4c
Improve jemalloc contrib
2020-03-18 15:29:51 +03:00
Ivan Lezhankin
0c757decbe
Don't try to guess linker on non-Linux builds
2020-03-13 18:20:25 +03:00
Ivan
b7ef5a699c
Move FastMemcpy to contribs ( #9219 )
...
* Get rid of non-existent vectorclass
* Move FastMemcpy to contribs
* Restore comments
* Disable FastMemcpy on non-Linux
* Fix cmake file
* Don't build FastMemcpy for ARM64
* Replace FastMemcpy submodule with its contents
* Fix cmake file
* Move widechar_width to contrib/
* Move sumbur to contrib/
* Move consistent-hashing to contrib/
* Fix UBSan tests
2020-03-13 01:26:16 +03:00
Alexey Milovidov
3332048edb
Disable clang-tidy by default (it will be enabled on per-build basis)
2020-03-12 02:16:05 +03:00
Alexey Milovidov
89101c7fff
Searching for more variants of clang-tidy
2020-03-09 08:29:16 +03:00
Alexey Milovidov
7596402c98
Searching for more variants of clang-tidy
2020-03-09 08:27:59 +03:00
Alexey Milovidov
1ab05b23a1
Don't run clang-tidy when compiling with gcc (it will be confused with gcc's options)
2020-03-09 07:04:17 +03:00
Alexey Milovidov
de67bd78bd
Added some clang-tidy checks
2020-03-08 23:17:49 +03:00
tavplubix
3b770d8b1b
Fix stateless tests with msan ( #9531 )
...
* try run tests
* try fix build
* try enable other libraries
* suppress some msan warnings
* Update msan_suppressions.txt
* Update msan_suppressions.txt
* use function names in suppressions list
* update submodule
2020-03-08 12:32:22 +03:00
proller
6b2d6e9392
Build fixes ( #9381 )
...
* Revert "Revert "Build fixes""
This reverts commit 355ff00c2e
.
* zlib link fix
2020-02-28 03:07:42 +03:00
Andrew Onyshchuk
d15ff3e8d5
Parquet improvements
...
- Read only required columns
- Avoid reading the entire file to RAM when possible
- Allow using internal parquet on darwin
2020-02-23 00:04:58 -06:00
Ivan Lezhankin
102dad0ca0
Merge branch 'master' into arcadia
2020-02-17 17:37:10 +03:00
Ivan Lezhankin
39ea079034
More clean-up
2020-02-17 17:27:09 +03:00
alexey-milovidov
355ff00c2e
Revert "Build fixes"
2020-02-16 11:48:01 +03:00
Ivan Lezhankin
4cedd4619d
Code clean-up
2020-02-16 11:04:03 +03:00
alexey-milovidov
ace75296df
Merge pull request #8435 from levysh/add-grpc-contrib
...
Add grpc contrib
2020-02-16 09:27:34 +03:00
Ivan Lezhankin
2d44fa59b5
libs/ → base/
2020-02-14 17:48:30 +03:00
proller
4c3b8649e3
Merge remote-tracking branch 'upstream/master' into fix27
2020-02-12 13:59:14 +03:00
Andrew Onyshchuk
e6a536618e
Allow bundled libgsasl on Mac
2020-02-04 19:38:00 -06:00
Andrew Onyshchuk
9de5dffb5c
Upgrade librdkafka to v1.3.0
...
Allow bundled librdkafka on Mac
2020-02-04 16:12:24 -06:00
proller
bce3ec2a29
Revert "Revert "Build fixes""
...
This reverts commit 9e0b40bf09
.
2020-02-03 19:46:17 +03:00
alexey-milovidov
9e0b40bf09
Revert "Build fixes"
2020-02-02 23:21:49 +03:00
levysh
9928b0bbb2
Merge branch 'master' into add-grpc-contrib
2020-02-02 14:47:16 +03:00
proller
a705c2ff3a
Fix zlibstatic problem
2020-01-30 18:10:01 +03:00
proller
936c357e05
Merge remote-tracking branch 'upstream/master' into fix27
2020-01-27 17:54:43 +03:00
proller
58412e6aeb
Dont change linker on freebsd
2020-01-24 02:04:22 +03:00
Alexey Milovidov
680da3d7ed
Merge remote-tracking branch 'origin/master' into oandrew-avro
2020-01-23 22:08:08 +03:00
Alexey Milovidov
59d9bfa71e
Enable Avro with Memory Sanitizer
2020-01-23 21:47:17 +03:00
Ivan
b80e3dcd46
Refactoring of replxx ( #8748 )
2020-01-23 11:18:19 +03:00
proller
394714bca9
Fix H3_INCLUDE_DIR find
2020-01-20 19:59:28 +03:00
Alexey Milovidov
51d0d7691c
Fixed "unbundled" build
2020-01-19 20:08:37 +03:00
Alexey Milovidov
05048bf0c1
Fixed "unbundled" build
2020-01-19 20:08:15 +03:00
alexey-milovidov
901009d9b0
Merge branch 'master' into oandrew-avro
2020-01-19 03:37:29 +03:00
Alexey Milovidov
4dd7bb7c50
Fixed configuration of replxx
2020-01-19 03:18:25 +03:00
Alexey Milovidov
76e04b9843
Merge branch 'avro' of https://github.com/oandrew/ClickHouse into oandrew-avro
2020-01-18 21:23:55 +03:00
alexey-milovidov
2ba89d169e
Merge branch 'master' into readline-to-replxx-docs-and-corrections
2020-01-18 20:58:24 +03:00
alexey-milovidov
86a062110d
Merge pull request #8704 from kreuzerkrieg/MoreGCCWarnings
...
Enable -Wmissing-include-dirs for GCC
2020-01-18 20:12:56 +03:00
Alexey Milovidov
c0a5c664a9
Replace readline to replxx: docs and corrections
2020-01-18 18:44:08 +03:00
Alexey Milovidov
f7efa5e2c7
Merge branch 'replxx' of https://github.com/abyss7/ClickHouse into abyss7-replxx
2020-01-18 17:00:59 +03:00
kreuzerkrieg
0bf3ea4247
Enable -Wmissing-include-dirs for GCC
2020-01-18 10:46:27 +02:00
proller
3e817e5daa
fix
2020-01-13 13:24:35 +03:00
proller
21ae7efa17
try fix
2020-01-13 12:55:57 +03:00
alexey-milovidov
f051844eb7
Merge branch 'master' into replxx
2020-01-11 19:59:33 +03:00
Alexey Milovidov
83869b78ca
Merge branch 'master' into base64-update
2020-01-11 14:03:18 +03:00
Andrew Onyshchuk
4c13317fba
refactor avro cmake
2020-01-10 16:47:41 -06:00
Alexey Milovidov
6dd0a19879
Fixed error #8604
2020-01-10 19:36:36 +03:00
alexey-milovidov
0a3a9a61e4
Merge pull request #8604 from abyss7/add-warning-macro
...
Add CMake macro add_warning to check if compiler supports warning
2020-01-10 19:22:25 +03:00
Ivan Lezhankin
8eb0cd82fe
Add CMake macro add_warning to check if compiler supports warning
2020-01-10 13:25:14 +03:00
Andrew Onyshchuk
e96b3059c0
Refactor Avro CMake
2020-01-10 00:03:32 -06:00
meo
1de3261ec4
Catalina support
...
<filesystem> support was only introduced in Mac OS 10.15: minimum version must be raised to compile on Catalina
2020-01-10 00:53:07 +01:00
levysh
0b0fff8dc4
Merge branch 'master' into add-grpc-contrib
2020-01-09 20:11:23 +03:00
Ivan Lezhankin
5950f6c081
Merge remote-tracking branch 'upstream/master' into replxx
2020-01-09 19:21:04 +03:00
Andrew Onyshchuk
7320447f92
Add Avro formats
...
Add Avro file input/output formats
Add AvroConfluent input format (for Kafka)
2020-01-08 03:18:00 -06:00
Alexey Milovidov
31e4dc0e08
Disable ICU on non-Linux systems #8530
2020-01-05 23:43:14 +03:00
Ivan
835be7d47c
Proper ASM files generation for darwin ( #8297 )
2020-01-02 03:28:40 +03:00
Aleksei Levushkin
13643d825b
added PROTOBUF_GENERATE_GRPC_CPP for generating grpc proto
2019-12-29 14:40:55 +03:00
Alexey Milovidov
c92e7e742c
Fixed error
2019-12-28 06:07:02 +03:00
Ivan Lezhankin
cb6fcee307
Remove local fixes
2019-12-27 16:17:36 +03:00
Ivan Lezhankin
bf22e12e4e
Initial replacement readline → replxx
2019-12-27 16:17:36 +03:00
Ivan Lezhankin
1268cddc61
Temporary build fix
2019-12-27 16:17:36 +03:00
Ivan Lezhankin
61c73d04f0
Improve CMakeLists.txt
2019-12-27 16:17:36 +03:00
Ivan Lezhankin
66517796ee
Import replxx into contrib
2019-12-27 16:17:36 +03:00
maxulan
031dbe465d
Merge branch 'master' into parquet_list_reading_fix
2019-12-23 10:01:41 +03:00
Maxim Ulanovskiy
e9021f6377
flatbuffers lib downloading replaced with contrib/flatbuffers
2019-12-23 09:51:35 +03:00
Alexey Milovidov
4f7f5ecad6
Fixed "unbundled" build
2019-12-22 12:31:29 +03:00
Alexey Milovidov
5443d4a998
Merge branch 'master' into gcc-libcxx
2019-12-20 21:30:30 +03:00
alexey-milovidov
c2bde1f4eb
Merge pull request #8321 from ClickHouse/libc-headers
...
Using libc-headers for cxx targets
2019-12-20 20:59:23 +03:00
Alexey Milovidov
8f5e41ddfc
Using libc-headers for cxx targets
2019-12-20 18:48:01 +03:00
alexey-milovidov
1b528ab2f1
Merge pull request #5773 from ClickHouse/libc-headers
...
Imported libc headers to contrib.
2019-12-20 18:14:19 +03:00
proller
521e2e709e
Build fixes. Arm, minimal build
2019-12-20 17:46:00 +03:00
Alexey Milovidov
1444b18e1c
Fixed AArch64 build
2019-12-20 15:35:41 +03:00
alexey-milovidov
b864bc49b9
Merge pull request #8310 from ClickHouse/remove-tcmalloc
...
Remove support for tcmalloc
2019-12-20 05:04:19 +03:00
Alexey Milovidov
687a8bf43b
Using libc includes from custom directory
2019-12-20 04:24:25 +03:00
Alexey Milovidov
272b7b4471
Using libc++ even with gcc
2019-12-20 03:06:12 +03:00
Alexey Milovidov
6061e04b75
Fixed comment
2019-12-20 03:01:51 +03:00
Alexey Milovidov
0d089700fa
Remove support for tcmalloc
2019-12-20 02:56:40 +03:00
Alexey Milovidov
814690e26f
Fixed selection of targets
2019-12-19 19:49:32 +03:00
Alexey Milovidov
70a365f2d3
Added missing library
2019-12-19 03:23:16 +03:00
Alexey Milovidov
db853247ed
Disabled LLVM under UBSan (it should be already disabled from sanitize.cmake but does not work)
2019-12-19 00:37:17 +03:00
Alexey Milovidov
701a9a8143
Fixed "unbundled" build
2019-12-18 22:50:12 +03:00
Alexey Milovidov
3a02b1093e
Fixed error
2019-12-18 19:15:03 +03:00
Alexey Milovidov
1d0854c7af
Using less number of LLVM libraries
2019-12-18 19:08:11 +03:00
Alexey Milovidov
2f17bf2833
Fixed aarch64 build in CI
2019-12-18 18:36:44 +03:00
Alexey Milovidov
823c120776
Fixed "splitted" build in CI
2019-12-18 18:34:02 +03:00
Alexey Milovidov
a7ef9e911a
Fixed UBSan check in CI
2019-12-18 18:30:23 +03:00
Alexey Milovidov
cdc3a78e2f
Fixed PVS Studio CI check
2019-12-18 18:26:27 +03:00
Alexey Milovidov
0896450230
Updated LLVM search script
2019-12-18 03:13:45 +03:00
Alexey Milovidov
c8e19f8bc8
Enable ICU for build with Memory Sanitizer
2019-12-15 20:53:16 +03:00
Alexey Milovidov
f97a542132
Fixed bug in README files for cross build
2019-12-15 09:36:43 +03:00
Alexey Milovidov
47d9209ebb
Merge branch 'master' into libressl-to-openssl
2019-12-15 08:19:56 +03:00
Alexey Milovidov
7bba07d5f4
Added AARCH64 build for OpenSSL
2019-12-15 08:14:50 +03:00
Alexey Milovidov
09a0223f81
Preparation to build ICU from sources
2019-12-15 06:00:53 +03:00
Alexey Milovidov
c7cd1e8c20
Fixed CMakeLists
2019-12-15 01:43:08 +03:00
Alexey Milovidov
974d6f3bb0
Replaced libressl with openssl
2019-12-14 05:28:12 +03:00
alexey-milovidov
575208c6e2
Merge pull request #8182 from ClickHouse/aku/msan-exception
...
Suppress an msan false positive in exception handling.
2019-12-13 02:41:28 +03:00
Alexander Kuzmenkov
f0ed2bd233
Suppress an msan false positive in exception handling.
...
See https://github.com/google/sanitizers/issues/1155
2019-12-12 21:28:58 +03:00
alexey-milovidov
51ed10ed78
Merge pull request #8011 from Jokser/aws-s3-sdk-integration
...
AWS SDK S3 integration
2019-12-12 20:43:16 +03:00
Vladimir Chebotarev
a3fd3bfd15
Fixed linker searching logic.
2019-12-11 13:20:45 +03:00
Vladimir Chebotarev
3c053ec36a
Fixed a typo
2019-12-11 07:56:33 +03:00
alexey-milovidov
bbce99dd4c
Merge pull request #8115 from excitoon-favorites/enable_ld
...
Better linking
2019-12-10 23:15:20 +03:00
alexey-milovidov
c181fdc6a9
Update tools.cmake
2019-12-10 23:14:57 +03:00
alexey-milovidov
319428ca68
Merge pull request #7737 from amosbird/modernclient
...
Favor tinfo or bundled ncurses
2019-12-10 22:29:50 +03:00
Vladimir Chebotarev
d7b276551c
Better linking in both GCC and Clang.
2019-12-10 17:05:48 +03:00
Vladimir Chebotarev
f9fbf70c69
Enabled ld
for GCC.
2019-12-10 11:37:06 +03:00
alesapin
eb676b3c5d
Fix search for lld
2019-12-09 12:29:59 +03:00
Pavel Kovalenko
a9dfefd37f
AWS SDK integration rework.
2019-12-06 17:37:21 +03:00
Pavel Kovalenko
a9e2327ec0
AWS S3 SDK integration.
2019-12-03 19:23:24 +03:00
Amos Bird
dc390be385
Favor tinfo or bundled ncurses
2019-11-12 22:37:33 +08:00
alexey-milovidov
15c4a19bb1
Merge pull request #7585 from ernestp/macos_catalina_2019_11_01
...
Fixed compile errors on macOS Catalina
2019-11-02 15:46:17 +03:00
proller
6a573b4092
Allow to use mysql format without ssl - try2 with mysql interface split ( #7524 )
...
* Allow use mysql format without ssl
* fix
* fix
* fix
* Also disable poco's optional libraries
* clean
* fix
* fix
* Requested changes
* clean
* Requested fixes
* Update MySQLHandler.cpp
2019-11-02 13:20:46 +03:00
alexey-milovidov
fd104a1f9a
Merge pull request #7570 from ClickHouse/fix-cross-arm
...
Fix cross-arm build
2019-11-02 00:55:19 +03:00
Ernest Poletaev
de1e5d0e53
Fixed compile errors on macOS Catalina
2019-11-01 23:33:43 +07:00
Ivan Lezhankin
ad76cd74e6
Cache AR and RANLIB paths
2019-11-01 18:18:57 +03:00
Ivan
be75b8d16e
Update toolchain for ASM language
2019-11-01 16:14:15 +03:00
Ivan Lezhankin
473a60f741
Fix toolchain file
2019-11-01 14:28:39 +03:00
proller
0006f2a370
Fix build without submodules ( #7295 )
...
* Build fixes
* fix
* Fix
* fix
* Fix install(export..
* Freebsd fixes
* Freebsd fixes
* Fix warning
* fix
* More PRIVATE linking
* Fix review
* Timmy
* Timmy
* fix
* Try fix jemalloc link
* style
2019-10-30 23:34:06 +03:00
Ivan
4f2f5cca84
Add support for cross-compiling to the CPU architecture AARCH64 ( #7370 )
2019-10-30 10:01:53 +03:00
Amos Bird
82d0dfa629
Better add_globs
2019-10-22 15:09:49 +08:00
Amos Bird
b0d4baccc8
Enable musl and jemalloc for arm.
...
Can generate better arm packages.
2019-10-14 00:06:54 +08:00
proller
594c535bd4
Build fixes ( #7063 )
...
* Build fixes
* fix
* Fix
* fix
* Fix install(export..
* Freebsd fixes
* Freebsd fixes
* Fix warning
* fix
* More PRIVATE linking
* Fix review
* Timmy
* fix
* fix
2019-10-05 22:25:31 +03:00
Ivan
381947509a
Fix build for Darwin ( #7149 )
...
* Disable some contribs for cross-compilation
* Fix clang-8-darwin build
* Also fix docs
* Add diagnostics
* Check cross-compilation in each file individually.
* Disable warning for clang < 9
2019-10-02 17:35:07 +03:00
Amos Bird
dbc352fdf9
glibc 2.29 compatibility
2019-09-30 12:28:50 +08:00
Ivan
8bce0fa9cb
Disable some contribs for cross-compilation ( #7101 )
2019-09-25 21:51:09 +03:00
Alexey Milovidov
ff07ffbbae
Merge branch 'merging_redis' of https://github.com/CurtizJ/ClickHouse into CurtizJ-merging_redis
2019-09-25 02:27:05 +03:00
Alexander Kuzmenkov
6e32553e01
Add a comment about MemorySanitizer options.
2019-09-24 22:00:47 +03:00
Alexey Milovidov
981e3e6ef7
Fixed build with CMake 3.10.
2019-09-24 03:22:05 +03:00
alexey-milovidov
2f195ddb03
Merge pull request #7028 from abyss7/issue-6459
...
Implement cross-compilation support Linux → Darwin
2019-09-24 02:20:17 +03:00
Alexander Kuzmenkov
8ca6d6ed5d
Prepare for MemorySanitizer build in CI.
...
This is a preparatory commit just to get the msan build running in some
shape. It disables many external libraries that are not yet tested.
2019-09-23 21:11:28 +03:00
Ivan Lezhankin
ce2fb6d3d1
Fix build
2019-09-23 17:46:01 +03:00
Ivan Lezhankin
4b143c3e0f
Merge remote-tracking branch 'upstream/master' into issue-6459
2019-09-23 16:07:19 +03:00
alexey-milovidov
b0dd36db7c
Update sanitize.cmake
2019-09-23 00:22:22 +03:00
alexey-milovidov
c5f9b4ad0a
Update sanitize.cmake
2019-09-23 00:21:41 +03:00
Eldar Zaitov
b174833bdf
Initial fuzzing support with libfuzzer
2019-09-22 13:34:09 +03:00
Ivan Lezhankin
9e46118edd
Merge remote-tracking branch 'upstream/master' into issue-6459
2019-09-20 21:25:55 +03:00
CurtizJ
79a08ef8ea
Merge remote-tracking branch 'upstream/master' into merging_redis
2019-09-18 12:58:22 +03:00
Azat Khuzhin
780341060f
Replace libsparsehash with sparsehash-c11
...
- use sparsehash-c11 over libsparsehash
- fix typos in find_sparsehash and users of the vars (s/SPARCE/SPARSE/)
- drop libsparsehash-dev from docker images (but keep for unbunlded build)
- use ::google over GOOGLE_NAMESPACE
2019-09-18 00:08:20 +03:00
Ivan Lezhankin
8c356a3830
WIP
2019-09-15 18:20:31 +03:00
Ivan Lezhankin
01fdb802d4
Useful changes
2019-09-15 13:35:12 +03:00
Ivan Lezhankin
5b60053ef7
[WIP]
2019-09-13 17:56:27 +03:00
Ivan Lezhankin
e692a88196
CMake now works
...
Example: -DCMAKE_SYSTEM_NAME=Darwin -DSDK_PATH=${HOME}/stuff/MacOSX10.12.sdk -DLINKER_NAME=${HOME}/.local/bin/ld64
2019-09-13 17:56:27 +03:00
Ivan Lezhankin
f01706ad11
Refactor some cmake files
2019-09-13 17:56:26 +03:00
Ivan Lezhankin
ac47427b76
cmake/test_cpu → cmake/cpu_features
2019-09-13 17:54:22 +03:00
Ivan Lezhankin
393bf8a804
cmake/find_* → cmake/find/*
2019-09-13 17:54:22 +03:00
Amos Bird
bf799fef92
Build fix
2019-09-11 10:53:56 +08:00
proller
54a5b801b7
Build fixes (Orc, ...) ( #6835 )
...
* Fix build
* cmake: fix cpuinfo
* Fix includes after processors merge
Conflicts:
dbms/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp
dbms/src/Processors/Formats/Impl/ParquetBlockOutputFormat.cpp
dbms/src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp
dbms/src/Processors/Formats/Impl/ProtobufRowOutputFormat.cpp
* Fix build in gcc8
* fix test link
* fix test link
* Fix test link
* link fix
* Fix includes after processors merge 2
Conflicts:
dbms/src/Processors/Formats/Impl/ParquetBlockInputFormat.cpp
* Fix includes after processors merge 3
* link fix
* Fix likely/unlikely conflict with cython
* Fix conflict with protobuf/stubs/atomicops.h
* remove unlikely.h
* Fix macos build (do not use timer_t)
* wip
* Fix build (orc, ...)
* Missing files
* Try fix
* fix hdfs
* Fix llvm 7.1 find
2019-09-10 00:40:40 +03:00
CurtizJ
3b3657ff1e
Merge branch 'add-ext-dict-redis' of https://github.com/comunodi/ClickHouse into merging_redis
2019-09-09 13:51:50 +03:00
Ivan
cd5c0fc9ac
Fix build issues ( #6744 )
...
* libcxxabi uses exception handling library as public
* Don't set -stdlib for internal libc++ - it poisons the checks.
* Enable capnproto in unbundled build back
2019-08-30 20:40:27 +03:00
alexey-milovidov
358ad13930
Merge pull request #6715 from yandex/remove-mimalloc
...
Remove mimalloc
2019-08-30 00:41:33 +03:00
Ivan Lezhankin
85afd61c01
Fix build with internal libcxx
2019-08-29 13:44:22 +03:00
Ivan
b4339f266d
Make a better build scheme ( #6500 )
...
* Fix shared build
* Major default libs refactor
* Fix build with gcc_eh
* Link all libraries as a big group.
* Use global interface library as a group
* Build capnproto using our cmake
* Use only internal libunwind
2019-08-28 23:49:37 +03:00
Alexey Milovidov
39d50b5144
Remove mimalloc
2019-08-28 22:01:52 +03:00
akonyaev
caf0d30a5f
ADQM-34 add orc input format
2019-08-21 17:19:47 +03:00
alex-zaitsev
1e6437e4ee
WIP: Fix MacOS build ( #6429 )
...
* Fix broken MacOS build
* Fix MacOS build
* Update ReadBufferFromFile.cpp
* Update WriteBufferFromFile.cpp
* Update Elf.h
* Update Elf.h
2019-08-21 03:35:41 +03:00
proller
d09c5c871b
Build fixes ( #6491 )
...
* Fix build
* cmake: fix cpuinfo
* Fix includes after processors merge
Conflicts:
dbms/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp
dbms/src/Processors/Formats/Impl/ParquetBlockOutputFormat.cpp
dbms/src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp
dbms/src/Processors/Formats/Impl/ProtobufRowOutputFormat.cpp
* Fix build in gcc8
* fix test link
* fix test link
* Fix test link
* link fix
* Fix includes after processors merge 2
Conflicts:
dbms/src/Processors/Formats/Impl/ParquetBlockInputFormat.cpp
* Fix includes after processors merge 3
* link fix
* Fix likely/unlikely conflict with cython
* Fix conflict with protobuf/stubs/atomicops.h
* remove unlikely.h
* Fix macos build (do not use timer_t)
2019-08-18 01:53:46 +03:00
Vitaly Baranov
75aa1d7858
Merge pull request #6320 from yandex/simdjson-sse42
...
Enabled SIMDJSON for SSE 4.2 with PCLMUL instruction set
2019-08-13 23:12:40 +03:00
alexey-milovidov
c8a810ef58
Merge branch 'master' into fix25
2019-08-10 01:21:54 +03:00
Alexey Milovidov
7e6b1333a1
Renamed Yandex CTO just in case
2019-08-10 00:58:17 +03:00
Vitaly Baranov
0154cdf13b
Remove checks for AVX2 from cmake lists which are no longer needed.
2019-08-07 17:08:15 +03:00
proller
274eb83602
fix
2019-08-05 10:52:41 +00:00
proller
4f9d870fca
Fix arm and freebsd build
2019-08-04 12:37:59 +00:00
alexey-milovidov
14671d6df8
Merge pull request #6254 from yandex/fastops
...
Integration with "FastOps" library. Added functions sigmoid and tanh.
2019-08-04 06:28:34 +03:00
proller
77bd2624ea
Build fixes ( #6016 )
...
* Fix building without submodules
* Fix more gcc9 warnings
* was wrong!
../dbms/src/IO/WriteBufferAIO.cpp:277:54: error: result of comparison 'ssize_t' (aka 'long') > 9223372036854775807 is always false [-Werror,-Wtautological-type-limit-compare]
if ((static_cast<ssize_t>(flush_buffer.offset()) > std::numeric_limits<off_t>::max()) ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* mimalloc off MI_OVERRIDE
* Fix freebsd build
* Fix shared build
* Fix build in gcc9
* Fix split build
* fix
* fix
* fix
* fix
* clean
* zstd
* Update CMakeLists.txt
* Update Defines.h
* Try fix -Wsign-compare
* Freebsd fix
* Add missing libs
* Fix double-conversion include for copy-headers
* Fix zlib link
* Fix includes for arcadia
* Fix includes for arcadia
* Fix includes for arcadia
* Freebsd fix
* Arcadia fixes
* Update QueryProfiler.cpp
* Freebsd fix
* clean
* 19.11: Fixes for arcadia porting (#6223 )
* fix glibc-compatibility
* M_LIBRARY fix
* wip
* Fix
* Fix arm build
* unwind fix
* Update CMakeLists.txt
2019-08-04 03:19:03 +03:00
Alexey Milovidov
36906a78b5
Fixed typo
2019-08-01 03:45:36 +03:00
Alexey Milovidov
b1c9fc0233
Using FastOps library
2019-08-01 03:29:32 +03:00
Mikhail Filimonov
333d60e3e2
disallow switching ENABLE_MONGODB separate from ENABLE_POCO_MONGODB
2019-07-19 17:34:17 +02:00
Ivan
2f68aa7207
Fix build with external libcxx ( #6010 )
...
* First attempt to fix build with external libcxx
* Fix build
2019-07-18 09:55:05 +03:00
Alexey Milovidov
0d37147377
Added fatal error in cmake
2019-07-15 22:21:37 +03:00
Alexey Milovidov
dfe178d653
Disable mimalloc, because we suspect it zeroes out random memory segments
2019-07-15 20:00:18 +03:00
Alexey Milovidov
6b9df067d8
Merge branch 'master' into libcxx-as-submodule
2019-07-03 22:34:58 +03:00
Nikita Lapkov
9641d058d0
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-07-01 21:11:26 +00:00
alexey-milovidov
feafcb21bd
Merge branch 'master' into h3-integration
2019-06-30 16:19:11 +03:00
Nikita Lapkov
2a131185b0
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-06-28 18:20:23 +00:00
proller
c8469ab4ba
Build fixes. no submodules ( #5792 )
2019-06-28 21:06:09 +03:00
Danila Kutenin
5cc91161e9
Comments
2019-06-28 00:44:21 +03:00
Danila Kutenin
407cf9a229
Comments
2019-06-28 00:43:50 +03:00
alexey-milovidov
ebaced1065
Update find_mimalloc.cmake
2019-06-27 21:16:15 +03:00
Danila Kutenin
e67431e455
Use mimalloc instead of lfallocator
2019-06-27 18:13:19 +03:00
Nikita Lapkov
92309eed3e
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-06-27 14:07:44 +00:00
Ivan Remen
30c7055d3b
Fix
2019-06-26 17:15:29 +03:00
Ivan Remen
b324a9333d
Set include path
2019-06-26 14:52:36 +03:00
Ivan Remen
f3c8ac2d3b
Merge remote-tracking branch 'main/master' into h3-integration
2019-06-25 11:23:53 +03:00
proller
6ec6ab0acc
[Temporary] Dont use llvm 8+ ( #5730 )
2019-06-25 00:28:10 +03:00
Ivan Remen
b439769aa7
Merge remote-tracking branch 'main/master' into h3-integration-fix
2019-06-20 13:53:17 +03:00
proller
3d8c8ee83c
Build fixes. Split config.h ( #5686 )
2019-06-20 12:12:49 +03:00
proller
fc7ae399c4
Use system rapidjson; Fix types for macos;
2019-06-14 13:28:30 +03:00
comunodi
5ea9bb228c
Merge branch 'master' into add-ext-dict-redis
2019-05-26 15:49:35 +03:00
favstovol
cec08ed148
Merge branch 'master' into add-ext-dict-cassandra
...
# Conflicts:
# .gitmodules
# contrib/CMakeLists.txt
# dbms/src/Common/config.h.in
2019-05-22 21:43:13 +03:00
proller
d6a90b6079
Build fixes ( #5368 )
2019-05-22 13:16:16 +03:00
Danila Kutenin
cfdba938ce
Disable LfAlloc for a while to think of a better fix for mmap count
2019-05-21 19:54:09 +03:00
Vitaly Baranov
8ab4e4dcfe
Use rapidjson when AVX2 instructions are not available.
2019-05-16 20:40:24 +03:00
proller
51ca4cbaa4
Build fixes ( #5278 )
2019-05-15 20:19:39 +03:00
Nikita Lapkov
9cd108b6d6
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-05-12 13:40:17 +00:00
alexey-milovidov
4853b06f95
Merge pull request #5223 from proller/fix26
...
Build fixes
2019-05-09 11:38:20 +03:00
proller
5a6ccab060
Fix
2019-05-08 17:49:53 +03:00
Vitaly Baranov
7ace113ac0
Use custom cmake file for simdjson and fix build
2019-05-08 16:20:25 +03:00
proller
bd76d27305
Apple build fix
2019-05-08 10:40:27 +03:00
proller
c6d0e095e0
Prepare cmake for new contrib/poco ( #5062 )
2019-04-25 00:33:04 +03:00
proller
29c3433322
Freebsd build fixes ( #5083 )
2019-04-23 15:51:27 +03:00
alexey-milovidov
d1219f1b43
Merge branch 'master' into add-ext-dict-cassandra
2019-04-22 22:23:11 +03:00
Nikita Lapkov
954dbdc41e
do not use libunwind with shared libraries
2019-04-21 16:28:54 +00:00
Nikita Lapkov
58af14d151
ignore our libunwind in unbundled build
2019-04-21 11:31:16 +00:00
Nikita Lapkov
26c4df9d9c
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-04-21 09:24:48 +00:00
proller
6ccb720659
Fix freebsd build ( #5009 )
2019-04-16 17:12:02 +03:00
Danila Kutenin
18a6b3123f
Randomization in lfalloc
2019-04-13 17:45:01 +03:00
Danila Kutenin
622b2c8472
Enable LFAlloc for MarkCache and UncompressedCache
2019-04-13 15:07:43 +03:00
Danila Kutenin
37c994b0dd
Better cmake
2019-04-12 17:30:54 +03:00
Danila Kutenin
7f230cc134
LFAlloc added to clickhouse
2019-04-12 17:10:42 +03:00
Alexey Milovidov
a9b47a62ba
Merge branch 'update_libunwind' of https://github.com/laplab/ClickHouse into laplab-update_libunwind
2019-04-11 22:36:36 +03:00
proller
c78176603c
clickhouse-test - prepare for use other than 'test' database ( #4961 )
2019-04-11 20:20:36 +03:00
Oleg Favstov
60c9cc574f
Merge branch 'master' into add-ext-dict-cassandra
...
# Conflicts:
# .gitmodules
# CMakeLists.txt
# contrib/CMakeLists.txt
# dbms/src/Common/config.h.in
2019-04-06 17:54:07 +03:00
FawnD2
dfed1579ac
Merge branch 'master' into add-ext-dict-redis
...
# Conflicts:
# ci/jobs/quick-build/run.sh
2019-03-30 16:42:42 +03:00
Ivan Remen
2fb5addc40
H3 library integration
2019-03-26 11:59:48 +03:00
proller
1584fd4367
Fix hyperscan library find and use ( #4798 )
2019-03-26 00:31:00 +03:00
Danila Kutenin
f8001b41ba
Hyperscan multi regular expressions search
2019-03-23 22:40:16 +03:00
proller
d6d83d4a5c
Allow build without ssl ( #4525 ) ( #4750 )
2019-03-22 14:18:24 +03:00
FawnD2
1e014060c9
Merge branch 'master' into add-ext-dict-redis
...
# Conflicts:
# dbms/tests/external_dictionaries/generate_and_test.py
# dbms/tests/external_dictionaries/run.sh
2019-03-16 17:14:27 +03:00
proller
8c70de3bc7
Build fixes (freebsd) ( #4696 )
2019-03-14 23:52:10 +03:00
Alexey Milovidov
312148a40d
Merge branch 'master' into libcxx-as-submodule
2019-03-14 06:30:00 +03:00
Silviu Caragea
b3c674f893
Merge branch 'master' into disable_features
2019-03-13 09:51:20 +02:00
Silviu Caragea
e92c94ed78
Add support for disabling brotli, parquet and protobuf
2019-03-13 09:37:16 +02:00
Alexey Milovidov
37b5e49508
Merge branch 'master' into libcxx-as-submodule
2019-03-12 20:05:56 +03:00
proller
fb5d339335
Fix build (freebsd + clang + asan) ( #4656 )
2019-03-12 12:55:43 +03:00
Alexey Milovidov
93a6571b09
Addition to prev. revision
2019-03-11 04:13:43 +03:00
Alexey Milovidov
880cbbb632
Merge branch 'master' into libcxx-as-submodule
2019-03-11 04:03:13 +03:00
alexey-milovidov
030a4eb3c6
Merge branch 'master' into fix-glibc-compatibility-2
2019-03-10 19:31:18 +03:00
Vitaly Baranov
36add97932
Fix print_include_directories.cmake
2019-03-04 22:47:34 +03:00
Alex Zatelepin
a4e56478ca
Update use_libcxx.cmake
2019-02-28 19:18:36 +03:00
proller
211ec436c5
Build fixes ( #4516 )
2019-02-27 15:52:24 +03:00
Георгий Кондратьев
b94de32423
Support xxHash with external lz4
...
xxhash.h does not exist in external lz4 because it is an implementation detail
and its symbols are namespaced with XXH_NAMESPACE macro. When lz4 is external,
xxHash has to be external too, and the dependents have to link to it.
This find_xxhash.cmake is based on find_lz4.cmake.
2019-02-25 07:14:37 +00:00
proller
00e50f1502
Build fixes ( #4471 )
2019-02-21 23:11:21 +03:00
proller
e20c77e4c6
Add parquet support. Fixes, tests, ...
2019-02-19 23:51:44 +03:00
proller
88076bb8c9
Merge commit 'bf09c2047a47b74f089d701b9b1e4fcbe8955a7f' into fix23
2019-02-19 23:46:37 +03:00
proller
ba97218cab
Build fixes (freebsd)
2019-02-19 13:29:44 +03:00
proller
263e69e861
Build fixes (FreeBSD port) ( #4397 )
2019-02-15 14:46:07 +03:00
proller
f5560660be
Fix brotli (unbundled, missing, ...)
2019-02-13 18:35:11 +03:00
comunodi
b50625557b
Merge remote-tracking branch 'origin/master' into add-ext-dict-redis
2019-02-12 12:35:29 +03:00
comunodi
6e28c22876
Add tests
2019-02-12 12:23:22 +03:00
Mikhail
763b3dcf73
Merge branch 'master' into brotli
2019-02-11 23:44:39 +03:00
proller
a95d2d153d
Build ARM fix ( #4306 )
...
* Build ARM fix
* Fix warning: declaration shadows a local variable
* Add info about SPLIT_SHARED_LIBRARIES
* Fix cpuid on ARM
* release: better pbuilder autoinstall
2019-02-09 01:09:32 +03:00
proller
847b875760
Update find_brotli.cmake
2019-02-03 17:14:30 +03:00
Mike F
723d3b3a99
Merge branch 'master' into brotli
2019-02-02 20:14:29 +03:00
alexey-milovidov
d6a8244043
Update find_pdqsort.cmake
2019-02-02 17:57:22 +03:00
alesapin
708e06837a
Fix brotli build
2019-02-02 17:17:51 +03:00
Evgenii Pravda
67d26f6528
Use pdqsort instead of std::sort in ORDER BY
2019-02-02 16:52:20 +03:00
alesapin
1a3cef8216
Add brotli to contrib
2019-02-02 16:33:50 +03:00
proller
c7cb8d2db5
Freebsd fixes ( #4225 )
...
* CLICKHOUSE-4109 mlock clickhouse
* wip
* Fix
* wip
* fix
* fix
* better place
* wip
* clean
* tidy
* fix
* Freebsd fix
* Fix compile on ARM
* Freebsd fixes
* Simpler test
* Fuzzy test: dont skip already fixed functions
2019-02-02 14:09:22 +03:00
proller
3905f27bb8
Fix
2019-01-31 20:13:42 +03:00
proller
157a0eb5d3
Fix compile in directories with spaces
2019-01-31 19:48:37 +03:00
proller
366e9d40d4
Fix
2019-01-28 19:02:33 +03:00
proller
2eee2d97df
Update contrib/libmetrohash
2019-01-28 17:00:50 +03:00
proller
a874945e0e
Use cpuinfo if cpuid not available
2019-01-28 16:16:08 +03:00
Oleg Favstov
8e12eedbb3
Initial commit
2019-01-27 19:51:05 +03:00
comunodi
cc5678f6cc
Merge branch 'master' of https://github.com/yandex/ClickHouse into add-ext-dict-redis
2019-01-27 19:22:51 +03:00
proller
48fa225c57
Allow use gtest sources from system
2019-01-25 23:12:15 +03:00
proller
5328251ff1
Fix build without protobuf, gtest, cppkafka ( #4152 )
2019-01-25 23:02:03 +03:00
Alexey Milovidov
4bb487763a
Make it work #4126
2019-01-25 15:45:35 +03:00
Danila Kutenin
784c3e5fda
fix of ppc64le definitions
2019-01-23 18:24:14 +03:00
Danila Kutenin
7f4b0f3c04
added powerpc build support
2019-01-23 17:18:19 +03:00
Alexey Milovidov
68af2eaf00
Merge remote-tracking branch 'origin/master' into fix-glibc-compatibility-2
2019-01-20 00:37:42 +03:00
Alexey Milovidov
37f8d20181
Fix glibc compatibility, part 2
2019-01-19 20:14:57 +03:00
proller
3feb4efdf2
Disable rdkafka in macos
2019-01-19 19:48:54 +03:00
comunodi
8472b26f07
Fix code highlighting
2019-01-16 04:05:40 +03:00
comunodi
51384fd691
Add basic functionality for dict
2019-01-16 01:08:56 +03:00
Ivan Lezhankin
15eee83be7
Use internal cppkafka in unbundled configuration
2019-01-14 20:58:52 +03:00
Ivan Lezhankin
9c35598373
Add cppkafka to contrib
2019-01-14 14:15:57 +03:00
proller
497b6ec2ad
Better compile with low memory; Fix macos build, add utils/build/build_debian_unbundled_split.sh test script ( #4030 )
2019-01-11 15:40:19 +03:00
Георгий Кондратьев
afbcdf2f00
Link to libLLVM rather than to individual LLVM libs when USE_STATIC_LIBRARIES is off
...
The clickhouse program links to LLVM and to the clickhouse library, that also
links to LLVM. When the library is shared but LLVM is static, LLVM gets linked
into the program twice (once via the library and once directly), which causes
this error when running clickhouse:
: CommandLine Error: Option 'x86-use-base-pointer' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
A common LLVM installation provides static component libraries and a shared
libLLVM. Linking to libLLVM when libclickhouse is shared solves this issue.
2019-01-06 03:52:50 +00:00
Alexey Milovidov
9b901c50a3
Fixed error with libcxx build #3949
2018-12-29 02:42:39 +03:00
Alexey Milovidov
6d2206e25b
Preparations for MSan [#CLICKHOUSE-2]
2018-12-28 07:40:28 +03:00
Alexey Milovidov
bd9cd5c61b
Using libcxx as a submodule [#CLICKHOUSE-2]
2018-12-28 06:25:04 +03:00
Alexey Milovidov
130b427ff7
Using libcxx as a submodule [#CLICKHOUSE-2]
2018-12-28 06:24:03 +03:00
Alexey Milovidov
df42e26146
Merge branch 'master' into libcxx-as-submodule
2018-12-28 03:18:50 +03:00
proller
5016bb97da
Fix build
2018-12-27 21:21:06 +03:00
proller
1a0a879a51
Build fixes
2018-12-27 18:23:37 +03:00
Alexey Milovidov
6368daff63
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-23 22:25:53 +03:00
Alexey Milovidov
7b420297ed
Fixed "unbundled" build #3905
2018-12-23 22:25:40 +03:00
proller
bebaf9d861
Fix includes, Faster compile ( #3898 )
...
* Fix includes
* Faster compile
* WTFix
* Limit compile and linking jobs according to available memory
* Add comment
* fix
* Remove ALL from copy-headers target
* Freebsd fix
* Better
* cmake: split use libcxx
2018-12-23 17:19:11 +03:00
alesapin
6730f540a1
Fix path to search base64 library
2018-12-20 16:40:20 +03:00
proller
bf625b25c3
Fix build without submodules
2018-12-19 19:26:28 +03:00
proller
133b7240a3
Fix build without submodules
2018-12-19 19:16:46 +03:00
proller
b56dea9f84
Fix build without submodules
2018-12-19 18:37:55 +03:00
proller
c63ca042ba
Fix macos build ( #3861 )
2018-12-18 16:37:00 +03:00
alexey-milovidov
6d27777b19
Merge branch 'master' into ubsan-fixes-3
2018-12-14 20:52:54 +03:00
proller
32523d55ca
Fix icu link after second cmake run
2018-12-11 16:49:03 +03:00
Alexey Milovidov
2b9d9536ee
Allow to use libcxx from submodule [#CLICKHOUSE-2]
2018-12-08 06:48:17 +03:00
proller
7ce0d59648
Build fixes
2018-12-07 23:12:06 +03:00
alesapin
1341eb3f68
Disable hdfs if there are no submodules
2018-12-07 18:13:16 +03:00
alesapin
ac6ab9af74
Missed file
2018-12-07 17:27:04 +03:00
alesapin
21f8a86635
Merge branch 'chenxing-xc-master'
2018-12-07 17:13:11 +03:00
alesapin
80b49e4c0a
Add integration test, put dependent libs to contrib, slightly refine
...
code.
2018-12-07 14:41:24 +03:00
proller
61328a2c9b
ARM build fixes ( #3754 )
2018-12-05 16:41:29 +03:00
chenxing.xc
8256c19b29
address comments
2018-12-04 21:19:00 +08:00
chenxing.xc
b4ee9cf17b
address comments
2018-12-04 11:48:38 +08:00
alesapin
03ce4c5bc5
Merge branch 'master' into master
2018-12-03 13:02:34 +03:00
proller
dd2371e071
CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory ( #3653 )
...
* Split ComplexKeyCacheDictionary to faster compile (part2)
* Dictionaries as lib WIP
* wip
* clean
* Fix build with old capnp
* fix
* wip
* fixes
* fix
* clean
* clean
* clean
* wip
* wip
* wip
* flat
* wip
* cache
* clean
* wip
* faster
* fix style
* fixes
* clean
* clean
* Split CacheDictionary.cpp for faster compile
* fix
* fix
* Less memory usage while compiling
* missing file
* format
* Update registerDictionaries.h
* clean
2018-11-28 14:37:12 +03:00
proller
1ea31e0491
Fix icu link #3631 ( #3671 )
2018-11-27 18:34:21 +03:00
alexey-milovidov
e00ce0bb57
Every function in its own file, part 7 ( #3666 )
...
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Fixed build #3666
2018-11-26 19:20:40 +03:00
alexey-milovidov
507990d5f2
Merge branch 'master' into master
2018-11-23 23:41:38 +03:00
alexey-milovidov
af013285e9
Merge branch 'master' into base64_functions
2018-11-23 21:33:56 +03:00
proller
1d40c2c871
Better link and deps ( #3631 )
...
* try fix 1
* Better deps
* fix
* fix
* fix
* Update CMakeLists.txt
* Update CMakeLists.txt
* fix
* fix
* fix
* disable old
* Update find_odbc.cmake
2018-11-21 22:20:27 +03:00
chenxing.xc
76843c2dc0
hdfs read support
2018-11-19 16:17:09 +08:00
proller
160ffb2283
Build fixes (clang 7.0.0+) ( #3582 )
2018-11-16 15:22:51 +03:00
Alexandr Krasheninnikov
177a00f09a
Merge https://github.com/yandex/ClickHouse into base64_functions
2018-11-14 12:32:42 +03:00
proller
5678d1ed98
Build fixes ( #3545 )
...
* StorageSystemContributors clean
* Fix
* ARM fixes
* Fix arm compile
* fix
* Fix macos?
* Fix includes
* fix
* fix
* Try fix apple build part 1
* Fix identation
* Fix static libc++ in clang
* fix arm build
* better
* fix
* fix
* better check-include
2018-11-10 23:09:07 +03:00
Alexandr Krasheninnikov
6ab45d081c
Arch-based compilation
2018-11-02 22:06:05 +03:00
proller
713c44c3db
Build fixes ( #3466 )
2018-10-25 18:23:41 +03:00
proller
ff1598e972
Macos: set ENABLE_EMBEDDED_COMPILER=0 by default (because contrib/llvm temporary broken under macos) ( #3382 )
2018-10-16 12:30:51 +03:00
Alexandr Krasheninnikov
41281ad397
Make compilation on-demand
2018-10-11 19:25:17 +03:00
luc1ph3r
bf09c2047a
Parquet data format: update CMake configurations
2018-10-01 19:44:55 +03:00
luc1ph3r
f6cae6a5c3
Update submodules since parquet is a part of arrow
...
- f84dca4203
2018-09-30 22:02:40 +03:00
proller
ec11bef633
Build fixes ( #3181 )
2018-09-28 17:53:20 +03:00
proller
d752d5d62d
Prepare to new poco, build fixes ( #3072 )
...
* WIp
* fix
* fix
* test
* fix poco netssl find
* clean
* fixes
* wip
* wip
* new poco
* fixes
* Fixes
* wip
* clean
* clean
* clean
* clean
* Update HTTPHandlerFactory.h
2018-09-14 22:48:51 +03:00
Alex Bocharov
2633d573a2
Fix capnp builld dependencies order.
2018-09-07 13:57:31 -07:00
Alexey Milovidov
7b1d6df25f
Merge remote-tracking branch 'origin/master' into ubsan-fixes-3
2018-09-02 23:42:15 +03:00
Alexey Milovidov
198dd78100
Added -fno-sanitize-recover [#CLICKHOUSE-2]
2018-09-02 22:47:04 +03:00
Alexey Milovidov
5ff8b2da04
Added useful option with ASan [#CLICKHOUSE-2]
2018-09-02 22:44:34 +03:00
alexey-milovidov
8b3547444c
Update find_consistent-hashing.cmake
2018-08-30 22:10:08 +03:00
proller
de2b740db7
USE_INTERNAL_CONSISTENT_HASHING_LIBRARY
2018-08-30 22:07:24 +03:00
proller
c4f6bb1de0
Fix contrib/zlib build
2018-08-28 20:53:12 +03:00
proller
3acce3bff9
Build fix ( #2944 )
...
* Build fix
* Better sample build scripts
* zlib apple fix
* fix
* fix
* better so version
* SPLIT_SHARED -> LINK_MODE
* clean
2018-08-27 17:39:20 +03:00
proller
ea80ca8984
fix
2018-08-23 21:44:32 +03:00
proller
6622b6947a
wip
2018-08-22 02:57:59 +03:00
Alexey Milovidov
81dd290a42
Removed bad code #2864
2018-08-19 06:26:28 +03:00
proller
40c3b13f3b
Apple build fix
2018-08-16 22:34:57 +03:00
proller
a2343890dd
Build fixes ( #2864 )
...
* Try fix internal compiler headers path
* Build fixes
* fix
* wip
* clean
* Update arch.cmake
2018-08-14 16:31:26 +03:00
Alexey Milovidov
6369004cce
Compatibility for build with LLVM libraries from OS [#CLICKHOUSE-2]
2018-08-10 07:16:20 +03:00
Alexey Milovidov
71a093fa48
Removed obsolete variable [#CLICKHOUSE-2]
2018-08-09 21:18:29 +03:00
Alexey Milovidov
0e557b47fa
Better way to enable sanitizers in CMake [#CLICKHOUSE-2]
2018-08-08 07:14:53 +03:00
Alexey Milovidov
e523f9a2c8
Fixed names [#CLICKHOUSE-2]
2018-08-05 11:54:57 +03:00
Alexey Milovidov
be1a9dbac9
Using libressl #1983
2018-08-05 11:40:31 +03:00
Alexey Milovidov
f411ae3526
Addition to prev. revision #1789
2018-08-05 05:30:20 +03:00
Alexey Milovidov
600e682696
Little better #2789
2018-08-05 02:50:06 +03:00
Alexey Milovidov
1b1754e598
Fixed build #2794
2018-08-04 00:13:54 +03:00
Alexey Milovidov
05a64b4124
Removed unused and misleading code [#CLICKHOUSE-2]
2018-08-04 00:04:19 +03:00
Alexey Milovidov
54a9ff59cd
Addition to prev. revision #2789
2018-08-03 22:29:07 +03:00
Alexey Milovidov
0c233d668f
Removed useless file; preparations #2791
2018-08-03 21:47:44 +03:00
proller
010350a088
Build fixes ( #2794 )
...
* More information in 'Cannot read all data' errors
* Build fixes
* Apple version fix
* Fix
* clean
* New libs fixes
* Freebsd fixes
* macos fix
* Fix macos build
* fix
* fix
* Update CMakeLists.txt
* freebsd fix
* fix
* Update CMakeLists.txt
2018-08-03 19:39:04 +03:00
Alexey Milovidov
b614df8075
Fixed build [#CLICKHOUSE-2]
2018-08-03 19:35:57 +03:00
alexey-milovidov
e6be3df322
Added unixodbc as a submodule. ( #2789 )
...
* Using unixodbc as submodule [#CLICKHOUSE-3]
* Using unixodbc as submodule [#CLICKHOUSE-3]
* Using unixodbc as submodule [#CLICKHOUSE-3]
* Using unixodbc as submodule [#CLICKHOUSE-3]
* Using unixodbc as submodule [#CLICKHOUSE-3]
* Using unixodbc as submodule [#CLICKHOUSE-3]
* Using unixodbc as submodule [#CLICKHOUSE-3]
2018-08-02 11:18:15 +03:00
proller
6ad677d7d6
Cmake: Fix of fix lld-5.0 test
2018-07-23 21:20:54 +03:00
proller
13c2727aa4
Cmake: Fix lld-5.0 test
2018-07-23 20:59:27 +03:00
alexey-milovidov
3eb9237f3d
Update find_llvm.cmake
2018-07-21 03:11:56 +03:00
proller
f477942c66
Cmake: test for liblld
2018-07-21 03:11:56 +03:00
proller
0fde78584f
Freebsd: unbundled: do not use libcpuid from ports
2018-07-16 21:42:27 +03:00
proller
68a2caed9a
Cmake: Fix usage of USE_INTERNAL_CPUID_LIBRARY
2018-07-09 19:06:25 +03:00
proller
a31adcfdea
Allow use unbundled cpuid ( #2543 )
...
* Wait test server startup for 5s
* clean
* Allow use system libcpuid
* cpuid: move include/cpuid/ -> include/libcpuid/
* fix
2018-06-21 20:35:03 +03:00
proller
fbe7df73a2
CLICKHOUSE-3762 Build fixes ( #2488 )
...
CONTRIB-254
2018-06-19 21:09:09 +03:00
proller
a4e6f726e8
Build and test fixes
2018-06-19 00:13:11 +03:00
Георгий Кондратьев
5f26c3753f
Accept libtinfo for libtermcap
2018-06-16 03:42:47 +00:00
Alexey Milovidov
b68c68a414
Fixed build [#CLICKHOUSE-2]
2018-06-15 02:29:29 +03:00
proller
347579ce46
Cmake: mark system includes as SYSTEM ( #1449 )
...
* contrib: cctz as submodule. update cctz.
* pbuilder: add ubuntu bionic, devel
* Cmake: mark system includes as SYSTEM
* Build fixes
* fix
* Fix package without compiler
* Better
* fix
* fix
* fix
* Build fix
* fix
* fix
* fix
* Cmake: Add SYSTEM to includes for external libs
2018-06-06 23:21:58 +03:00
proller
5aa6a35161
Build fixes
2018-06-04 19:08:27 +03:00
Alexey Milovidov
440ece0ff2
Force submodules to be present (usability) [#CLICKHOUSE-3]
2018-06-03 19:57:52 +03:00
proller
ead9493741
Build fixes
2018-05-29 20:54:48 +03:00
Alexey Milovidov
d4b861df89
Disabled "embedded compiler" build option by default because it is fragile [#CLICKHOUSE-2]
2018-05-26 22:21:42 +03:00
proller
445f8800c3
Build fixes [WIP] ( #2374 )
2018-05-17 20:55:07 +03:00
Alexey Milovidov
28a4513ec3
Addition to prev. revision [#CLICKHOUSE-2]
2018-05-14 23:41:50 +03:00
proller
fb911f7cfa
Allow force disable libs: poco netssl poco mongodb, poco data odbc
2018-05-14 21:36:01 +03:00
proller
d81adc243d
ci fixes
2018-05-14 20:30:30 +03:00
proller
aa1552ebf2
Build fixes
2018-05-14 20:25:32 +03:00
proller
157e3339b5
Build fixes ( #2350 )
...
* Try fix travis
* fix
* Fix clickhouse-local shared-split link
* fix
* fix
* fix
* Build fixes
* Fix tinfo
* fix
* tinfo -> termcap
* termcap fix
* Better llvm version detect
* fix
2018-05-13 13:34:29 +03:00
Ivan Zhukov
d30b98073e
Link parquet and arrow libraries
2018-05-13 04:01:49 +03:00
Ivan Zhukov
dc5b074e24
Add cmake modules for libraries detection
2018-05-13 03:48:49 +03:00
proller
efe661b620
Build fixes ( #2347 )
...
* Try fix travis
* fix
* Fix clickhouse-local shared-split link
* fix
* fix
* fix
* Build fixes
* Fix tinfo
* fix
* tinfo -> termcap
2018-05-11 17:16:16 +03:00
Alexey Milovidov
ed70e468f9
Removed useless library [#CLICKHOUSE-2]
2018-05-11 03:56:31 +03:00
Alexey Milovidov
10eae3ff6a
Fixed include paths #2277
2018-05-10 00:12:15 +03:00
Alexey Milovidov
9ec6bb77ac
Fixed include paths #2277
2018-05-10 00:07:52 +03:00
Alexey Milovidov
1f2011ec14
Fixed error #2277
2018-05-09 23:38:03 +03:00
Alexey Milovidov
3a059b82d2
Merge branch 'master' of github.com:yandex/ClickHouse into pyos-llvm-jit
2018-05-09 23:34:20 +03:00
Alexey Milovidov
4d2989e42f
Added support for bundled LLVM libraries #2277
2018-05-09 23:31:03 +03:00
alexey-milovidov
1e9edac617
Merge pull request #2328 from proller/fix15
...
Build fixes (gcc8)
2018-05-09 07:25:18 +03:00
Alexey Milovidov
180fbead43
Removed questionable code from CMakeLists (and obsolete test) [#CLICKHOUSE-2]
2018-05-09 07:24:36 +03:00
proller
eb772b8001
gcc8 fixes (memset, uncaught_exception)
2018-05-08 22:44:54 +03:00
Alexey Milovidov
01bbf650f8
Build fixes #2277
2018-05-07 11:59:24 +03:00
Alexey Milovidov
94369e55d3
Fixed style a bit [#CLICKHOUSE-2]
2018-05-07 05:01:29 +03:00
Alexey Milovidov
956128a67a
Fixed style a bit [#CLICKHOUSE-2]
2018-05-07 05:01:11 +03:00
Alexey Milovidov
53f03a4909
Merge branch 'llvm-jit' of https://github.com/pyos/ClickHouse into pyos-llvm-jit
2018-05-06 12:22:42 +03:00
proller
634ba89f90
Build fixes
2018-05-05 15:34:17 +03:00
pyos
1f89849650
Remove dynamically-linked stdc++ from dependencies
2018-05-03 01:45:54 +03:00
pyos
a9e0b6de9f
Use system LLVMConfig.cmake with minor tweaks.
...
Should fix Travis build, finally.
2018-04-26 22:45:39 +03:00
proller
899c65af63
Build fixes ( #2275 )
...
* Change obsolete comment
* Simpler disable logging to file in conf.d (<log/> <errorlog/>)
* Arm64 packag fixes
* Build fixes
2018-04-24 22:59:48 -07:00
proller
c26b3bdef1
Fix split shared build; fix build without system odbc libs ( #2191 )
...
* Fix split shared build
* Fix build without system odbc libs
* Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h
* Fix build with libiodbc
2018-04-09 06:52:39 -07:00
proller
e933d1a1ee
Cmake fixes ( #2177 )
...
* cmake fixes
* Fix test server config
2018-04-06 05:07:40 -07:00
proller
ddbc5dea46
Reduce contrib/poco download size
2018-04-06 14:28:29 +03:00
proller
e58b0830e6
Prepare to new poco (PocoData renamed to PocoSQL) ( #2158 )
2018-04-03 04:48:40 -07:00
Alexey Milovidov
c2f40e8d41
Removed libzookeeper [#CLICKHOUSE-2]
2018-03-25 06:47:56 +03:00
proller
caf83a650e
libs: compiling with msvc2017 ( #1996 )
...
* Allow use bundled *ssl library
* fix
* Add submodule
* Fixes
* fix
* fixes
* fixes
* fix
* fix
* update poco
* fix warnings
* fix
* fix
* Build fixes
* Build fixes
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* add bat
* no zookeeper in dbms
* update boost
* fixes
* fixes
* fix
* fix
* fix
* fix
* try fix
* try fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Better
* fix
* dh verbose
* fix
* dh verbose
* fix
* clean
* Update LocalDate.h
* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
Alexey Milovidov
28b46655db
Added support for MSan [#CLICKHOUSE-2]
2018-03-03 23:37:12 +03:00
proller
a4be761f24
rename libboost/boost_1_65_0 -> contrib/boost ; make submodule ; update boost to 1.66.0 ( #1988 )
...
* rename libboost/boost_1_65_0 -> contrib/boost ; make submodule ; update boost to 1.66.0
* Update contrib/boost
* Update contrib/boost
* Add comments
* Fix
2018-03-02 23:01:53 +03:00
proller
f749405bf0
libressl as submodule ( #1983 )
...
* Allow use bundled *ssl library
* fix
* Add submodule
* Fixes
* fix
* fixes
* fixes
* fix
* fix
* update poco
* fix warnings
* fix
* fix
2018-03-02 03:17:25 +03:00
proller
cf9a33d04f
CLICKHOUSE-3600 Use correct lld version, cmake fixes ( #1968 )
...
* Allow build without rt library
* fix
* Cmake misc
* CLICKHOUSE-3600 Use correct lld version
* CLICKHOUSE-3600 Use correct lld version
* Use libllvm same version as clang
* fix
* Fix build with iodbc
* Fix iodbc build
* Fix gold find
* Fix empty lines
2018-02-26 21:34:22 +03:00
proller
6e4b4f1c7f
Build fixes
2018-01-21 23:17:33 +03:00
proller
c430af5fb8
Freebsd fixes
2018-01-21 02:23:19 +03:00
proller
ee8272561a
More builder fixes ( #1801 )
...
* fix boost
* Fix gtest
* fix gtest
* fix
* fix gtest
* fix
2018-01-20 05:35:16 +03:00
proller
9ea2521944
Fix macos build
2018-01-19 20:04:32 +03:00
proller
90399b851d
Cmake fixes related to #1786
2018-01-18 21:26:36 +03:00
proller
d8a92e80d6
Use double-conversion as submodule
2018-01-16 21:58:12 +03:00
proller
f6d8436f81
Enable travis ( #1772 )
...
* Try travis
* wip
* Try travis
* try
* try
* try
* try
* Revert "try"
This reverts commit 7ecd73c2eb
.
* try unbundled
* Try unbundled2
* Try undundled3
* Try unbundled4
* Try5
* try gcc7
* try6
* Try clang
* Try min
* try ccache
* try ccache stats
* no sudo
* try clang
* try ccache
* reset changelog
* Try fix clang
* try limit time
* Faster
* try timeout
* try faster
* Try
* try
* try
* try
* try
* try
* ccache
* Fix
* try test
* try test
* Fix try_listen in some vm's
* fix
* test
* fix
* cache timeout
* packages
* fix
* fix
* fix
* try emb compiler
* Try emb compiler
* Revert "try emb compiler"
This reverts commit 471713cabe
.
* try
* Revert "Try emb compiler"
This reverts commit 95e632abf6
.
* Skip long
* fix
* fix
* ccache
* fix
* debug
* Fxi test
* test fix
* tes fix
* Fix
* Fix link
* Fix odbc link
* Fxi test
* fix boost unbundled include
* fix test
* fix test
* test fix
* fix tests
* tests
* Test fail
2018-01-15 21:57:10 +03:00
proller
b026eb7797
Use submodule contrib/capnproto, remove include_directories ( #1746 )
...
* Add submodule contrib/capnproto
* Use contrib/capnproto, remove include_directories
* Fix include
* Clean
* Fix werror
* Update doc
* Fix
* Final fix
* Fxi
2018-01-11 21:39:52 +03:00
proller
d394fe52dc
Cmake: fix gtest find
2018-01-09 22:37:45 +03:00
Roman Tsisyk
5cea83a98d
Unbundle contrib/googletest
...
Allow to use system libgtest-dev/gtest-devel when -DUNBUNDLED is ON.
2018-01-09 20:15:31 +03:00
proller
90cc999de7
Better libc++ test
2017-12-29 21:20:03 +03:00
proller
70e35d0bcc
Build fixes ( #1718 )
...
* Embedded compiler fixes
* common lib not needed for clang and lld
* Fix pthread link
* Fix shared build
* Arm fixes 1
* arm fix
* Unused fix
* Build fixes
* release --pbuilder
* release pbuilder fix
* FORCE_PBUILDER_CREATE=1 release
* release: Auto use clang with sanitizers
* Fix build without poco data odbc lib. zlib arm build fix.
* Fix freebsd build and build without mysql
* Tests: Dont eat my cpu!
* Test me
2017-12-29 18:48:20 +03:00
proller
7a813002aa
Build fixes
2017-12-28 15:58:39 +03:00
Alexey Milovidov
7c2ce6b772
Miscellaneous [#CLICKHOUSE-2].
2017-12-22 04:56:29 +03:00
Marek Vavruša
fb1aa84973
Fixed clang build on macOS
...
- Make sure to use dynamic linking on macOS to avoid OpenSSL static linking bug
- Use -std=c++17 in CFLAGS for files in contrib
- Avoid bad support for thread_local on macOS with clang altogether
2017-12-21 00:46:50 +03:00
Amos Bird
b61fe07f76
Use NULL to check only realine without c++11
...
This check always fails on centos 6 with clang 6. c++ standard flag never gets passed into the compilation command.
2017-12-19 20:40:13 +03:00
proller
741117a390
Fix freebsd build. Little cmake fixes. ( #1634 )
2017-12-13 22:07:12 +03:00
proller
46fb94a3e4
Internal compiler: Use libclang-5.0 ( #1597 )
...
* Fix std::numeric_limits<__uint128_t>
* clean
* Better fix of std::numeric_limits<__uint128_t>
* Use clang 5.0 (release) as internal compiler
* message
* Fix werror
* fix
* fix
* fixing..
* note
* fix
* fix
* fix
* fix
* multi version
* fix
* fix
2017-12-08 11:28:08 +03:00
proller
269c2cea92
Cmake: clang + libc++ fixes
2017-11-27 23:14:16 +03:00
proller
3ff4d49972
Fix compiler warnings about unused options ( #1542 )
...
* Lib Parsers
* Update parseIdentifierOrStringLiteral.h
* Freebsd fix
* Try fix warnings
* fix
* libc++ test
* Core/Progress.h -> IO/Progress.h
* Core/FieldVisitors.h -> Common/FieldVisitors.h
* Fix link tests
* Fix freebsd link
* tests: sudo --non-interactive
2017-11-25 01:48:34 +03:00
proller
6ff1968196
Compile and likk optimize and fixes
2017-11-24 21:08:01 +03:00
proller
60c5fbdb03
Fix include path contrib/zlib-ng
2017-11-22 22:15:17 +03:00
proller
571f92c7f6
Freebsd: zlib: dont use optimizations (broken asm)
2017-11-22 17:03:09 +03:00
proller
4fcb081f5b
Zlib: remove unused test targets
2017-11-22 15:15:17 +03:00
proller
2778f35e48
Lib Parsers
2017-11-21 22:35:54 +03:00
proller
0915657fca
Zlib-ng: enable zlib compat mode (this fixes log compression) (#CLICKHOUSE-3447)
2017-11-21 19:18:18 +03:00
proller
aa3dd03389
Split lib dbms to dbms + dbms_common_io
2017-11-17 22:19:49 +03:00
proller
560606742c
Cmake: fix readline test
2017-11-17 00:26:20 +03:00
alexey-milovidov
9b18c6cb76
Embedded compiler ( #1484 )
...
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 15:58:40 +03:00
Sergey Elantsev
d3d2f83cde
fixing cmake termcap-NOTFOUND and openssl hardcoded paths
2017-11-05 00:22:18 +03:00
proller
8aafa3b042
Cmake: fix warnings ( #1437 )
...
* Cmake: fix warnings
* Tests: replace 127.0.0.1 -> localhost
2017-11-02 17:14:16 +03:00
Marek Vavruša
0d942a69c5
DataStreams: added Cap’n Proto format support
...
Cap'n Proto is a binary message format.
Like Protocol Buffers and Thrift (but unlike JSON or MessagePack), Cap'n Proto messages are strongly-typed and not self-describing. Due to this, it requires a schema setting to specify schema file and the root object. The schema is parsed on runtime and cached for each SQL statement.
2017-10-27 23:03:51 +03:00
proller
4ffbca2d8c
Fix warnings ( #1406 )
...
* Log query id in executeQuery; Better type mismatch error; change format in report tool
* Better log query_id
* fix message
* Use c++11 thread_local instaed of gcc's __thread
* lock mutex before notifying waiting thread in sync insertion into distributed [#CLICKHOUSE-3379]
* Cmake: fix build without downloaded submodules (#1379 )
* fix
* ZooKeeper: fixed stack smashing with tryGet()
The tryGet() operation creates a 1MB buffer on stack. This may or
may not work depending on the default stack size for threads,
whether the stack protector is enabled or not, recursion depth,
and the actual value size.
This is probably going to slow down some ZK operations, but I don't
see how else this could work reliably with the existing API.
* increased timeout for test_insertion_sync_fails_with_timeout
* Update CHANGELOG_RU.md
* Update ZooKeeper.cpp
* Fix warnings
* Fixes
* Dont strip debug info from asan, tsan and other builds except releases
* Fix asan error causd by test 00144
* Fix empty log message (#CLICKHOUSE-3378)
2017-10-25 21:39:10 +03:00
alexey-milovidov
8c327e9378
Revert "Make gperftools (libtcmalloc) as submodule and update. ( #1381 )"
...
This reverts commit fa2484ea90
.
2017-10-24 22:18:15 +03:00
proller
fa2484ea90
Make gperftools (libtcmalloc) as submodule and update. ( #1381 )
...
* Update tcmalloc and make submodule
* wip
* wip
* wip
* wip
* clean
* fix
* fix
* fix
* Fix tests
2017-10-24 22:11:42 +03:00
proller
8dd5c9dac2
Cmake: fix build without downloaded submodules ( #1379 )
2017-10-20 20:59:44 +03:00
proller
4c7850fdc2
Optional kafka ( #1355 )
...
* Zookeeper include fix
* Update submodule contrib/poco
* Fix zookeeper submodule ho-to-make doc
* Update zookeeper submodule
* Update submodule zookeeper
* Fix compile with external zookeeper
* Optional kafka
* fix
* Fix
* fix
2017-10-14 03:53:01 +03:00
proller
142da9550e
Fix zookeeper submodule and how-to-make doc ( #1354 )
...
* Zookeeper include fix
* Update submodule contrib/poco
* Fix zookeeper submodule ho-to-make doc
* Update zookeeper submodule
* Update submodule zookeeper
2017-10-14 01:53:57 +03:00
alexey-milovidov
9ccdb5420b
Merge branch 'master' into upstream-add-kafka
2017-10-13 23:52:42 +03:00
alexey-milovidov
18bb96a094
Update find_lz4.cmake
2017-10-13 22:26:06 +03:00
proller
4844c99d9d
zookeeper 3.4.10 as submodule ( #1304 )
...
* zookeeper 3.4.10 as submodule
* fix
* Apply patch
2017-10-13 22:02:41 +03:00
proller
64194c9b03
Updating poco and making submodule ( #1263 )
...
* Updating poco part 1: use submodule
* switch to tmp submodule
* update submodule
* wip
* wip
* wip
* wip
* wip
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* test
* wip
* wip
* wip
* wip
* wip
* wip
* Remove werror
* wip
* wip
* wip
* wip
* wip
* Block pipe signal
* Update poco
* Update and fix poco
* Better sigpipe handler
* Better block sigpipe
* Update BaseDaemon.cpp
2017-10-13 21:58:19 +03:00
proller
fd072b58bb
zstd, lz4 as submodule ( #1214 )
...
* Contrib: use zstd, lz4 as submodule
* fix shared build
* re-test me.
* wip
* Update CHANGELOG_RU.md
* Update CHANGELOG.md
* Update CHANGELOG_RU.md
* Whitespaces [#CLICKHOUSE-2].
* Implemented TODO [#CLICKHOUSE-2].
* Whitespaces [#CLICKHOUSE-2].
* Remove wrong test
* Implemented TODO [#CLICKHOUSE-2].
* Moved chown to correct place [#CLICKHOUSE-2].
* Resolves #1273 . Exception safe users update. [#CLICKHOUSE-3]
* Less noisy logging. [#CLICKHOSUE-2]
* Add metrics for RWLockFIFO. [#CLICKHOUSE-3246]
* Executable dictionaries: fail if program returns non zero exit code (#CLICKHOUSE-3171)
* Add better logging if OPTIMIZE cannot be executed. [#CLICKHOUSE-2]
* test me
* Fixing documentation fragment about "default" user. It is not mandatory anymore.
* append yurial/clickhouse-client to docs/interfaces
* Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].
* Removed tcp_ssl_port by default [#CLICKHOUSE-2].
* Update MergeTreeDataMerger.cpp
* Update ShellCommand.cpp
* Disable part sendings and fetches before ALTER. [#CLICKHOUSE-3343]
* Update ExecutableDictionarySource.cpp
* Update ExecutableDictionarySource.cpp
* Miscellaneous changes after merge [#CLICKHOUSE-2].
* Improve tests: allow redefine some values (clickhouse path, ports, ...)
* Received signal Segmentation fault (#1300 ) (#1302 )
* Received signal Segmentation fault (#1300 )
* Add test
* Tests: Use new possibly redefined values from env (in 2 tests)
* Proper fix for the issue: better exception message [#CLICKHOUSE-2].
* Split GatherUtils.cpp for faster compile (#1312 )
* Split GatherUtils.cpp for faster compile
* remove GatherUtils.cpp
* Fix array writing (#1314 )
* changed MergedBlockOutputStream [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* disabled checkNoMultidimensionalArrays [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* added test [#CLICKHOUSE-3341]
* fixed test [#CLICKHOUSE-3341]
* refactoring and comments [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* Update ColumnArray.h
* Update ActionBlocker.h
* Fix section tabulation
* Fixed infinite recursion in expression analyzer. [#CLICKHOUSE-3125]
* Update ActionBlocker.h
* Improvement [#CLICKHOUSE-2].
* Try fix strange terminate (#1329 )
* Tests: External: rename --use_http => --no_http and fix
* Try fix strange terminate
* Misc [#CLICKHOUSE-2].
* Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa) (#1333 )
* Fix compile with boost 1.65.1+ and clang 3.8 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222439 )
* Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa)
* Fix complex queries with GLOBAL IN and UNION ALL (#CLICKHOUSE-3356) (#1339 )
* TEST only: why initQueryAnalyzer ?
* Better tests
* missing file
* Missing file
* Add test
* Test fixes
* Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].
* Removed tcp_ssl_port by default [#CLICKHOUSE-2].
* Better tests
* comment
* clean
* REmove wrong code
* clean
* dbms: Added compression level for ZSTD. [#METR-26742]
* dbms: CompressionSettingsSelector. [#METR-21516]
* dbms: Minor fix. [#METR-21516]
* Fix SummingMergeTree argument checking logic.
This patch fixes the Nested Column Name checking logic, which allows nested
columns be explicitly specified in SummingMergeTree engine.
2017-10-13 21:52:23 +03:00
Marek Vavruša
011658bb02
contrib: include librdkafka as submodule
2017-10-10 08:33:00 -07:00
proller
06c7d4315f
Cmake fixes (#CLICKHOUSE-3303) ( #1229 )
...
* Cmake fixes (#CLICKHOUSE-3303)
2017-09-11 18:51:32 +03:00
proller
0e9681cdc2
Always use ccache for gcc ( #1223 )
...
* Try fix macos build
* Try fix macos build
* Alvays use ccache for gcc
2017-09-09 04:04:36 +03:00
proller
84c0470bcb
cmake: ccache detect proper version ( #1222 )
2017-09-09 03:32:34 +03:00
Alexey Milovidov
be79166199
Using pcg-random instead of boost::random::taus88 [#CLICKHOUSE-3174].
2017-09-09 02:58:42 +03:00
Alexey Milovidov
6901e80c4c
Updated boost; added boost geometry [#CLICKHOUSE-3276].
2017-09-04 21:56:02 +03:00
Vladimir Chebotarev
16b964d04d
cmake: Avoiding check target conflicts. [#CHEBOTAREV-14]
2017-08-24 16:37:27 +03:00
proller
44f669c1ca
Cmake: fix USE_INTERNAL_BOOST_LIBRARY=0
2017-08-18 02:02:51 +03:00
proller
4988cb9f03
Issue #1110 : Fix build without installed boost ( #1115 )
2017-08-17 21:17:17 +03:00
proller
175cd99288
Freebsd fixes: fix build with libc++, fix find system lib double-conversion ( #1109 )
...
* Cmake: Don't detect and use -no-pie flag with clang
* Camke: find_unwind: Fix disable on arm
* Freebsd fixes: fix build with libc++, fix find system lib double-conversion
2017-08-17 00:01:43 +03:00
proller
1f2c4fc754
Cmake: Don't detect and use -no-pie flag with clang
2017-08-14 17:58:47 +03:00
proller
101302b56c
Cmake: always link ltdl for internal PocoDataODBC ( #1089 )
...
* Cmake: always link ltdl for internal PocoDataODBC
2017-08-10 20:12:52 +03:00
proller
ac178bde1f
Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM ( #1083 )
...
* Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM
* Fix lib find order
* Allow define non-contrib cityhash farmhash metrohash
* Fix message
* Cmake: fixes
* clean
* Update CMakeLists.txt
2017-08-09 23:52:55 +03:00
proller
d6833a0d55
Cmake: remove global include_directories ( #1055 )
...
* Fix .h compile
* Cmake: remove global include_directories
* boost include hide
* fix cctz
* add \n
2017-08-03 15:44:39 +03:00
proller
460d66c68d
Split FunctionsArray.cpp register ( #1043 )
...
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* gcc7 fixes
* clnag-format of Split ComplexKeyCacheDictionary
* Requested changes
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* Fix arm build
* Fix nothrow
* Better arm detection
* Split FunctionsArray.cpp register
2017-07-30 15:31:58 +03:00
proller
ff7f3af238
Split FunctionsArithmetic.cpp to generated functions
2017-07-26 21:32:35 +03:00
proller
b172f7a0f1
Cmake: clear test variables with CMakePushCheckState (it will fix macos build issue) ( #992 )
2017-07-17 17:21:43 +03:00
proller
4db8d09de9
Reorganize includes. part 1 ( #921 )
...
* Make libunwind optional. Allow use custom libcctz
* fix
* Fix
* fix
* Update BaseDaemon.cpp
* Update CMakeLists.txt
* Reorganize includes. part 1
* Update dbms_include.cmake
* Reorganize includes. part 2
* Reorganize includes. part 3
* dbms/src/Common/ThreadPool -> libs/libcommon
* Reorganize includes. part 4
* Fix print_include_directories
* Update thread_creation_latency.cpp
* Update StringRef.h
2017-06-23 23:22:35 +03:00
Alexey Milovidov
ff02af9804
Addition to prev. revision [#CLICKHOUSE-2].
2017-05-09 22:45:21 -04:00
proller
a2909ed607
cmake/find_libtool.cmake: fix mistake
2017-04-28 16:58:44 +03:00
proller
c3a62f1bb0
Fix build without icu and readline
2017-04-24 06:28:28 +03:00
proller
1d89eafa12
cmake: fix POCO_ENABLE_MONGODB
2017-04-19 19:16:48 +03:00
alexey-milovidov
35abae95c8
Allow to disable ICU ( #711 )
...
* Allow to disable ICU [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 04:06:29 +03:00
proller
ab5e6c4840
Fix build without installd unixodbc ( #708 )
...
* Fix build without installd unixodbc
* clean
* no openssl error
* fix
* fix
2017-04-19 03:21:16 +03:00
proller
11218b9ba5
cmake: remove hardcoded src/ in macros add_headers_and_sources
2017-04-04 15:37:04 +03:00
Alexey Milovidov
a7c87811e6
Moved headers and sources to same place (part 3) [#CLICKHOUSE-3].
2017-04-01 13:19:58 +03:00
Alexey Milovidov
ab314a47bf
Moved headers and sources to same place (part 2) [#CLICKHOUSE-3].
2017-04-01 13:08:56 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
Alexey Milovidov
4f44445ff0
Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//'
2017-03-31 19:00:30 +03:00
proller
8a9d9dddb4
Allow build with poco with disabled MongoDB or DataODBC or NetSSL ( #636 )
...
* partial poco support
* fix
* fix optional ssl
* servier without netssl
* fix link order
* testme
* requested changes
* throw on https listen, shutdown tip
2017-03-28 23:30:57 +03:00
proller
c90709b38e
Fix find boost version, dont use old boost if found
2017-03-28 20:50:58 +03:00
Vitaliy Lyudvichenko
2ab25099cd
Move boost::tests to Google Tests. [#CLICKHOUSE-2]
2017-03-28 20:46:16 +03:00
proller
9cf97911db
fix USE_INTERNAL_ZLIB_LIBRARY=0 with poco ( #608 )
...
* Try fix double version up during release
* fix moveing cmake files
* fix USE_INTERNAL_ZLIB_LIBRARY=0 with poco
2017-03-17 16:04:17 +03:00
proller
28ed324702
add cmake option USE_VECTORIZED_MATH_FUNCTIONS, reorganize auto configs
2017-03-16 13:51:41 +04:00
proller
d777cab172
link Storages/System via lib
2017-03-15 23:43:02 +04:00
Alexey Milovidov
30aae40300
Removed usage of iconv [#CLICKHOUSE-2879].
2017-03-11 07:39:16 +03:00
proller
b6e01cd47e
Fix isolated usage of all .h files, move some code to .cpp ( #578 )
...
* split ColumnAggregateFunction.h
* format
* Allow use re2_st without cmake
* use std type in find_first_symbols.h
* fix ArrayEvaluator.h
* include fixes
* split ColumnConstAggregateFunction.h
* fix StorageMaterializedView.h
* split AddingDefaultBlockOutputStream.h
* move CSVRowInputStream::updateDiagnosticInfo to .cpp
* split ParserEnumElement.h
* format
* split DB/Parsers/ParserUseQuery.h
* clean
2017-03-11 04:27:59 +04:00
proller
293b8b958c
Allow use external re2 with re2_st=re2 ( #547 )
...
* Allow use external re2 with re2_st=re2
* fix
* remove dupe
* use re2_st in FunctionsStringSearch.h
* fix
2017-03-07 20:10:04 +04:00
proller
84018addf0
fix zookeeper include
2017-03-01 14:33:56 +03:00
proller
0e91c47066
Allow build with external double-conversion lz4 zstd re2 zookeeper ( #531 )
...
* Allow build with external double-conversion lz4 zstd re2 zookeeper
* fix
* fix
* freebsd fixes
* spaces
* fix
* fix
* fix
* wip
* move
* fix
2017-03-01 03:49:04 +04:00
proller
57c336f267
HTTPDictionarySource support HTTPS ( #510 )
...
* https support in dictionaries
* Style
2017-02-28 01:07:57 +04:00
Alexey Milovidov
f46f3f9ea0
Added patch from ks1322 [#CLICKHOUSE-3].
2017-02-13 21:38:21 +03:00
alexey-milovidov
cee5ab01fb
Merge branch 'master' into merge_with_metrika
2017-02-11 00:27:15 +04:00
proller
a1e1e6da66
Cmake: fix fallback to internal libs if no external found
2017-02-09 01:50:48 +04:00
proller
9bbe8fe5c4
Dynamic library mode ( #471 )
...
* Cmake: UNBUNDLED option
* Dynamic library mode
2017-02-08 22:53:00 +04:00
proller
f87ae6808f
cmake: USE_INTERNAL_ZLIB_LIBRARY ( #463 )
...
* Correct fix of building with external poco with disabled sending progress
Revert "Removed wrong code [#CLICKHOUSE-2]."
This reverts commit 33f9917f53
.
* fix
* fix
* cmake: USE_INTERNAL_ZLIB_LIBRARY
2017-02-08 01:28:13 +04:00
proller
716633120e
Cmake: UNBUNDLED option
2017-02-07 09:34:26 +04:00
Pavel Kartavyy
224ba16dcb
use project source and binary dirs instead of global dirs
2017-02-06 18:15:19 +03:00
proller
84e4fb00bd
Freebsd: fix external tcmalloc link ( #452 )
2017-02-03 18:19:12 +03:00
proller
c51801d776
Change default user and paths [#CLICKHOUSE-2715] ( #382 )
...
* Changing default user to clickhouse and path to /var/lib/clickhouse [#CLICKHOUSE-2715]
* wip
* Auto version update to [54141]
* Get version from saved in cmake
2017-01-31 23:53:05 +04:00
proller
9cea606881
Fix linking iconv under macos and freebsd
...
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1
.
2017-01-31 04:15:59 +03:00
proller
9409419258
--no-pie flag have no effect in ubuntu, using -no-pie with test ( #422 )
...
* Cmake: fix apple build
* --no=pie flag have no effect in ubuntu, using -no-pie with test
* better
2017-01-31 00:09:11 +03:00
proller
33347ad9c3
Cmake: some fixes
2017-01-30 16:40:04 +03:00
proller
46037bb670
Allow link with jemalloc ( #404 )
...
* Allow link with jemalloc
* wip
* fix
* fix
2017-01-28 00:00:02 +04:00
proller
8b4b1534e3
Cmake: Test on having sse ( #405 )
...
* Cmake: Test on having sse
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* fix
* fix
* fix
* fix
* fix
* fix
2017-01-27 23:55:33 +04:00
proller
70e641f58a
Fix readline finding on mac; use config for readline vars ( #397 )
...
* Fix readline finding on mac; use config for readline vars
* fix
2017-01-26 00:14:41 +04:00
proller
1d7c5f63df
Cmake: fix includes with PATH_SUFFIXES ( #389 )
2017-01-25 01:07:08 +04:00
alexey-milovidov
5ee4c205c8
Revert "Cmake: fix includes with PATH_SUFFIXES" ( #388 )
2017-01-25 00:52:00 +04:00
proller
b068ffb100
Cmake: fix includes with PATH_SUFFIXES ( #387 )
2017-01-24 23:54:35 +04:00
Alexey Milovidov
e4ff740ef1
Removed usage of glib [#CLICKHOUSE-2].
2017-01-21 05:32:31 +03:00
proller
1adf0bb3e1
Remove -metrika-yandex postfix from package names ( #377 )
2017-01-20 23:58:13 +04:00
proller
38040f5323
Сmake: more info in message about libreadline ( #376 )
...
* Cmake: more info in message about libreadline
* icu cmake
* cmake: glib message
2017-01-20 23:57:30 +04:00
proller
7201e2846a
Freebsd doc and build fix. finding Poco_NetSSL_OpenSSL removed (not used) ( #370 )
...
* Freebsd doc and build fix. finding Poco_NetSSL_OpenSSL removed (not used)
* fix override
2017-01-19 22:53:29 +04:00
proller
22797da2a6
Move generate version from git tool to source ( #351 )
...
* wip
* fix
* wip
* Auto version update to [54146]
* Auto version update to [54147]
* Auto version update to [54148]
* teeeeest
* Auto version update to [54149]
* wip
* Auto version update to [54154]
* wip
* wip
* wip
2017-01-19 03:28:23 +04:00
proller
a2e87911ce
Apple fix: lost apple_version.h
2017-01-18 20:52:59 +03:00
proller
db0fce346a
Freebsd clang3.8 compile fixes ( #352 )
...
* Freebsd clang3.8 compile fixes
* clean
2017-01-18 01:00:23 +04:00
proller
5fdeebada7
Fix generate includes for clang ( #348 )
2017-01-17 17:11:55 +03:00
proller
29475c94c0
Reorganize includes, less depends in .h files
2017-01-16 22:47:11 +03:00
proller
ee3882f251
Allow link with external libs: poco, tcmalloc
2017-01-13 14:25:44 +03:00
proller
4bfa697656
Add more search paths to find_mysqlclient.cmake, rename find_libmysqlclient.cmake -> find_mysqlclient.cmake
2017-01-12 15:20:43 +03:00
proller
4bc003c4c1
Porting to freebsd: initial, compile ok, most tests ok.
2016-12-24 01:03:10 +00:00
proller
2443531dd0
Misc build fixes: boost warning, boost minimum version, shared libanl
2016-12-20 21:45:32 +03:00
Vladimir Chebotarev
cc7db759fe
create_init_script: Avoid generation of init file each configuration phase. [#METR-21516]
2016-12-13 14:09:22 +03:00
Vitaliy Lyudvichenko
876ad28dd8
Merge remote-tracking branch 'origin/master' into metrics_refinement
2016-12-12 19:17:23 +03:00
Alexey Milovidov
fda940e0f5
Using internal boost library [#METR-2944].
2016-12-12 07:44:35 +03:00
Alexey Milovidov
58a8cff3ae
Using internal boost library [#METR-2944].
2016-12-12 07:17:16 +03:00
Alexey Milovidov
599308aef0
Get rid of obsolete mongodb client library [#METR-23791].
2016-12-11 12:43:16 +03:00
Vitaliy Lyudvichenko
6540156100
Removed redundant code from CMakeLists.
2016-12-09 13:13:16 +03:00
Vladimir Chebotarev
017a32c3ad
cmake: Prefer /usr/local when finding boost. [#METR-21516]
2016-12-07 01:26:11 +03:00
Vladimir Chebotarev
a86e56cd1f
cmake: Special treating of rt in some cases. [#METR-21516]
2016-12-07 00:01:19 +03:00
Vladimir Chebotarev
1d5607ca4a
cmake: Build was fixed. [#METR-21516]
2016-12-06 22:40:20 +03:00
Vladimir Chebotarev
eb552f2943
cmake: Improved copy_headers.sh script, minor fixes. [#METR-21516]
2016-12-06 21:04:10 +03:00
Vladimir Chebotarev
ca5c1dc31b
cmake: Improved build. [#METR-21516]
2016-12-06 19:51:34 +03:00