Commit Graph

362 Commits

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