proller
741117a390
Fix freebsd build. Little cmake fixes. ( #1634 )
2017-12-13 22:07:12 +03:00
proller
cc895f4698
Allow to build several binaries
2017-12-10 22:44:24 +03:00
proller
46fb94a3e4
Internal compiler: Use libclang-5.0 ( #1597 )
...
* Fix std::numeric_limits<__uint128_t>
* clean
* Better fix of std::numeric_limits<__uint128_t>
* Use clang 5.0 (release) as internal compiler
* message
* Fix werror
* fix
* fix
* fixing..
* note
* fix
* fix
* fix
* fix
* multi version
* fix
* fix
2017-12-08 11:28:08 +03:00
Alexey Milovidov
2c1d7ad343
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 03:31:46 +03:00
Alexey Milovidov
3786786aeb
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 07:19:46 +03:00
Alexey Milovidov
ab022d0882
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 05:59:59 +03:00
Alexey Milovidov
557357e8da
Better [#CLICKHOUSE-2].
2017-12-01 21:58:18 +03:00
proller
d116ee1ff9
Fix -Wno-unused-command-line-argument
2017-11-29 19:21:19 +03:00
proller
62956c4592
Disable warning unused-command-line-argument when ccache used
2017-11-29 19:00:20 +03:00
proller
7e89946ec0
Use -pthread flag for compile
2017-11-28 00:13:55 +03:00
proller
4b63d9a4c3
Cmake: fix link of some tests (missing pthread)
2017-11-27 23:39:06 +03:00
proller
269c2cea92
Cmake: clang + libc++ fixes
2017-11-27 23:14:16 +03:00
proller
3ff4d49972
Fix compiler warnings about unused options ( #1542 )
...
* Lib Parsers
* Update parseIdentifierOrStringLiteral.h
* Freebsd fix
* Try fix warnings
* fix
* libc++ test
* Core/Progress.h -> IO/Progress.h
* Core/FieldVisitors.h -> Common/FieldVisitors.h
* Fix link tests
* Fix freebsd link
* tests: sudo --non-interactive
2017-11-25 01:48:34 +03:00
proller
6ff1968196
Compile and likk optimize and fixes
2017-11-24 21:08:01 +03:00
Alexey Milovidov
087a379b7c
Using libc++ as default standard library when using clang [#CLICKHOUSE-2].
2017-11-20 08:10:04 +03:00
alexey-milovidov
02223e3962
Update CMakeLists.txt
2017-11-19 22:55:38 +03:00
proller
aa3dd03389
Split lib dbms to dbms + dbms_common_io
2017-11-17 22:19:49 +03:00
proller
fa65bdcf48
Fix realloc on freebsd and macos ( #1494 )
2017-11-16 22:17:09 +03:00
proller
16eb293b15
No more gcc-6 and clang 3.8
2017-11-16 20:47:54 +03:00
Alexey Milovidov
edcbf791fb
Miscellaneous [#CLICKHOUSE-2].
2017-11-16 20:40:54 +03:00
Alexey Milovidov
2029b38527
Fixed build [#CLICKHOUSE-3396].
2017-11-12 19:45:30 +03:00
Alexey Milovidov
c69264a316
Fixed build [#CLICKHOUSE-3396].
2017-11-12 17:32:07 +03:00
alexey-milovidov
9b18c6cb76
Embedded compiler ( #1484 )
...
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 15:58:40 +03:00
proller
d940d1713c
Cmake: silent poco warnings, use compiler version defenition by cmake ( #1440 )
...
Cmake: silent poco warnings, use compiler version definition by cmake
2017-11-03 00:30:27 +03:00
proller
8aafa3b042
Cmake: fix warnings ( #1437 )
...
* Cmake: fix warnings
* Tests: replace 127.0.0.1 -> localhost
2017-11-02 17:14:16 +03:00
Marek Vavruša
0d942a69c5
DataStreams: added Cap’n Proto format support
...
Cap'n Proto is a binary message format.
Like Protocol Buffers and Thrift (but unlike JSON or MessagePack), Cap'n Proto messages are strongly-typed and not self-describing. Due to this, it requires a schema setting to specify schema file and the root object. The schema is parsed on runtime and cached for each SQL statement.
2017-10-27 23:03:51 +03:00
alexey-milovidov
8c327e9378
Revert "Make gperftools (libtcmalloc) as submodule and update. ( #1381 )"
...
This reverts commit fa2484ea90
.
2017-10-24 22:18:15 +03:00
proller
fa2484ea90
Make gperftools (libtcmalloc) as submodule and update. ( #1381 )
...
* Update tcmalloc and make submodule
* wip
* wip
* wip
* wip
* clean
* fix
* fix
* fix
* Fix tests
2017-10-24 22:11:42 +03:00
Marek Vavruša
011658bb02
contrib: include librdkafka as submodule
2017-10-10 08:33:00 -07:00
Alexey Milovidov
a726f2831c
Enabled "GLIBC_COMPATIBILITY" option by default [#CLICKHOUSE-3275].
2017-09-17 01:41:20 +03:00
Alexey Milovidov
7a85eab260
Disabled increased inline-depth for clang [#CLICKHOUSE-2].
2017-09-17 01:33:05 +03:00
Alexey Milovidov
bf5ef11933
Properly specify inline-depth for clang [#CLICKHOUSE-2].
2017-09-15 17:30:13 +03:00
Alexey Milovidov
9867a7007d
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-15 13:12:55 +03:00
Alexey Milovidov
3523059be9
Increased inline depth for clang (it must inline as good as gcc) [#CLICKHOUSE-2].
2017-09-15 13:12:50 +03:00
Alexey Milovidov
660926c215
Better GLIBC_COMPATIBILITY option [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
Alexey Milovidov
860c19bad3
Refined "GLIBC_COMPATIBILITY" option [#CLICKHOUSE-3275].
2017-09-15 12:51:56 +03:00
proller
06c7d4315f
Cmake fixes (#CLICKHOUSE-3303) ( #1229 )
...
* Cmake fixes (#CLICKHOUSE-3303)
2017-09-11 18:51:32 +03:00
Alexey Milovidov
fabfed6f22
Added support for "include-what-you-use" tool [#CLICKHOUSE-2].
2017-09-10 09:51:27 +03:00
Alexey Milovidov
32d8d7d908
Fixed build with libc++ [#CLICKHOUSE-3174].
2017-09-09 04:01:36 +03:00
Alexey Milovidov
62f760ef36
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-09 03:37:04 +03:00
Alexey Milovidov
c46c6b66d5
Fixed static linking of libc++ (ugly) [#CLICKHOUSE-3174].
2017-09-09 03:36:53 +03:00
proller
84c0470bcb
cmake: ccache detect proper version ( #1222 )
2017-09-09 03:32:34 +03:00
Alexey Milovidov
a0f6f406c8
Initial support for build with libc++ instead of libstdc++ (incomplete) [#CLICKHOUSE-3174].
2017-09-09 03:06:06 +03:00
Alexey Milovidov
0dcee75180
Supporessed useless false positive errors found by cppcheck [#CLICKHOUSE-3300].
2017-09-07 22:13:37 +03:00
proller
1a8e22c37f
Allow compile on 32bit systems ( #1175 )
...
* Trying compile under 32bit..
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* clnag-format of Split ComplexKeyCacheDictionary
* wip
* Requested changes
* wip
* wip
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* wip
* Fix arm build
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* fix
* wip
* wip
* clean
* clean
* wip
* wip
* Update MergeTreeSettings.h
* Requested changes
* Requested changes
* Requested changes
* Requested changes
2017-09-01 20:21:03 +03:00
proller
47705e21a5
Cmake: ccache detect fix
2017-08-23 18:42:15 +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
465d305479
gcc7 and arm fixes ( #1041 )
...
* 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
2017-07-29 22:58:10 +03:00
proller
76c19c2d4d
Do not use ccache if ccache defined in CMAKE_CXX_COMPILER_LAUNCHER
2017-07-27 17:16:24 +03:00
proller
5f39c82e92
Use ccache if found
2017-07-26 22:31:49 +03:00
proller
6692fd453f
Allow compile with clang 3.8 with warning ( #1021 )
...
* Fix missing includes
* clean
* Allow compile with clang 3.8 with warning
* Add message
2017-07-24 20:18:23 +03:00
alexey-milovidov
095261c579
Update CMakeLists.txt
2017-07-22 01:45:05 +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
proller
2d359fee54
Make libunwind optional. Allow use custom libcctz ( #920 )
...
* Make libunwind optional. Allow use custom libcctz
* fix
* Fix
* fix
* Update BaseDaemon.cpp
* Update CMakeLists.txt
2017-06-23 17:41:07 +03:00
alexey-milovidov
c9c8c8ec50
Better option to disable mysqlclient ( #710 )
...
* Better support for disabling libmysqlclient [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 03:25:57 +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
85b4007286
Freebsd: Cmake: fix etc path
2017-04-12 21:59:31 +03:00
proller
72ccc69212
Debian: simpler package ( #662 )
...
* Allow use external re2 with re2_st=re2
* fix
* remove dupe
* use re2_st in FunctionsStringSearch.h
* fix
* move files from tools/etc to debian
* dont generate control
* version
* ok.
* wip
* Cmake: dont touch CMAKE_INSTALL_PREFIX
* wip
* works!
* clean
* okay
* like old
* wip
* wip
* okay
* clickhouse-server-base-dbg
* clean
* clickhouse-server-dbg
* Debian: Remove daemons
* Update rules
* add source/format
* control clean
* add watch
* clean
* clean
* temp fix build
* clean
* docs
* fake make_control
* fix
* testme
* testme
* add metrika package
* fake metrika files
2017-04-10 20:43:30 +03:00
proller
13e9b5c949
Cmake: dont touch CMAKE_INSTALL_PREFIX
2017-04-06 15:57:15 +03:00
Alexey Milovidov
34b51f61a6
Enabled C++17 [#CLICKHOUSE-2].
2017-04-01 11:51:30 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
proller
37f3ccb1ab
cmake: split USE_STATIC_LIBRARIES to USE_STATIC_LIBRARIES + MAKE_STATIC_LIBRARIES
...
fix freebsd install path
fix TEST_COVERAGE flags
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
Vitaliy Lyudvichenko
0901f90625
CMake minimum required version is updated up to 2.8 . [#CLICKHOUSE-2]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
f19b82e4ea
CMAKE_INSTALL_PREFIX is /usr. [CLICKHOUSE-2]
2017-03-24 12:42:08 +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
5b8ed657f9
fix build ( #602 )
...
* fix build
* fix freebsd
2017-03-16 18:04:05 +03:00
proller
28ed324702
add cmake option USE_VECTORIZED_MATH_FUNCTIONS, reorganize auto configs
2017-03-16 13:51:41 +04: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
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