Commit Graph

643 Commits

Author SHA1 Message Date
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