Commit Graph

408 Commits

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