Commit Graph

245 Commits

Author SHA1 Message Date
Evgenii Pravda
67d26f6528 Use pdqsort instead of std::sort in ORDER BY 2019-02-02 16:52:20 +03:00
Alexey Milovidov
7224878446 Fixed build with old CMake 2019-01-31 22:52:12 +03:00
proller
834f543118 Disable GLIBC_COMPATIBILITY for old cmake 2019-01-31 20:10:58 +03:00
proller
a874945e0e Use cpuinfo if cpuid not available 2019-01-28 16:16:08 +03:00
proller
9230fe9917 Merge remote-tracking branch 'upstream/master' into fix10 2019-01-25 23:10:38 +03:00
proller
5328251ff1
Fix build without protobuf, gtest, cppkafka (#4152) 2019-01-25 23:02:03 +03:00
proller
d1d37cee82 DISABLE_CPU_OPTIMIZE 2019-01-25 22:36:03 +03:00
proller
dd16a012a4 IPO fixes 2019-01-25 22:18:05 +03:00
Alexander GQ Gerasiov
e1f818a1b6 Enable link time optimization (-flto).
This reduce target's size by 30%.

Signed-off-by: Alexander GQ Gerasiov <gq@cs.msu.su>
2019-01-25 22:09:31 +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
9f1837f01f
Update CMakeLists.txt 2019-01-18 21:27:46 +03:00
alexey-milovidov
d54a019456
Merge branch 'master' into fix-glibc-compatibility 2019-01-18 21:21:47 +03:00
Alexey Milovidov
ed124c955a Link all libraries to "glibc-compatibility" 2019-01-18 21:20:07 +03:00
Alexey Milovidov
112f62f49f Fixed linking order of glibc-compatibility library 2019-01-18 19:36:10 +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
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
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
proller
0828b1cf73
Fix build on arm/clang (#3848) 2018-12-17 16:57:24 +03:00
Alexey Milovidov
b9b48c646c Fixed linkage in Jenkins [#CLICKHOUSE-2] 2018-12-14 20:25:55 +03:00
alesapin
80b49e4c0a Add integration test, put dependent libs to contrib, slightly refine
code.
2018-12-07 14:41:24 +03:00
alesapin
03ce4c5bc5
Merge branch 'master' into master 2018-12-03 13:02:34 +03:00
Alexey Milovidov
a7d3724d08 Explicit specification of static linkage for standard, system and compiler libraries on clang #3706 2018-12-02 22:37:01 +03:00
proller
2221638ade Fix presence of both libc++ and -static-libstdc++ link flags (#3706)
* Fix precence of both libc++ and -static-libstdc++ link flags

* cmake: NO_WERROR for ARCH_ARM

* Try fix test link

* revert

* Update CMakeLists.txt
2018-12-01 01:30:34 +03:00
Ivan Lezhankin
0798db6c8c Add variables to limit the number of concurrent linkings. 2018-11-30 20:54:14 +03:00
proller
1ea31e0491
Fix icu link #3631 (#3671) 2018-11-27 18:34:21 +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
86f1a18185 withdraw INSERT INFILE feature 2018-11-21 11:59:24 +08: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
proller
abfe675097
Build fixes (#3419) 2018-10-18 22:28:05 +03:00
Alexandr Krasheninnikov
41281ad397 Make compilation on-demand 2018-10-11 19:25:17 +03:00
Alexey Milovidov
0ece3d5a89 Attempt to fix internal compiler [#CLICKHOUSE-2] 2018-09-03 20:45:52 +03:00
Alexey Milovidov
0b2ec39f11 Miscellaneous [#CLICKHOUSE-2] 2018-09-03 03:00:56 +03:00
proller
de2b740db7 USE_INTERNAL_CONSISTENT_HASHING_LIBRARY 2018-08-30 22:07:24 +03:00
Alexey Milovidov
b262715bd8 Fixed order of CMake statements [#CLICKHOUSE-2] 2018-08-30 03:20:02 +03:00
Alexey Milovidov
cf33608e62 Enabled JEMALLOC_DEBUG in debug build [#CLICKHOUSE-2] 2018-08-29 18:54:00 +03:00
proller
e30d93a0f2 Better debug helpers (#2983)
* Better debug helpers

* fix
2018-08-29 03:03:07 +03:00
Alexey Milovidov
c2e4a6a55d Removed CLICKHOUSE_PRIVATE_DIR because it is obsolete [#CLICKHOUSE-3] 2018-08-28 21:26:50 +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
champtar
51df4222db Fix x86_64 detection on CentOS7 / Fedora (#2912)
* Fix x86_64 detection on CentOS7 / Fedora

CMAKE_LIBRARY_ARCHITECTURE is empty on CentOS7 / Fedora
CMAKE_SYSTEM_PROCESSOR is what we really want

only tested on CentOS7 / Fedora 28

Signed-off-by: Etienne Champetier <echampetier@anevia.com>

* Support freebsd
2018-08-21 20:15:18 +03:00
alexey-milovidov
89655b5f2d
Merge pull request #2482 from yandex/CLICKHOUSE-2910
Performance introspection
2018-08-19 06:37:55 +03:00
Alexey Milovidov
925ab91b66 Added clarifying comment [#CLICKHOUSE-2] 2018-08-19 06:36:35 +03:00
Amos Bird
28288b7b72
avoid cmake compatible behavior for better linking
https://cmake.org/cmake/help/v3.9/policy/CMP0060.html#policy:CMP0060

Link fails when libraries like `ICU` reside in `/usr/local/` while cmake uses old flavor of linking, which adds `-l<SONAME>` directly without the actual library paths.
2018-08-18 15:59:52 +08:00