Commit Graph

183 Commits

Author SHA1 Message Date
Andy Yang
4a4dbcd2c1 Merge remote-tracking branch 'origin' into bitmap_feature 2019-02-14 15:14:18 +08:00
Mikhail
763b3dcf73
Merge branch 'master' into brotli 2019-02-11 23:44:39 +03:00
Alexey Milovidov
11223939e5 Miscellaneous modification in CMake 2019-02-04 17:07:01 +03:00
alesapin
708e06837a Fix brotli build 2019-02-02 17:17:51 +03:00
alesapin
1a3cef8216 Add brotli to contrib 2019-02-02 16:33:50 +03:00
Andy Yang
7e7a864fd4 Added bitmap function feature with roaring bitmap 2019-01-31 21:26:11 +08:00
alexey-milovidov
81de83cab6
Merge pull request #4155 from proller/fix10
Porting debian changes
2019-01-29 00:11:20 +03:00
Alexey Milovidov
00e0bea3d9 Always use system-wide OPENSSL directory #3983 2019-01-28 16:45:56 +03:00
proller
48fa225c57 Allow use gtest sources from system 2019-01-25 23:12:15 +03:00
Vitaly Baranov
0ac0557e0f Make DBMS dependent on the protobuf library. 2019-01-23 22:19:23 +03:00
Alexey Milovidov
f4ae6a4cda Removed useless install 2019-01-19 02:52:21 +03:00
Alexey Milovidov
0572a62939 Removed useless code in CMakeLists for "ssl" 2019-01-18 22:42:29 +03:00
proller
0939387514
Build fixes (#4076)
Move copy_headers.sh and formath.sh from root.
Debian: use default build dir (obj-x86_64-linux-gnu)
Debian: add test after build (GLIBC_required_version)
cmake: dont run copy headers if already copied
2019-01-18 18:19:53 +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
Alexey Milovidov
8a0867e560 Removed useless and misleading messages from Poco cmake 2019-01-11 16:57:46 +03:00
Alexey Milovidov
a058cc1983 Added some warnings from clang's -Weverything 2019-01-06 14:13:26 +03:00
Alexey Milovidov
588ee498ba Added some warnings from clang's -Weverything 2019-01-06 11:31:22 +03:00
Alexey Milovidov
dfd0518e8d Added some warnings from clang's -Weverything 2019-01-05 06:12:17 +03:00
Alexey Milovidov
9a51f0ab7b Preparations for MSan [#CLICKHOUSE-2] 2018-12-28 07:43:24 +03:00
Alexey Milovidov
b57299cfa5 Using libcxx as a submodule [#CLICKHOUSE-2] 2018-12-28 06:30:29 +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
Alexey Milovidov
ab85175e7f Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-4 2018-12-28 00:23:13 +03:00
Alexey Milovidov
54e2b6ea91 Suppress warnings in 3rd party library [#CLICKHOUSE-2] 2018-12-27 22:38:17 +03:00
proller
a75d8794ef Merge remote-tracking branch 'upstream/master' into fix10 2018-12-27 21:21:20 +03:00
proller
1a0a879a51 Build fixes 2018-12-27 18:23:37 +03:00
Alexey Milovidov
2b58438737 Added warning suppression for 3rd party library #3926 2018-12-27 02:19:29 +03:00
Alexey Milovidov
7fc7a4cb78 Suppress warning in protobuf build [#CLICKHOUSE-2] 2018-12-20 18:22:27 +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
Vladimir Chebotarev
8f85ca05ce Poco should not call find_library(OpenSSL) when USE_INTERNAL_SSL_LIBRARY. [#METR-21516] (#3781)
* Poco should not call `find_library(OpenSSL)` when USE_INTERNAL_SSL_LIBRARY. [#METR-21516]

* Minor fix.
2018-12-07 18:00:51 +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
00d9a18e19 Fix contrib/llvm link with LLVMOFF 2018-12-04 13:49:16 +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
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
41281ad397 Make compilation on-demand 2018-10-11 19:25:17 +03:00
Alexander Krasheninnikov
5ff30ebb3d Initial implementation 2018-10-10 04:04:07 +03:00
luc1ph3r
bf09c2047a Parquet data format: update CMake configurations 2018-10-01 19:44:55 +03:00
proller
ec11bef633
Build fixes (#3181) 2018-09-28 17:53:20 +03:00
Alexey Milovidov
9e5778134d Miscellaneous #3018 2018-09-02 04:54:24 +03:00
alexey-milovidov
a05cdfbb45
Merge branch 'master' into extra-warnings 2018-08-31 03:03:44 +03:00
proller
c4f6bb1de0 Fix contrib/zlib build 2018-08-28 20:53:12 +03:00
proller
cc86cb503e clickhouse-test-server with temporary data dir 2018-08-27 21:32:50 +03:00
Alexey Milovidov
e5a2dd8624 Merge branch 'master' into extra-warnings 2018-08-27 19:19:04 +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
Alexey Milovidov
e726fa89f8 Enabling -Wzero-as-null-pointer-constant [#CLICKHOUSE-2] 2018-08-26 04:58:56 +03:00
Amos Bird
b0512b6d32 Fix misused target_include_directories. 2018-08-23 15:17:51 +03:00
proller
db6c3031e8 Fix apple build 2018-08-20 19:34:28 +03:00
Alexey Milovidov
b38cc88d9d Suppress warning in 3rd-party library #2807 2018-08-19 08:53:02 +03:00
Alexey Milovidov
1373b2e78d Suppress warning in 3rd-party library #2807 2018-08-19 06:42:43 +03:00
Alexey Milovidov
02b8fbef94 Miscellaneous [#CLICKHOUSE-2] 2018-08-13 09:23:51 +03:00
Alexey Milovidov
419bc587c0 Mark library headers as system (this is intended to enable more warnings in application code) [#CLICKHOUSE-2] 2018-08-10 05:24:10 +03:00
Alexey Milovidov
497c8fb742 Better CMakeLists for rdkafka library [#CLICKHOUSE-2] 2018-08-10 02:02:52 +03:00
Alexey Milovidov
bbb3e240c0 Revert. Fixed link order #2807 2018-08-09 22:46:20 +03:00
Alexey Milovidov
7c08cae609 Fixed link order #2807 2018-08-09 22:11:46 +03:00
Alexey Milovidov
c6e60a10d3 Ignore warning in 3rd party library [#CLICKHOUSE-3] 2018-08-06 23:08:14 +03:00
Alexey Milovidov
4a4e6b94c3 Fixed Travis #2807 2018-08-05 12:36:10 +03:00
Alexey Milovidov
a2fca20a4b Using libressl #1983 2018-08-05 11:42:09 +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
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
alexey-milovidov
25cc323d1d
Using mariadb-connector-c from submodule. (#2785)
* Using internal mariadb-client library [#CLICKHOUSE-2]

* Using internal mariadb-client library [#CLICKHOUSE-2]

* Using internal mariadb-client library [#CLICKHOUSE-2]

* Using internal mariadb-client library [#CLICKHOUSE-2]

* Using internal mariadb-client library [#CLICKHOUSE-2]
2018-08-02 03:49:31 +03:00
alexey-milovidov
9cd5228df2
Using jemalloc instead of tcmalloc. (#2773)
* Added jemalloc as submodule [#CLICKHOUSE-2]

* Imported jemalloc-cmake [#CLICKHOUSE-2]

* Added README for jemalloc-cmake [#CLICKHOUSE-2]

* Trying to add jemalloc [#CLICKHOUSE-2]

* Trying to add jemalloc [#CLICKHOUSE-2]

* Trying to add jemalloc [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]
2018-08-02 03:20:20 +03:00
alexey-milovidov
833e67d53d
Suppress some warnings in third party libraries (#2762)
* Suppress some warnings in 3rd party libraries [#CLICKHOUSE-3]

* Suppress some warnings in 3rd party libraries [#CLICKHOUSE-3]
2018-07-30 23:36:23 +03:00
ap11
68bdc4eb12 Add mumurhash2 2018-07-30 15:19:22 +03:00
proller
cce2e005c5 Macos default build fixes 2018-07-16 17:16:26 +03:00
proller
68a2caed9a Cmake: Fix usage of USE_INTERNAL_CPUID_LIBRARY 2018-07-09 19:06:25 +03:00
proller
fbe7df73a2
CLICKHOUSE-3762 Build fixes (#2488)
CONTRIB-254
2018-06-19 21:09:09 +03:00
Alexey Milovidov
0e9a55826d Miscellaneous [#CLICKHOUSE-2] 2018-06-05 23:36:09 +03:00
Alexey Milovidov
f5adbceed2 Non significant changes according to clang's -Weverything, part 3 [#CLICKHOUSE-2] 2018-06-03 23:39:06 +03:00
proller
68ba523b23 Compile and doc fixes (#2410)
* 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

* Debian postinst fix
Tests: use /usr/local if exists

* Compile and doc fixes

* fix

* fix

* fix

* macos fixes

* fix

* wip

* Update demangle.h

* Update demangle.cpp
2018-05-25 21:13:48 +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
Alexey Milovidov
38a559061f Removed garbage (fixed build) [#CLICKHOUSE-2] 2018-05-11 14:04:39 +03:00
Alexey Milovidov
4d2989e42f Added support for bundled LLVM libraries #2277 2018-05-09 23:31:03 +03: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
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
0e7c49fe9b
Build fixes (#1970)
* Macos test fix

* Fix freebsd build
2018-02-27 20:17:02 +03:00
proller
d2f1ef686e
Misc build and test fixes (#1905)
* Misc build fixes

* Fix apple tests
2018-02-14 20:27:14 +03:00
proller
15e77ec688 Build and test fixes:
Dont test symbols with gdb
    Travis: add clang6 + ubuntu bionic (disabled)
    Travis: dont run tests with gcc7 (too long, does not fit to limit)
    Allow use clang-7 as internal compiler: -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_COMPILER=clang-7 -DLLVM_VERSION_POSTFIX=-7
    Debian: Fix package install (old version can't do service clickhouse disable_cron)
    Build fixes (ubuntu bionic + clang6.0)
    Update internal compiler clang6.0 to rc1
2018-02-07 18:58:48 +03:00
proller
282448e67d contrib/re2 as submodule 2018-01-22 16:47:00 +03:00
proller
9ea2521944 Fix macos build 2018-01-19 20:04:32 +03:00
proller
76cf0ba5d0 Better tests (#1785)
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed:    dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h

* Fix space

* Fix data in system.build_options

* merge

* merge

* Travis optimize

* optimize

* Fix clickhouse-test --no-long

* no long

* Split too long test

* Better tests

* missing file

* Fix includes

* Added draft [#CLICKHOUSE-2].

* fix

* fix

* fix

* Fix test 281 under asan
2018-01-18 23:33:16 +03:00
proller
d8a92e80d6 Use double-conversion as submodule 2018-01-16 21:58:12 +03:00
proller
3c42a24b8a Save/restore CMAKE_CXX_FLAGS around contrib/poco 2018-01-13 04:16:23 +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
673e070418 Temporary revert librdkafka update. will wait for fix https://github.com/edenhill/librdkafka/pull/1602/ 2017-12-21 18:57:33 +03:00
proller
a520d30a5e zlib fix flags in headers 2017-11-30 20:52:09 +03:00
proller
34eef961de ENABLE_LIBTCMALLOC -> ENABLE_TCMALLOC (#1558)
* Cmake: clang + libc++ fixes

* Cmake: fix link of some tests (missing pthread)

* Use -pthread flag for compile

* ENABLE_LIBTCMALLOC -> ENABLE_TCMALLOC
2017-11-28 22:57:15 +03:00
proller
1dcc0631de Fix macos build 2017-11-24 22:24:07 +03:00
proller
4fcb081f5b Zlib: remove unused test targets 2017-11-22 15:15:17 +03:00
proller
411202d5ad Zlib: as submodule, fix compile options; config: add logger options: logger.flush logger.rotateOnOpen 2017-11-21 23:10:37 +03:00