Commit Graph

504 Commits

Author SHA1 Message Date
Alexey Milovidov
098a3e0b75 Fixed comment 2019-12-20 03:03:10 +03:00
Alexey Milovidov
fe604cf3e7 Remove support for tcmalloc 2019-12-20 02:59:55 +03:00
alexey-milovidov
91708fedfb
Merge pull request #8151 from amosbird/clangfix
Fix clang build
2019-12-18 17:32:40 +03:00
alexey-milovidov
51ed10ed78
Merge pull request #8011 from Jokser/aws-s3-sdk-integration
AWS SDK S3 integration
2019-12-12 20:43:16 +03:00
Amos Bird
7eaa556f55
Fix clang build 2019-12-12 08:47:25 +08:00
alexey-milovidov
c7d434cec5
Merge pull request #8097 from amosbird/omitframepointer
Omit frame pointer.
2019-12-09 21:57:49 +03:00
Amos Bird
9a40c97e29
Omit frame pointer. 2019-12-09 21:28:45 +08:00
Amos Bird
971770a040
Interpose malloc symbols entirely. 2019-12-07 00:32:00 +08:00
Pavel Kovalenko
a9e2327ec0 AWS S3 SDK integration. 2019-12-03 19:23:24 +03:00
Ivan
4f2f5cca84
Add support for cross-compiling to the CPU architecture AARCH64 (#7370) 2019-10-30 10:01:53 +03:00
Amos Bird
b0d4baccc8 Enable musl and jemalloc for arm.
Can generate better arm packages.
2019-10-14 00:06:54 +08:00
proller
594c535bd4 Build fixes (#7063)
* Build fixes

*            fix

* Fix

* fix

* Fix install(export..

* Freebsd fixes

* Freebsd fixes

* Fix warning

* fix

* More PRIVATE linking

* Fix review

* Timmy

* fix

* fix
2019-10-05 22:25:31 +03:00
Amos Bird
dadc613072 Get rid of malloc symbols in libcommon (#7134) 2019-09-30 14:58:32 +03:00
Ivan
e5a5091556
Revert "Get rid of malloc symbols in libcommon (#7065)" (#7131)
This reverts commit 4cb53093a0.
2019-09-27 16:16:53 +03:00
Amos Bird
4cb53093a0 Get rid of malloc symbols in libcommon (#7065) 2019-09-27 15:19:26 +03:00
Ivan Lezhankin
4b143c3e0f Merge remote-tracking branch 'upstream/master' into issue-6459 2019-09-23 16:07:19 +03:00
Eldar Zaitov
b174833bdf Initial fuzzing support with libfuzzer 2019-09-22 13:34:09 +03:00
Ivan Lezhankin
9e46118edd Merge remote-tracking branch 'upstream/master' into issue-6459 2019-09-20 21:25:55 +03:00
Azat Khuzhin
b30dee621b
Search for ld.gold (since it is more common then just "gold") 2019-09-19 16:41:29 +03:00
alesapin
95f523ba4d Add comment 2019-09-17 12:53:12 +03:00
alesapin
33c3f7a6a2 Add gdb-index for gold linker with gdb-add-index tool 2019-09-17 12:49:27 +03:00
alesapin
24e9114288 Add gdb index to builds with debug info 2019-09-16 14:00:00 +03:00
Ivan Lezhankin
5b60053ef7 [WIP] 2019-09-13 17:56:27 +03:00
Ivan Lezhankin
e692a88196 CMake now works
Example: -DCMAKE_SYSTEM_NAME=Darwin -DSDK_PATH=${HOME}/stuff/MacOSX10.12.sdk -DLINKER_NAME=${HOME}/.local/bin/ld64
2019-09-13 17:56:27 +03:00
Ivan Lezhankin
1b5192706e Some fixes for OS X build. 2019-09-13 17:56:26 +03:00
Ivan Lezhankin
f01706ad11 Refactor some cmake files 2019-09-13 17:56:26 +03:00
Ivan Lezhankin
ac47427b76 cmake/test_cpu → cmake/cpu_features 2019-09-13 17:54:22 +03:00
Ivan Lezhankin
393bf8a804 cmake/find_* → cmake/find/* 2019-09-13 17:54:22 +03:00
Amos Bird
9152a832c4 Robust shared build 2019-09-12 04:01:46 +08:00
Amos Bird
a1310ffbe6 Split libdbms.so using object library
Now the linking time of incremental builds are around 1-2 seconds
2019-09-11 01:56:01 +08:00
proller
54a5b801b7 Build fixes (Orc, ...) (#6835)
* Fix build

* cmake: fix cpuinfo

* Fix includes after processors merge

Conflicts:
	dbms/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp
	dbms/src/Processors/Formats/Impl/ParquetBlockOutputFormat.cpp
	dbms/src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp
	dbms/src/Processors/Formats/Impl/ProtobufRowOutputFormat.cpp

* Fix build in gcc8

* fix test link

* fix test link

* Fix test link

* link fix

* Fix includes after processors merge 2

Conflicts:
	dbms/src/Processors/Formats/Impl/ParquetBlockInputFormat.cpp

* Fix includes after processors merge 3

* link fix

* Fix likely/unlikely conflict with cython

* Fix conflict with protobuf/stubs/atomicops.h

* remove unlikely.h

* Fix macos build (do not use timer_t)

* wip

* Fix build (orc, ...)

* Missing files

* Try fix

* fix hdfs

* Fix llvm 7.1 find
2019-09-10 00:40:40 +03:00
alexey-milovidov
358ad13930
Merge pull request #6715 from yandex/remove-mimalloc
Remove mimalloc
2019-08-30 00:41:33 +03:00
Ivan
b4339f266d
Make a better build scheme (#6500)
* Fix shared build
* Major default libs refactor
* Fix build with gcc_eh
* Link all libraries as a big group.
* Use global interface library as a group
* Build capnproto using our cmake
* Use only internal libunwind
2019-08-28 23:49:37 +03:00
Alexey Milovidov
39d50b5144 Remove mimalloc 2019-08-28 22:01:52 +03:00
Alexey Milovidov
75e124f390 Removed misleading flag from CMake 2019-08-23 18:05:27 +03:00
akonyaev
caf0d30a5f ADQM-34 add orc input format 2019-08-21 17:19:47 +03:00
Ivan
8b9284be24
Fix shared build (#6453)
* Fix shared build
* Enable no-undefined check only in CI
2019-08-13 17:08:28 +03:00
proller
1e8f04aaa7 Fix unbundled build 2019-08-09 20:16:07 +03:00
Alexey Milovidov
3558d8f360 Deprecate gcc-7 2019-08-04 22:58:46 +03:00
alexey-milovidov
14671d6df8
Merge pull request #6254 from yandex/fastops
Integration with "FastOps" library. Added functions sigmoid and tanh.
2019-08-04 06:28:34 +03:00
proller
77bd2624ea Build fixes (#6016)
* Fix building without submodules

* Fix more gcc9 warnings

* was wrong!
../dbms/src/IO/WriteBufferAIO.cpp:277:54: error: result of comparison 'ssize_t' (aka 'long') > 9223372036854775807 is always false [-Werror,-Wtautological-type-limit-compare]
    if ((static_cast<ssize_t>(flush_buffer.offset()) > std::numeric_limits<off_t>::max()) ||
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* mimalloc off MI_OVERRIDE

* Fix freebsd build

* Fix shared build

* Fix build in gcc9

* Fix split build

* fix

* fix

* fix

* fix

* clean

* zstd

* Update CMakeLists.txt

* Update Defines.h

* Try fix -Wsign-compare

* Freebsd fix

* Add missing libs

* Fix double-conversion include for copy-headers

* Fix zlib link

* Fix includes for arcadia

* Fix includes for arcadia

* Fix includes for arcadia

* Freebsd fix

* Arcadia fixes

* Update QueryProfiler.cpp

* Freebsd fix

* clean

* 19.11: Fixes for arcadia porting (#6223)

* fix glibc-compatibility

* M_LIBRARY fix

* wip

* Fix

* Fix arm build

* unwind fix

* Update CMakeLists.txt
2019-08-04 03:19:03 +03:00
Alexey Milovidov
0d55faf2dd Speed up stack traces for debug build 2019-08-03 23:47:57 +03:00
Alexey Milovidov
0dfca33e5b Fixed "splitted" build 2019-08-02 22:06:09 +03:00
Alexey Milovidov
fb3824f98b Merge branch 'master' into fastops 2019-08-01 01:59:59 +03:00
Alexey Milovidov
ae4ae9926d Fixed build with old gcc 2019-07-31 06:10:16 +03:00
Alexey Milovidov
372c4d89b2 Enabled line numbers in stack traces 2019-07-30 01:26:44 +03:00
Alexey Milovidov
b282c6160d Added "fastops" as submodule 2019-07-23 02:41:06 +03:00
alexey-milovidov
6706af64d7
Merge pull request #5981 from 4ertus2/some
Count new/delete memory in MemoryTracker
2019-07-18 23:07:00 +03:00
Ivan
2f68aa7207
Fix build with external libcxx (#6010)
* First attempt to fix build with external libcxx
* Fix build
2019-07-18 09:55:05 +03:00
chertus
91028e9e5d Merge branch 'master' into some 2019-07-15 13:45:48 +03:00
chertus
8c715d9b91 minor fix in cmake-files 2019-07-12 20:22:20 +03:00
Ivan Lezhankin
998aa795fc Merge remote-tracking branch 'upstream/master' into fix-filter-table 2019-07-10 18:14:15 +03:00
Ivan Lezhankin
befb3ce15b Merge branch 'master' into fix-filter-table 2019-07-10 13:27:26 +03:00
Alexey Milovidov
0690ec688f Temporarily disable libc++ for shared linking (TODO) 2019-07-10 11:24:57 +03:00
Alexey Milovidov
5debeabe3d Disable libc++ for gcc, because we still have to bundle LLVM 2019-07-10 01:23:48 +03:00
Alexey Milovidov
78366bf1f0 Merge branch 'libcxx-as-submodule' of github.com:yandex/ClickHouse into libcxx-as-submodule 2019-07-10 01:20:13 +03:00
Alexey Milovidov
a7e24e8d5a Fixed test 2019-07-10 01:19:59 +03:00
alexey-milovidov
1d14b9cc45
Merge branch 'master' into libcxx-as-submodule 2019-07-10 01:09:23 +03:00
Alexey Milovidov
d23ada9576 Fixed "unbundled" build 2019-07-10 00:16:04 +03:00
alexey-milovidov
069306591e
Update CMakeLists.txt 2019-07-09 22:55:43 +03:00
alexey-milovidov
cb05312ce0
Merge branch 'master' into libcxx-as-submodule 2019-07-09 22:35:03 +03:00
Ivan Lezhankin
9f01fa7aaa Implement getDatabaseName() and rename() for all storages 2019-07-09 18:40:21 +03:00
Alexey Milovidov
eeaf8d7430 Using libc++ even with gcc 2019-07-09 17:49:31 +03:00
Alexey Milovidov
20d7e67e6a Fixed dependencies in build 2019-07-09 16:41:51 +03:00
Alexey Milovidov
497ac88701 Merge branch 'master' into clean-cmakelists-for-libunwind 2019-07-09 16:41:26 +03:00
Alexey Milovidov
7f8eefedea Clean CMakeLists for libunwind. 2019-07-09 14:46:01 +03:00
alesapin
82e2266d88
Merge pull request #5896 from yandex/add_coverage_image_for_ci
Add coverage image for CI
2019-07-09 12:27:51 +03:00
Alexey Milovidov
ea295347a2 Fixed race condition in build 2019-07-09 03:11:17 +03:00
Alexey Milovidov
de7d5c44fc Fixed race condition in build 2019-07-09 03:08:04 +03:00
Alexey Milovidov
055ec8817b Clean CMakeLists 2019-07-09 02:58:14 +03:00
Alexey Milovidov
52bb292327 Merge branch 'master' into libcxx-as-submodule 2019-07-09 01:58:09 +03:00
alesapin
b3ebb4d784 Add coverage images for CI 2019-07-05 18:12:18 +03:00
Ivan Lezhankin
3050d4e1a9 Pass option as linker argument 2019-07-05 15:10:31 +03:00
Ivan Lezhankin
3b995bdb02 Add missing dependecies on sight to enable --no-undefined option 2019-07-04 17:05:55 +03:00
Alexey Milovidov
c0070317dd Addition to prev. revision 2019-07-03 22:36:54 +03:00
Alexey Milovidov
5ed4bb945e Addition to prev. revision 2019-07-03 22:35:50 +03:00
Alexey Milovidov
6b9df067d8 Merge branch 'master' into libcxx-as-submodule 2019-07-03 22:34:58 +03:00
Nikita Lapkov
9641d058d0 Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-07-01 21:11:26 +00:00
alexey-milovidov
c108882c5f
Merge pull request #5805 from yandex/BHYCHIK-h3-integration
Merge H3 integration
2019-07-01 01:02:16 +03:00
Alexey Milovidov
7ca7d6c774 Initial support for clang-tidy (not yet useful) 2019-06-30 21:56:53 +03:00
alexey-milovidov
feafcb21bd
Merge branch 'master' into h3-integration 2019-06-30 16:19:11 +03:00
Nikita Lapkov
2a131185b0 Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-06-28 18:20:23 +00:00
alexey-milovidov
6e77fc4abe
Merge pull request #5775 from yandex/lfalloc2mimalloc
Use mimalloc instead of lfallocator
2019-06-28 14:48:18 +03:00
proller
5fdc88075e Cmake: add option for coverage flags: WITH_COVERAGE 2019-06-27 20:37:24 +03:00
Danila Kutenin
e67431e455 Use mimalloc instead of lfallocator 2019-06-27 18:13:19 +03:00
Nikita Lapkov
92309eed3e Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-06-27 14:07:44 +00:00
proller
f111dbd45f Do not require gperf on build (#5701)
* Build fixes

* fix

* USE_GPERF

* wip

* wip

* wip

* test -j

* Simpler

* fix

* FunctionsURL.h -> URL/FunctionsURL.h

* clean

* clean

* Always use gperf-generated file

* Generator for tldLookup.generated.cpp

* clang-format
2019-06-21 02:50:53 +03:00
Ivan Remen
6ba6ee9bcd glibc compat for h3 2019-06-20 19:27:08 +03:00
proller
fa809de91f
Move all url functions to clickhouse_functions_url lib (#5696) 2019-06-20 18:49:54 +03:00
Ivan Remen
b439769aa7 Merge remote-tracking branch 'main/master' into h3-integration-fix 2019-06-20 13:53:17 +03:00
proller
3d8c8ee83c
Build fixes. Split config.h (#5686) 2019-06-20 12:12:49 +03:00
alexey-milovidov
9bdbd84263
Merge pull request #5030 from PerformanceVision/top_level_domain
Changing how the function (cutTo)firstSignificantSubdomain detect the tld (proposal)
2019-06-19 02:08:43 +03:00
alexey-milovidov
397ec9599e
Update CMakeLists.txt 2019-06-19 01:53:32 +03:00
alexey-milovidov
de8e0780d7
Update CMakeLists.txt 2019-06-19 01:53:13 +03:00
proller
1cb0ba5854 Cmake: better USE_STATIC_LIBRARIES and SPLIT_SHARED_LIBRARIES handling 2019-06-18 20:10:25 +03:00
Danila Kutenin
7e2b3b59b8 Fix gcc9 warnings and ICE's 2019-05-31 11:55:01 +03:00
favstovol
cec08ed148 Merge branch 'master' into add-ext-dict-cassandra
# Conflicts:
#	.gitmodules
#	contrib/CMakeLists.txt
#	dbms/src/Common/config.h.in
2019-05-22 21:43:13 +03:00
Vladimir Chebotarev
81706fc500 Specified exact path for libglibc-compatibility.a. [#CLICKHOUSE-2] 2019-05-20 12:51:49 +00:00
Vitaly Baranov
8ab4e4dcfe Use rapidjson when AVX2 instructions are not available. 2019-05-16 20:40:24 +03:00
proller
51ca4cbaa4
Build fixes (#5278) 2019-05-15 20:19:39 +03:00
Nikita Lapkov
9cd108b6d6 Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-05-12 13:40:17 +00:00
alexey-milovidov
4853b06f95
Merge pull request #5223 from proller/fix26
Build fixes
2019-05-09 11:38:20 +03:00
Vitaly Baranov
7ace113ac0 Use custom cmake file for simdjson and fix build 2019-05-08 16:20:25 +03:00
proller
cfb330eeb5 fix 2019-05-08 10:51:03 +03:00
proller
aeee7a00a6 wip 2019-05-08 10:45:52 +03:00
Guillaume Tassery
7c4541b127
Merge branch 'master' into top_level_domain 2019-04-26 12:30:23 +07:00
proller
ba4687e110
Cmake: dont use LINK_MODE (but use BUILD_SHARED_LIBS) (#5091) 2019-04-24 12:06:28 +03:00
alexey-milovidov
80cc6de2d0
Update CMakeLists.txt 2019-04-24 01:59:17 +03:00
alexey-milovidov
d1219f1b43
Merge branch 'master' into add-ext-dict-cassandra 2019-04-22 22:23:11 +03:00
Nikita Lapkov
954dbdc41e do not use libunwind with shared libraries 2019-04-21 16:28:54 +00:00
Nikita Lapkov
26c4df9d9c Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-04-21 09:24:48 +00:00
Guillaume Tassery
4cc0ee677a Use gperf perfect hash for checking with a better accurency the tld for firstSignificantSubdomain and cutToFirstSignificantSubdomain 2019-04-17 13:21:26 +07:00
Danila Kutenin
622b2c8472 Enable LFAlloc for MarkCache and UncompressedCache 2019-04-13 15:07:43 +03:00
Danila Kutenin
7f230cc134 LFAlloc added to clickhouse 2019-04-12 17:10:42 +03:00
Alexey Milovidov
c3d2b3066f Removed old library from the list 2019-04-11 23:16:43 +03:00
Alexey Milovidov
6697061d9f Use libunwind instead of libgcc_eh 2019-04-11 22:50:58 +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
Alexey Milovidov
3b9f3f5dbb Miscellaneous changes in CMakeLists 2019-04-11 21:58:31 +03:00
Oleg Favstov
95b812f518 Merge remote-tracking branch 'origin/master' into add-ext-dict-cassandra
# Conflicts:
#	dbms/tests/integration/image/Dockerfile
2019-04-11 11:21:12 +02:00
Oleg Favstov
60c9cc574f Merge branch 'master' into add-ext-dict-cassandra
# Conflicts:
#	.gitmodules
#	CMakeLists.txt
#	contrib/CMakeLists.txt
#	dbms/src/Common/config.h.in
2019-04-06 17:54:07 +03:00
proller
45591c9d83
Build and test fixes (#4873) 2019-04-02 12:43:53 +03:00
Nikita Lapkov
59748db2ff Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-03-29 10:50:26 +00:00
Nikita Lapkov
7f65c6d743 add libunwind to glibc compat 2019-03-29 10:44:28 +00:00
proller
0ac9d5a7c3 Try use CMAKE_LINK_DEPENDS_NO_SHARED 2019-03-28 16:46:32 +03:00
Ivan Remen
2fb5addc40 H3 library integration 2019-03-26 11:59:48 +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
Ivan
18e3dd137c
Fix build with default libs (#4722)
* Fix build with shared libs
* Fix Clang build for ubsan + int128 operations
2019-03-21 16:25:58 +03:00
Alexey Milovidov
2179cd67e7 Addition to prev. revision 2019-03-14 07:00:15 +03:00
Alexey Milovidov
e81d8e8b02 Fixed build 2019-03-12 21:35:23 +03:00
Alexey Milovidov
37b5e49508 Merge branch 'master' into libcxx-as-submodule 2019-03-12 20:05:56 +03:00
Alexey Milovidov
be57a14906 Fixed build 2019-03-11 22:51:44 +03:00
alexey-milovidov
8047b4907a Update CMakeLists.txt 2019-03-11 19:16:47 +03:00
Alexey Milovidov
3681c982f6 Link all libraries to "glibc-compatibility" 2019-03-11 19:16:35 +03:00
Alexey Milovidov
afa35d55d9 Fixed linking order of glibc-compatibility library 2019-03-11 19:16:29 +03:00
Alexey Milovidov
8f8e5a6201 Addition to prev. revision 2019-03-11 04:47:58 +03:00
Alexey Milovidov
c0adf7f658 Addition to prev. revision 2019-03-11 04:17:08 +03:00
Alexey Milovidov
9166acec56 Addition to prev. revision 2019-03-11 04:09:29 +03:00
Alexey Milovidov
880cbbb632 Merge branch 'master' into libcxx-as-submodule 2019-03-11 04:03:13 +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