Commit Graph

91 Commits

Author SHA1 Message Date
proller
0e91c47066 Allow build with external double-conversion lz4 zstd re2 zookeeper (#531)
* Allow build with external double-conversion lz4 zstd re2 zookeeper

* fix

* fix

* freebsd fixes

* spaces

* fix

* fix

* fix

* wip

* move

* fix
2017-03-01 03:49:04 +04:00
Jean Baptiste Favre
26ddf808b5 Fix bad USE_INTERNAL_GPERFTOOLS_LIBRARY not using UNBUNDLED
UNBUNDLED is supposed to set every USE_INTERNAL_* variables to 0.
This is not the case with USE_INTERNAL_GPERFTOOLS_LIBRARY which only depends on wether we're running FreeBSD.
This patch aims to:
- set USE_INTERNAL_GPERFTOOLS_LIBRARY to 0 when running FreeBSD
- set USE_INTERNAL_GPERFTOOLS_LIBRARY to NOT_UNBUNDLED for other systems
2017-02-14 21:37:46 +01:00
proller
f8d2f19280 Fix odbc include, clang-format fixes, misc (#484)
* Cmake: fix fallback to internal libs if no external found

* wip

* style

* fix
2017-02-13 17:59:34 +04:00
alexey-milovidov
cee5ab01fb Merge branch 'master' into merge_with_metrika 2017-02-11 00:27:15 +04:00
Pavel Kartavyy
eceb688c7f skip adding add_check command if parent project already has one 2017-02-09 18:35:58 +03:00
proller
9bbe8fe5c4 Dynamic library mode (#471)
* Cmake: UNBUNDLED option

* Dynamic library mode
2017-02-08 22:53:00 +04:00
proller
f87ae6808f cmake: USE_INTERNAL_ZLIB_LIBRARY (#463)
* Correct fix of building with external poco with disabled sending progress

    Revert "Removed wrong code [#CLICKHOUSE-2]."

    This reverts commit 33f9917f53.

* fix

* fix

* cmake: USE_INTERNAL_ZLIB_LIBRARY
2017-02-08 01:28:13 +04:00
proller
b2b16b407f More include fixes (#462)
* More include fixes

* fix
2017-02-08 01:26:32 +04:00
proller
716633120e Cmake: UNBUNDLED option 2017-02-07 09:34:26 +04:00
Pavel Kartavyy
224ba16dcb use project source and binary dirs instead of global dirs 2017-02-06 18:15:19 +03:00
proller
9409419258 --no-pie flag have no effect in ubuntu, using -no-pie with test (#422)
* Cmake: fix apple build

* --no=pie flag have no effect in ubuntu, using -no-pie with test

* better
2017-01-31 00:09:11 +03:00
proller
f3526cb592 Cmake: fix apple build (#420) 2017-01-30 20:11:43 +03:00
proller
33347ad9c3 Cmake: some fixes 2017-01-30 16:40:04 +03:00
Konstantin Podshumok
2c488b7cbc CMakeLists.txt: "-no-pie" should be "---no-pie" 2017-01-30 09:15:11 +04:00
proller
46037bb670 Allow link with jemalloc (#404)
* Allow link with jemalloc

* wip

* fix

* fix
2017-01-28 00:00:02 +04:00
proller
8b4b1534e3 Cmake: Test on having sse (#405)
* Cmake: Test on having sse

* fix

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* fix

* fix

* fix

* fix
2017-01-27 23:55:33 +04:00
proller
e715ddd72a SELECT * FROM system.build_options [#METR-24175] (#398)
* start [#METR-24175]

* missing

* wip

* add spaces

* wip

* wip

* fix

* fix

* missing

* style fix
2017-01-26 02:24:36 +04:00
proller
f890af1f8d Remove code and includes from Collator.h, fix including <unicode/...> in dbms (#395) 2017-01-25 22:19:15 +04:00
proller
38040f5323 Сmake: more info in message about libreadline (#376)
* Cmake: more info in message about libreadline

* icu cmake

* cmake: glib message
2017-01-20 23:57:30 +04:00
Alexey Milovidov
fd0f387276 Added comment [#CLICKHOUSE-3]. 2017-01-19 22:32:40 +03:00
proller
04d2149e8a enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR… (#372)
* enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR=1'  option

* add -Werror for utils
2017-01-19 23:30:58 +04:00
proller
b2eb3787ab Fix package build 2017-01-18 17:10:04 +03:00
proller
7e21f1dd14 Fix build with -D NO_TCMALLOC, better sanitizers calls (#355)
* Fix generate includes for clang

* Fix build with -D NO_TCMALLOC, better sanitizers calls
2017-01-18 16:41:47 +04:00
proller
853d538dce Add -pipe flag to compilers 2017-01-17 17:03:37 +03:00
proller
29475c94c0 Reorganize includes, less depends in .h files 2017-01-16 22:47:11 +03:00
proller
718b765742 Fix no-pie with clang 2017-01-16 19:29:11 +03:00
proller
e2bc0c7471 Add -no-pie flag to linker in static mode 2017-01-13 23:11:21 +03:00
proller
ee3882f251 Allow link with external libs: poco, tcmalloc 2017-01-13 14:25:44 +03:00
proller
ecb7642c4f Freebsd: preparing port, misc build/install chandes 2017-01-12 13:51:30 +00:00
proller
4bfa697656 Add more search paths to find_mysqlclient.cmake, rename find_libmysqlclient.cmake -> find_mysqlclient.cmake 2017-01-12 15:20:43 +03:00
Alexey Zatelepin
c1e8b674e0 add missing zlib include dir [#METR-23582] 2017-01-09 16:07:42 +03:00
Alexey Zatelepin
1b61f2a9d3 use zlib-ng from contrib everywhere [#METR-23582] 2017-01-08 22:24:38 +03:00
proller
4bc003c4c1 Porting to freebsd: initial, compile ok, most tests ok. 2016-12-24 01:03:10 +00:00
artpaul
ee9cd22656 define BOOST_SYSTEM_NO_DEPRECATED to fix build some binaries 2016-12-18 02:54:30 +05:00
Vitaliy Lyudvichenko
876ad28dd8 Merge remote-tracking branch 'origin/master' into metrics_refinement 2016-12-12 19:17:23 +03:00
Vitaliy Lyudvichenko
80cd00542c Improved benchmark and CMakeLists. 2016-12-12 18:23:21 +03:00
Alexey Milovidov
fbc0eac83a Enabled CXX11_ABI [#METR-2944]. 2016-12-12 08:42:18 +03:00
Alexey Milovidov
58a8cff3ae Using internal boost library [#METR-2944]. 2016-12-12 07:17:16 +03:00
Alexey Milovidov
599308aef0 Get rid of obsolete mongodb client library [#METR-23791]. 2016-12-11 12:43:16 +03:00
Vitaliy Lyudvichenko
decf424dfc Prefer CMake option() instead of set(...CAHE BOOL...). 2016-12-09 18:39:50 +03:00
Alexey Milovidov
050fc63694 More fine setting of CXX11_ABI [#METR-23646]. 2016-12-08 09:34:16 +03:00
Vladimir Chebotarev
eb552f2943 cmake: Improved copy_headers.sh script, minor fixes. [#METR-21516] 2016-12-06 21:04:10 +03:00
Vladimir Chebotarev
ca5c1dc31b cmake: Improved build. [#METR-21516] 2016-12-06 19:51:34 +03:00
Vladimir Chebotarev
cdd08c21ec cmake: add_check to cmake/. [#METR-21516] 2016-12-06 16:46:21 +03:00
Vladimir Chebotarev
58b2b6b6a6 cmake: Minor improvement. [#METR-23701] 2016-12-06 16:42:53 +03:00
Vladimir Chebotarev
0380927f28 cmake: Build fix. [#METR-23701] 2016-12-06 16:35:28 +03:00
Vladimir Chebotarev
8e1a6aaf3e cmake: Boost, OpenSSL into find_package(). [#METR-23701] 2016-12-06 16:20:32 +03:00
Vladimir Chebotarev
b8c6d475f1 : CXX11_ABI was disabled. [#METR-21516] 2016-12-05 20:24:34 +03:00
Vladimir Chebotarev
bcc5500f91 cmake: More options. [#METR-23701] 2016-12-05 15:43:14 +03:00
Vitaliy Lyudvichenko
4df22acea9 Try to fix LIBTCMALLOC linking. 2016-11-30 15:10:39 +03:00