Commit Graph

324 Commits

Author SHA1 Message Date
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 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
Denis Glazachev 165dc4e109 Disable system static OpenLDAP linking support (due to fPIC mismatch) 2020-05-31 15:04:56 +04:00
Ivan Blinkov 95ee742ee7 merge master 2020-05-29 22:56:10 +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
Ivan Blinkov 709b4f42c8 Prototype sending crash reports on segfaults 2020-05-27 22:11:04 +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 e6ca09e134 fix build 2020-05-22 17:19:33 +03:00
kssenii a055e33087 Add libevent & AMQP-CPP libraries 2020-05-20 09:08:27 +03:00
Artem Zuikov 97c7447130
Bitonic sort improvements (#10934) 2020-05-19 00:41:23 +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 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
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
FawnD2 112758b99d Merge branch 'master' into arrow-io-format 2020-05-04 00:53:17 +03:00
FawnD2 538e6c39da Arrow input format 2020-04-28 22:52:22 +03:00
Denis Glazachev 6b02bfadaf Use deduced paths to target executables 2020-04-27 21:46:41 +04: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
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 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
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
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
Alexey Milovidov 680da3d7ed Merge remote-tracking branch 'origin/master' into oandrew-avro 2020-01-23 22:08:08 +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 86a062110d
Merge pull request #8704 from kreuzerkrieg/MoreGCCWarnings
Enable -Wmissing-include-dirs for GCC
2020-01-18 20:12:56 +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 21ae7efa17 try fix 2020-01-13 12:55:57 +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
Andrew Onyshchuk e96b3059c0 Refactor Avro CMake 2020-01-10 00:03:32 -06: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
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 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
proller 521e2e709e Build fixes. Arm, minimal build 2019-12-20 17:46:00 +03:00
Alexey Milovidov 272b7b4471 Using libc++ even with gcc 2019-12-20 03:06:12 +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 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 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 51ed10ed78
Merge pull request #8011 from Jokser/aws-s3-sdk-integration
AWS SDK S3 integration
2019-12-12 20:43:16 +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
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
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
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
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
Ivan Lezhankin 9e46118edd Merge remote-tracking branch 'upstream/master' into issue-6459 2019-09-20 21:25:55 +03:00
Ivan Lezhankin 8c356a3830 WIP 2019-09-15 18:20:31 +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 393bf8a804 cmake/find_* → cmake/find/* 2019-09-13 17:54:22 +03:00