Commit Graph

748 Commits

Author SHA1 Message Date
Azat Khuzhin
fe98e90d0d Avoid conflicts of static zlib and mariadb-connector-c zlib
After crc32() had been replaced with crc32_z() the following error will
happen with two different zlib:
  2019-10-25 09:48:42 /usr/bin/ld.gold: error: contrib/zlib-ng/libz.a(crc32.c.o): multiple definition of 'get_crc_table'
  2019-10-25 09:48:42 /usr/bin/ld.gold: contrib/mariadb-connector-c/libmariadb/libmariadbclient.a(crc32.c.o): previous definition here

Fix this by using zlibstatic compiled for and by CH in
mariadb-connector-c, and wrap into function reduce variable scopes.
2019-10-25 23:32:33 +03:00
alesapin
7e5b05bbe8
Revert "Remove hardcoded paths in unwind target" 2019-10-24 23:55:41 +03:00
Konstantin Podshumok
d1a19d26e8
Remove hardcoded paths in unwind target
In most cases they match defaults now, but it is too hard to override when one needs to (alternative builds)
2019-10-23 20:33:40 +03:00
alexey-milovidov
2a9e2ab45c
Merge pull request #7388 from amosbird/ubunaligned
murmurhash32 ubsan fix.
2019-10-19 06:21:20 +03:00
Amos Bird
ecebbbf5a6
murmurhash32 ubsan fix. 2019-10-19 03:25:20 +08:00
Ivan
e595df05d9
Fix CREATE TABLE AS from table with virtual columns (#7183)
* Disable undefined instrumentation for rdkafka
2019-10-17 14:12:35 +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
Ivan
381947509a
Fix build for Darwin (#7149)
* Disable some contribs for cross-compilation
* Fix clang-8-darwin build
* Also fix docs
* Add diagnostics
* Check cross-compilation in each file individually.
* Disable warning for clang < 9
2019-10-02 17:35:07 +03:00
Yuriy
c6b18c9fe8 disabled auth_gssapi_client plugin 2019-09-28 03:27:53 +03:00
Yuriy
403b156114 fixed build without glibc-compatibility 2019-09-25 01:30:26 +03:00
Yuriy
dfb762d93c Revert "Revert "Updated MariaDB""
This reverts commit f8b7cc8693.
2019-09-25 01:28:59 +03:00
Yuriy Baranov
f8b7cc8693
Revert "Updated MariaDB" 2019-09-24 05:11:52 +03:00
alexey-milovidov
2f195ddb03
Merge pull request #7028 from abyss7/issue-6459
Implement cross-compilation support Linux → Darwin
2019-09-24 02:20:17 +03:00
alexey-milovidov
4602de0e2c
Merge pull request #6945 from yurriy/mysql
Updated MariaDB
2019-09-24 02:16:12 +03:00
Yuriy
eb0d7073df Merge branch 'mysql' of https://github.com/yurriy/ClickHouse into mysql 2019-09-23 21:03:28 +03:00
Yuriy
2b5d8d53d9 updated mariadb-connector-c 2019-09-23 21:02:57 +03:00
Ivan Lezhankin
ce2fb6d3d1 Fix build 2019-09-23 17:46:01 +03:00
alexey-milovidov
f3ba89ccef
Empty commit to trigger CI 2019-09-23 01:48:21 +03:00
Yuriy
e42e26a453 updated contrib/mariadb-connector-c 2019-09-22 04:57:58 +03:00
Ivan Lezhankin
9e46118edd Merge remote-tracking branch 'upstream/master' into issue-6459 2019-09-20 21:25:55 +03:00
Ivan Lezhankin
967e00a8da It works!
if compiled with:

CC=clang CXX=clang++ cmake -Wno-dev . -Bbuild -GNinja -DCMAKE_AR:FILEPATH=x86_64-apple-darwin-ar -DCMAKE_RANLIB:FILEPATH=x86_64-apple-darwin-ranlib -DCMAKE_SYSTEM_NAME=Darwin -DSDK_PATH=MacOSX10.14.sdk -DLINKER_NAME=x86_64-apple-darwin-ld -DUSE_SNAPPY=OFF -DENABLE_SSL=OFF -DENABLE_PROTOBUF=OFF -DENABLE_PARQUET=OFF -DENABLE_READLINE=OFF -DENABLE_ICU=OFF -DENABLE_FASTOPS=OFF
2019-09-20 20:09:22 +03:00
Azat Khuzhin
780341060f
Replace libsparsehash with sparsehash-c11
- use sparsehash-c11 over libsparsehash
- fix typos in find_sparsehash and users of the vars (s/SPARCE/SPARSE/)
- drop libsparsehash-dev from docker images (but keep for unbunlded build)
- use ::google over GOOGLE_NAMESPACE
2019-09-18 00:08:20 +03:00
Yuriy
89524cff46 link with glibc-compatibility before libm 2019-09-16 05:32:38 +03:00
Yuriy Baranov
2d53ab3f18 Merge remote-tracking branch 'origin/master' into mysql 2019-09-16 01:29:09 +00:00
Yuriy
040e63eba4 disabled tests of mariadb-connector-c 2019-09-16 01:30:55 +03:00
Yuriy
fd0c76131f removed contrib/mariadb-connector-c-cmake 2019-09-15 23:44:34 +03:00
Yuriy
84cfbb8e69 simplified mariadb-connector-c compilation and fixed caching_sha2_password plugin 2019-09-15 23:09:09 +03:00
Ivan Lezhankin
8c356a3830 WIP 2019-09-15 18:20:31 +03:00
Amos Bird
7b30835b13 Fix build error when cmake_minimum_required(3.12) 2019-09-10 20:46:39 +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
Ivan
cd5c0fc9ac
Fix build issues (#6744)
* libcxxabi uses exception handling library as public
* Don't set -stdlib for internal libc++ - it poisons the checks.
* Enable capnproto in unbundled build back
2019-08-30 20:40:27 +03:00
alexey-milovidov
358ad13930
Merge pull request #6715 from yandex/remove-mimalloc
Remove mimalloc
2019-08-30 00:41:33 +03:00
Alexey Milovidov
260b8c7fa7 Removed obsolete directory 2019-08-29 18:32:25 +03:00
Ivan Lezhankin
0e606c790e Fix install of libcxx and libcxxabi 2019-08-29 16:38:18 +03:00
Ivan Lezhankin
36abd1e6fc Fix build 2019-08-29 14:09:01 +03:00
Ivan Lezhankin
85afd61c01 Fix build with internal libcxx 2019-08-29 13:44:22 +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
abdd70fcc4 Fixed "splitted" build 2019-08-23 18:01:36 +03:00
Alexey Milovidov
dce9753215 Fix splitted build. 2019-08-23 00:44:40 +03:00
akonyaev
caf0d30a5f ADQM-34 add orc input format 2019-08-21 17:19:47 +03:00
alexey-milovidov
c0514ddd9b
Merge pull request #6512 from yurriy/sha256-in-mariadb-connector-c
Enabled sha256_password plugin in MariaDB Connector/C
2019-08-18 01:47:37 +03:00
Vitaly Baranov
e7a2565290
Merge pull request #6479 from vitlibar/no-allocation-in-simdjson-iterator
Get rid of dynamic allocation in ParsedJson::Iterator.
2019-08-16 20:58:16 +03:00
Yuriy
d78c4ec7b9 dependencies of caching_sha2_pw.c 2019-08-16 19:27:49 +03:00
Vitaly Baranov
69ed5279b5 Get rid of dynamic allocation in ParsedJson::Iterator. 2019-08-16 15:48:48 +03:00
Yuriy
d8efa5a842 added missing caching_sha2_pw.c 2019-08-16 03:59:59 +03:00
Yuriy
c08d01cfb4 linking caching_sha2_password plugin statically 2019-08-16 02:03:58 +03:00
Yuriy
b288611472 static linking of sha256_password in mariadb-connector-c 2019-08-16 01:03:30 +03:00
alesapin
cdc6d6c1ba
Merge pull request #6466 from yandex/poco-check-bad-uri
Check bad URIs in Poco library
2019-08-14 14:43:50 +03:00
Vitaly Baranov
75aa1d7858
Merge pull request #6320 from yandex/simdjson-sse42
Enabled SIMDJSON for SSE 4.2 with PCLMUL instruction set
2019-08-13 23:12:40 +03:00