Commit Graph

80 Commits

Author SHA1 Message Date
Vladimir Chebotarev
16b964d04d cmake: Avoiding check target conflicts. [#CHEBOTAREV-14] 2017-08-24 16:37:27 +03:00
proller
44f669c1ca Cmake: fix USE_INTERNAL_BOOST_LIBRARY=0 2017-08-18 02:02:51 +03:00
proller
4988cb9f03 Issue #1110 : Fix build without installed boost (#1115) 2017-08-17 21:17:17 +03:00
proller
175cd99288 Freebsd fixes: fix build with libc++, fix find system lib double-conversion (#1109)
* Cmake: Don't detect and use -no-pie flag with clang

* Camke: find_unwind: Fix disable on arm

* Freebsd fixes: fix build with libc++, fix find system lib double-conversion
2017-08-17 00:01:43 +03:00
proller
1f2c4fc754 Cmake: Don't detect and use -no-pie flag with clang 2017-08-14 17:58:47 +03:00
proller
101302b56c Cmake: always link ltdl for internal PocoDataODBC (#1089)
* Cmake: always link ltdl for internal PocoDataODBC
2017-08-10 20:12:52 +03:00
proller
ac178bde1f Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM (#1083)
* Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM

* Fix lib find order

* Allow define non-contrib cityhash farmhash metrohash

* Fix message

* Cmake: fixes

* clean

* Update CMakeLists.txt
2017-08-09 23:52:55 +03:00
proller
d6833a0d55 Cmake: remove global include_directories (#1055)
* Fix .h compile

* Cmake: remove global include_directories

* boost include hide

* fix cctz

* add \n
2017-08-03 15:44:39 +03:00
proller
460d66c68d Split FunctionsArray.cpp register (#1043)
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers

* Missing file

* gcc7 fixes

* clnag-format of Split ComplexKeyCacheDictionary

* Requested changes

* Fix boost 1.64 and gcc7+ compile errors

* More fixes

* Fix arm build

* Fix nothrow

* Better arm detection

* Split FunctionsArray.cpp register
2017-07-30 15:31:58 +03:00
proller
ff7f3af238 Split FunctionsArithmetic.cpp to generated functions 2017-07-26 21:32:35 +03:00
proller
b172f7a0f1 Cmake: clear test variables with CMakePushCheckState (it will fix macos build issue) (#992) 2017-07-17 17:21:43 +03:00
proller
4db8d09de9 Reorganize includes. part 1 (#921)
* Make libunwind optional. Allow use custom libcctz

* fix

* Fix

* fix

* Update BaseDaemon.cpp

* Update CMakeLists.txt

* Reorganize includes. part 1

* Update dbms_include.cmake

* Reorganize includes. part 2

* Reorganize includes. part 3

* dbms/src/Common/ThreadPool -> libs/libcommon

* Reorganize includes. part 4

* Fix print_include_directories

* Update thread_creation_latency.cpp

* Update StringRef.h
2017-06-23 23:22:35 +03:00
Alexey Milovidov
ff02af9804 Addition to prev. revision [#CLICKHOUSE-2]. 2017-05-09 22:45:21 -04:00
proller
a2909ed607 cmake/find_libtool.cmake: fix mistake 2017-04-28 16:58:44 +03:00
proller
c3a62f1bb0 Fix build without icu and readline 2017-04-24 06:28:28 +03:00
proller
1d89eafa12 cmake: fix POCO_ENABLE_MONGODB 2017-04-19 19:16:48 +03:00
alexey-milovidov
35abae95c8 Allow to disable ICU (#711)
* Allow to disable ICU [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 04:06:29 +03:00
proller
ab5e6c4840 Fix build without installd unixodbc (#708)
* Fix build without installd unixodbc

* clean

* no openssl error

* fix

* fix
2017-04-19 03:21:16 +03:00
proller
11218b9ba5 cmake: remove hardcoded src/ in macros add_headers_and_sources 2017-04-04 15:37:04 +03:00
Alexey Milovidov
a7c87811e6 Moved headers and sources to same place (part 3) [#CLICKHOUSE-3]. 2017-04-01 13:19:58 +03:00
Alexey Milovidov
ab314a47bf Moved headers and sources to same place (part 2) [#CLICKHOUSE-3]. 2017-04-01 13:08:56 +03:00
Alexey Milovidov
137ad95929 Changed tabs to spaces in code [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
Alexey Milovidov
4f44445ff0 Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//' 2017-03-31 19:00:30 +03:00
proller
8a9d9dddb4 Allow build with poco with disabled MongoDB or DataODBC or NetSSL (#636)
* partial poco support

* fix

* fix optional ssl

* servier without netssl

* fix link order

* testme

* requested changes

* throw on https listen, shutdown tip
2017-03-28 23:30:57 +03:00
proller
c90709b38e Fix find boost version, dont use old boost if found 2017-03-28 20:50:58 +03:00
Vitaliy Lyudvichenko
2ab25099cd Move boost::tests to Google Tests. [#CLICKHOUSE-2] 2017-03-28 20:46:16 +03:00
proller
9cf97911db fix USE_INTERNAL_ZLIB_LIBRARY=0 with poco (#608)
* Try fix double version up during release

* fix moveing cmake files

* fix USE_INTERNAL_ZLIB_LIBRARY=0 with poco
2017-03-17 16:04:17 +03:00
proller
28ed324702 add cmake option USE_VECTORIZED_MATH_FUNCTIONS, reorganize auto configs 2017-03-16 13:51:41 +04:00
proller
d777cab172 link Storages/System via lib 2017-03-15 23:43:02 +04:00
Alexey Milovidov
30aae40300 Removed usage of iconv [#CLICKHOUSE-2879]. 2017-03-11 07:39:16 +03:00
proller
b6e01cd47e Fix isolated usage of all .h files, move some code to .cpp (#578)
* split ColumnAggregateFunction.h

* format

* Allow use re2_st without cmake

* use std type in find_first_symbols.h

* fix ArrayEvaluator.h

* include fixes

* split ColumnConstAggregateFunction.h

* fix StorageMaterializedView.h

* split AddingDefaultBlockOutputStream.h

* move CSVRowInputStream::updateDiagnosticInfo to .cpp

* split ParserEnumElement.h

* format

* split DB/Parsers/ParserUseQuery.h

* clean
2017-03-11 04:27:59 +04:00
proller
293b8b958c Allow use external re2 with re2_st=re2 (#547)
* Allow use external re2 with re2_st=re2

* fix

* remove dupe

* use re2_st in FunctionsStringSearch.h

* fix
2017-03-07 20:10:04 +04:00
proller
84018addf0 fix zookeeper include 2017-03-01 14:33:56 +03:00
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
proller
57c336f267 HTTPDictionarySource support HTTPS (#510)
* https support in dictionaries

* Style
2017-02-28 01:07:57 +04:00
Alexey Milovidov
f46f3f9ea0 Added patch from ks1322 [#CLICKHOUSE-3]. 2017-02-13 21:38:21 +03:00
alexey-milovidov
cee5ab01fb Merge branch 'master' into merge_with_metrika 2017-02-11 00:27:15 +04:00
proller
a1e1e6da66 Cmake: fix fallback to internal libs if no external found 2017-02-09 01:50:48 +04: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
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
84e4fb00bd Freebsd: fix external tcmalloc link (#452) 2017-02-03 18:19:12 +03:00
proller
c51801d776 Change default user and paths [#CLICKHOUSE-2715] (#382)
* Changing default user to clickhouse and path to /var/lib/clickhouse [#CLICKHOUSE-2715]

* wip

* Auto version update to [54141]

* Get version from saved in cmake
2017-01-31 23:53:05 +04:00
proller
9cea606881 Fix linking iconv under macos and freebsd
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1.
2017-01-31 04:15:59 +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
33347ad9c3 Cmake: some fixes 2017-01-30 16:40:04 +03: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
70e641f58a Fix readline finding on mac; use config for readline vars (#397)
* Fix readline finding on mac; use config for readline vars

* fix
2017-01-26 00:14:41 +04:00