Alexey Milovidov
afa35d55d9
Fixed linking order of glibc-compatibility library
2019-03-11 19:16:29 +03:00
Alexey Milovidov
b10b30ab0e
Fixed debug build
2019-03-10 23:04:36 +03:00
Alexey Milovidov
c9b83feae9
Fixed debug build
2019-03-10 22:01:30 +03:00
alexey-milovidov
030a4eb3c6
Merge branch 'master' into fix-glibc-compatibility-2
2019-03-10 19:31:18 +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
263e69e861
Build fixes (FreeBSD port) ( #4397 )
2019-02-15 14:46:07 +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
Mike F
723d3b3a99
Merge branch 'master' into brotli
2019-02-02 20:14:29 +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
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
203de2aa02
Added comments
2019-01-20 01:08:40 +03:00
Alexey Milovidov
2996d70c97
Addition to prev. revision
2019-01-20 00:48:22 +03:00
Alexey Milovidov
37f8d20181
Fix glibc compatibility, part 2
2019-01-19 20:14:57 +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
luc1ph3r
bf09c2047a
Parquet data format: update CMake configurations
2018-10-01 19:44:55 +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
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
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
0a245d377c
Remove obsolete build flags [#CLICKHOUSE-2]
2018-08-06 02:53:19 +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
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
ap11
68bdc4eb12
Add mumurhash2
2018-07-30 15:19:22 +03:00
proller
f477942c66
Cmake: test for liblld
2018-07-21 03:11:56 +03:00
Alexey Milovidov
fb38f8aaaa
Attempt to fix an error when building on Mac [#CLICKHOUSE-2]
2018-07-10 19:34:18 +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
Alexey Milovidov
cf7e72b529
Using ninja by default: turn on colored output [#CLICKHOUSE-2]
2018-06-08 19:26:03 +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
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
Ivan Zhukov
d30b98073e
Link parquet and arrow libraries
2018-05-13 04:01:49 +03:00
Ivan Zhukov
dc5b074e24
Add cmake modules for libraries detection
2018-05-13 03:48:49 +03:00
proller
0b386381ac
Build fixes
2018-05-11 21:00:24 +03:00
proller
efe661b620
Build fixes ( #2347 )
...
* Try fix travis
* fix
* Fix clickhouse-local shared-split link
* fix
* fix
* fix
* Build fixes
* Fix tinfo
* fix
* tinfo -> termcap
2018-05-11 17:16:16 +03:00
proller
c26b3bdef1
Fix split shared build; fix build without system odbc libs ( #2191 )
...
* Fix split shared build
* Fix build without system odbc libs
* Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h
* Fix build with libiodbc
2018-04-09 06:52:39 -07:00
Alexey Milovidov
c2f40e8d41
Removed libzookeeper [#CLICKHOUSE-2]
2018-03-25 06:47:56 +03:00
Alexey Milovidov
a5ddca7a9c
Added CMake option to link with custom libc++ [#CLICKHOUSE-2]
2018-03-03 22:44:32 +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
cf9a33d04f
CLICKHOUSE-3600 Use correct lld version, cmake fixes ( #1968 )
...
* Allow build without rt library
* fix
* Cmake misc
* CLICKHOUSE-3600 Use correct lld version
* CLICKHOUSE-3600 Use correct lld version
* Use libllvm same version as clang
* fix
* Fix build with iodbc
* Fix iodbc build
* Fix gold find
* Fix empty lines
2018-02-26 21:34:22 +03:00
proller
6e4b4f1c7f
Build fixes
2018-01-21 23:17:33 +03:00
proller
c430af5fb8
Freebsd fixes
2018-01-21 02:23:19 +03:00
proller
ee8272561a
More builder fixes ( #1801 )
...
* fix boost
* Fix gtest
* fix gtest
* fix
* fix gtest
* fix
2018-01-20 05:35:16 +03:00
proller
a34e78a54f
Cmake: Fix odbc find
2018-01-19 16:50:46 +03:00
proller
90399b851d
Cmake fixes related to #1786
2018-01-18 21:26:36 +03:00
proller
f6d8436f81
Enable travis ( #1772 )
...
* Try travis
* wip
* Try travis
* try
* try
* try
* try
* Revert "try"
This reverts commit 7ecd73c2eb
.
* try unbundled
* Try unbundled2
* Try undundled3
* Try unbundled4
* Try5
* try gcc7
* try6
* Try clang
* Try min
* try ccache
* try ccache stats
* no sudo
* try clang
* try ccache
* reset changelog
* Try fix clang
* try limit time
* Faster
* try timeout
* try faster
* Try
* try
* try
* try
* try
* try
* ccache
* Fix
* try test
* try test
* Fix try_listen in some vm's
* fix
* test
* fix
* cache timeout
* packages
* fix
* fix
* fix
* try emb compiler
* Try emb compiler
* Revert "try emb compiler"
This reverts commit 471713cabe
.
* try
* Revert "Try emb compiler"
This reverts commit 95e632abf6
.
* Skip long
* fix
* fix
* ccache
* fix
* debug
* Fxi test
* test fix
* tes fix
* Fix
* Fix link
* Fix odbc link
* Fxi test
* fix boost unbundled include
* fix test
* fix test
* test fix
* fix tests
* tests
* Test fail
2018-01-15 21:57:10 +03:00
Alexey Milovidov
996eafada9
Revert "Remove hard-coded paths in Interpreters/Compiler.cpp"
...
This reverts commit 3a97fbd0e7
.
2018-01-09 20:49:25 +03:00
Roman Tsisyk
3a97fbd0e7
Remove hard-coded paths in Interpreters/Compiler.cpp
...
Interpreters/Compiler.cpp contained hard-coded paths for system's
includes needed for query compiler. These paths were not portable
between different Linux distros and gcc/clang versions. For example,
Debian/Ubuntu use /usr/lib/gcc/x86_64-linux-gnu/*/include,
RHEL/Fedora use /usr/lib/gcc/x86_64-redhat-linux/*/include,
others use /usr/lib/gcc/*/include (without x86_64-XXX triplet).
Patch 68850012b
"Embedded compiler fixes" attempted to fix this problem
by adding CMAKE_LIBRARY_ARCHITECTURE after /usr/lib. Unfortunally,
CMAKE_LIBRARY_ARCHITECTURE is not defined on RHEL/Fedora because someone
decided to omit "-gnu" from x86_64-redhat-linux (see RHBZ#1531678).
Patch 70e35d0bc
"Build fixes (#1718 )" added a workaround for
undefined CMAKE_LIBRARY_ARCHITECTURE on RHEL/Fedora, but hasn't fixed
problem with missing /usr/lib/gcc/x86_64-redhat-linux/*/include/
in the list of hardcoded paths.
Remove hard-coded paths and get the list of `-isystem` includes directly
from bundled clickhouse-clang.
Other changes:
- Enable RPATH for the build directory to get working binaries
without installing them by `make install`.
2018-01-09 20:24:25 +03:00
proller
ccf7c1f760
pbuilder: install package and make simple query ( #1671 )
...
* pbuilder: install package and make simple query
* use B92test-pkg from system
* Fix
2017-12-25 19:01:03 +03:00