Commit Graph

1083 Commits

Author SHA1 Message Date
Nikita Mikhaylov
56abedfb2b Clang tidy 2021-09-10 12:04:43 +00:00
Azat Khuzhin
ba7918886f Fix ccache [4.0, 4.2) (RULE_LAUNCH_COMPILE/RULE_LAUNCH_LINK was incorrect)
Before the compilation contains ccache twice:

    env -u SOURCE_DATE_EPOCH /usr/bin/ccache prlimit --as=10000000000 --data=5000000000 --cpu=600 /usr/bin/ccache /usr/bin/clang++-11

So remove ccache from RULE_LAUNCH_COMPILE/RULE_LAUNCH_LINK
2021-09-10 08:45:29 +03:00
mergify[bot]
937eeb9fed
Merge branch 'master' into enable-gcc-11 2021-09-09 22:44:10 +00:00
Azat Khuzhin
a8c61f1d63 Build w/ ENABLE_EMBEDDED_COMPILER in shared build on CI 2021-09-10 01:10:57 +03:00
Maksim Kita
31766575e0
Merge pull request #28820 from azat/llvm-shared
Fix shared build with ENABLE_EMBEDDED_COMPILER
2021-09-10 00:49:18 +03:00
Sergei Semin
c12fc30e4a fix compiler version in cmake/tools.cmake to support both clang-12 and clang-13 2021-09-09 23:51:47 +03:00
Sergei Semin
5a291c13c7 solve problem with linker 2021-09-09 23:51:47 +03:00
Azat Khuzhin
0562d64368 Do not override ENABLE_EMBEDDED_COMPILER each time 2021-09-09 22:41:26 +03:00
Nikita Mikhaylov
513d40feb2 Fix build 2021-09-09 14:59:25 +00:00
robot-clickhouse
fc4f119417 Auto version update to [21.11.1.1] [54456] 2021-09-09 12:03:29 +03:00
robot-clickhouse
9d8509d37e Auto version update to [21.10.1.8013] [54455] 2021-09-09 11:59:15 +03:00
Nikita Mikhaylov
dcf7cb4a5c Done 2021-09-08 17:33:40 +00:00
alesapin
5f9952d742 Add clang-tidy-12 2021-09-04 15:56:19 +03:00
mergify[bot]
6ccf905133
Merge branch 'master' into try-llvm-12 2021-09-03 16:13:13 +00:00
Kseniia Sumarokova
8c5acc371a
Merge pull request #28365 from kssenii/rabbitmq-ssl
Allow ssl connection for rabbitmq
2021-09-03 16:53:28 +03:00
Nikita Mikhaylov
a3f008c626 Enable define from cmake 2021-09-03 08:30:03 +00:00
kssenii
335b6f12fd Fix 2021-08-30 20:59:03 +03:00
Ilya Yatsishin
7f7ecb0c60
Merge branch 'master' into try-llvm-12 2021-08-26 18:58:49 +03:00
Braulio Valdivielso
08b21339ec print out git status information at configure stage
This fixes #24373. Having the git status information available in the
CMake logs will make it easier to troubleshoot build failure reports.
2021-08-23 23:06:04 +01:00
mergify[bot]
bde834a8c0
Merge branch 'master' into try-llvm-12 2021-08-19 18:21:29 +00:00
Alexander Kuzmenkov
c5fb6b3670 Revert "Revert "try to update version to 21.10 because 21.9 has a broken release PR and""
This reverts commit fce6eed2be.
2021-08-19 14:27:49 +03:00
Alexander Kuzmenkov
fce6eed2be Revert "try to update version to 21.10 because 21.9 has a broken release PR and"
This reverts commit 51d802b825.
2021-08-19 14:21:36 +03:00
Alexander Kuzmenkov
51d802b825 try to update version to 21.10 because 21.9 has a broken release PR and
branch
2021-08-19 14:16:28 +03:00
Alexey Milovidov
9a4a8d3943 Fix build with clang-13 2021-08-16 03:16:45 +03:00
robot-clickhouse
6c4c3df96e Auto version update to [21.9.1.7770] [54454] 2021-08-15 16:22:15 +03:00
Alexey Milovidov
eda489dde8 Untangle CPU features specification in CMake 2021-08-10 02:58:51 +03:00
Nikolay Degterinsky
9a45458faf Add bzip2 file compression 2021-08-07 00:25:52 +00:00
Yatsishin Ilya
9145dd3fd0 Merge branch 'master' into try-llvm-12 2021-08-06 19:14:01 +03:00
alesapin
4746002776 Add an ability to build ClickHouse without NLP functions 2021-07-30 16:30:30 +03:00
Alexey Milovidov
9dd32ce30f Revert "Auto version update to [21.9.1.7556] [54454]" CC @akuzm, please fix your script.
This reverts commit 2af02cc103.
2021-07-24 13:11:40 +03:00
robot-clickhouse
2af02cc103 Auto version update to [21.9.1.7556] [54454] 2021-07-24 09:02:06 +03:00
Alexey Milovidov
fa4e76046a Revert "Auto version update to [21.9.1.7485] [54454]"
This reverts commit 0e6a28214f.
2021-07-17 13:17:33 +03:00
Alexey Milovidov
9bef9d4f2d Revert "Auto version update to [21.10.1.1] [54455]"
This reverts commit f2b1395127.
2021-07-17 13:17:30 +03:00
robot-clickhouse
f2b1395127 Auto version update to [21.10.1.1] [54455] 2021-07-17 08:45:10 +03:00
robot-clickhouse
0e6a28214f Auto version update to [21.9.1.7485] [54454] 2021-07-17 08:40:54 +03:00
Nikita Mikhaylov
625576796c final fix 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
6cdac2a56f link error 2021-07-13 10:50:12 +00:00
Nikita Mikhaylov
3f36a93656 better 2021-07-13 10:50:12 +00:00
Andr0901
f78480507e some fixes 2021-07-13 10:50:12 +00:00
Andr0901
4d75450e54 add tests 2021-07-13 10:49:55 +00:00
Kseniia Sumarokova
d2d24346d2
Update sqlite.cmake 2021-07-13 11:19:09 +03:00
kssenii
40281f9283 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support 2021-07-10 06:50:46 +00:00
robot-clickhouse
8ae8b26954 Auto version update to [21.9.1.1] [54454] 2021-07-10 08:22:52 +03:00
robot-clickhouse
ed3b301158 Auto version update to [21.8.1.7409] [54453] 2021-07-10 08:18:57 +03:00
kssenii
750f9b82fb Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support 2021-07-09 10:28:05 +00:00
kssenii
1bf9a9f29f Add .cmake 2021-07-09 10:27:53 +00:00
Alexey Milovidov
0e4257721c Maybe better dependencies tracking in CMake 2021-07-08 05:50:18 +03:00
Azat Khuzhin
e590d9c8bb Add comments for VERSION_REVISION vs DBMS_TCP_PROTOCOL_VERSION 2021-06-28 22:01:14 +03:00
robot-clickhouse
648801760e Auto version update to [21.8.1.1] [54453] 2021-06-28 00:50:20 +03:00
robot-clickhouse
88a44a6adf Auto version update to [21.7.1.7283] [54452] 2021-06-28 00:47:31 +03:00
Denis Glazachev
7b3996c603 Remove manual flag adjusting - cross compilations should be configured automatically 2021-06-26 21:52:37 +04:00
Denis Glazachev
9788b0e38a Fix locating objcopy in macOS
Rework clickhouse_embed_binaries() to compile asm files properly and avoid duplicate symbols when linking in macOS
2021-06-26 17:39:02 +04:00
Ivan
14e43cfafa
Add CI check for darwin-aarch64 (#25560)
* Add support for darwin-aarch64

* Fix PVS warnings

* Add build configuration

* Fix packager args
2021-06-25 18:21:56 +03:00
alexey-milovidov
a2c6b98b94
Merge pull request #25146 from oxidecomputer/master
Adds a better way to include binary resources
2021-06-13 16:13:34 +03:00
Benjamin Naecker
fcd0eafb6d Adds full cross-compilation support when embedding binary resources 2021-06-12 15:54:21 -07:00
万康
f212aa78bd enable s3 in osx 2021-06-11 23:07:46 +08:00
Benjamin Naecker
c3506bf16d Adds a better way to include binary resources
- Uses a small assembly file to include binary resources, rather than
  objcopy
- Updates `base/common/getResource.cpp` for this new method of inclusion
- Removes linux-only guards in CMake files, as this solution is
  cross-platform.

The resulting binary resources are available in the ClickHouse server
binary on Linux, macOS, and illumos platforms. FreeBSD has not been
tested, but will likely work as well.
2021-06-09 14:03:30 -07:00
Alexey Milovidov
8d85145725 Remove experimental compression codecs 2021-06-06 02:26:52 +03:00
Alexey Milovidov
20f59ffbb9 Merge branch 'master' into issue-16775 2021-05-26 03:46:43 +03:00
Yatsishin Ilya
227eb9fda5 try 2021-05-25 18:29:04 +03:00
Yatsishin Ilya
4f711ee038 fix darwin 2021-05-25 16:05:30 +03:00
Yatsishin Ilya
0e83723eaa Merge remote-tracking branch 'origin' into try-llvm-12 2021-05-25 15:53:21 +03:00
Yatsishin Ilya
07556fac2c try fix aarch64 2021-05-25 12:52:53 +03:00
Maksim Kita
ee0b6d573a LLVM remove orc jit library 2021-05-24 12:38:33 +03:00
Yatsishin Ilya
437a66c7ed Merge remote-tracking branch 'origin/master' into try-llvm-12 2021-05-24 10:57:24 +03:00
Alexey Milovidov
ad9481b1bb Disable LZSSE on AArch64 2021-05-24 06:04:13 +03:00
Alexey Milovidov
6f70feed2f Merge branch 'master' into issue-16775 2021-05-24 05:56:57 +03:00
Alexey Milovidov
8d2fa6cf50 Allow to build without experimental compression libraries and remove from fasttest 2021-05-24 01:18:12 +03:00
Maksim Kita
42e91df363 Updated submodule to llvm12 2021-05-22 15:22:38 +03:00
BoloniniD
33755f1f3d Implemented YAMLParser class 2021-05-21 21:56:22 +03:00
Maksim Kita
50e233680a LLVM remove non internal build 2021-05-21 17:46:46 +03:00
Yatsishin Ilya
a2e107c0be Merge remote-tracking branch 'origin' into try-llvm-12 2021-05-21 17:42:08 +03:00
Yatsishin Ilya
d3149ae61c more 2021-05-21 17:42:04 +03:00
robot-clickhouse
471142043f Auto version update to [21.7.1.1] [54452] 2021-05-20 22:23:34 +03:00
robot-clickhouse
7f8b8e6ade Auto version update to [21.6.1.6891] [54451] 2021-05-20 22:20:07 +03:00
Yatsishin Ilya
d3b59509b9 Merge remote-tracking branch 'origin' into try-llvm-12 2021-05-12 14:31:58 +03:00
Amos Bird
b54cf8b95a
Remove duplication 2021-05-12 16:07:11 +08:00
Amos Bird
d22ab2028f
Run check_*_compiler_flag earlier 2021-05-12 12:14:25 +08:00
Maksim Kita
ca9a23abbc Fix build 2021-05-08 17:39:34 +03:00
alexey-milovidov
f360e7c808
Merge pull request #23766 from kitaisreal/remove-unused-compilers
Remove unused compilers (fixed for the troublesome "unbundled" build)
2021-05-01 16:15:38 +03:00
Alexey Milovidov
ba815acafa Update library list 2021-05-01 11:23:12 +03:00
alexey-milovidov
cda164c3cd
Update llvm.cmake 2021-05-01 08:09:20 +03:00
alexey-milovidov
37ce69d40e
Update llvm.cmake 2021-05-01 08:08:36 +03:00
alexey-milovidov
012620b71d
Update llvm.cmake 2021-05-01 08:07:55 +03:00
Maksim Kita
0c5e5a0300
Update llvm.cmake 2021-05-01 00:47:15 +03:00
alexey-milovidov
7fa24d7b26
Merge pull request #23664 from azat/msan-dtor
Enable use-after-destruction detection in MSan
2021-04-30 21:51:28 +03:00
Yatsishin Ilya
cf277a6784 find llvm 2021-04-30 17:55:38 +03:00
Maksim Kita
f8dcba8435 Updated llvm search version 2021-04-29 22:45:15 +03:00
Maksim Kita
26068a4d28 Updated llvm.cmake 2021-04-29 20:10:01 +03:00
Benjamin Naecker
57fd59b73b Adds support for building on Solaris-derived systems
This commit adds a number of changes to platform-detection and
compile-time directives required to support building ClickHouse on
Solaris-derived systems, most notably illumos.
2021-04-28 16:32:41 -07:00
Azat Khuzhin
d83ea5844f Enable use-after-destruction detection in MSan
Refs: https://clang.llvm.org/docs/MemorySanitizer.html#use-after-destruction-detection
2021-04-28 23:02:52 +03:00
tavplubix
1d5d69f651
Merge pull request #23637 from ClickHouse/fix-build-with-AMQP
Merging #22984
2021-04-26 11:33:52 +03:00
Alexander Tokmakov
b3849beea3 minor fix 2021-04-26 09:45:52 +03:00
Alexey Milovidov
5423ef573a Add warning about gcc usage 2021-04-25 01:51:40 +03:00
Denis Glazachev
b349e84fc7 Use nanodbc always together with odbc
Disable clickhouse-odbc-bridge building when odbc is disabled
2021-04-20 15:07:05 +04:00
robot-clickhouse
db82e9e3d5 Auto version update to [21.6.1.1] [54451] 2021-04-20 01:48:20 +03:00
robot-clickhouse
a584d78f19 Auto version update to [21.5.1.6601] [54450] 2021-04-20 01:45:38 +03:00
Azat Khuzhin
2fd78b7eac Add -Wundef for gcc 2021-04-18 23:40:08 +03:00
benbiti
e1ff6b5629 add a libuv.cmake 2021-04-18 09:51:08 +08:00
benbiti
0b0093fa4d updated: process libuv as cassandra 2021-04-18 09:50:56 +08:00
changvvb
0be5976967 Merge branch 'support-apple-m1' of github.com:changvvb/ClickHouse into support-apple-m1 2021-04-15 22:57:23 +08:00
changvvb
4eee2d0977 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-04-15 22:54:26 +08:00
kssenii
7a287e6fe9 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc 2021-04-11 21:36:08 +00:00
Denis Glazachev
5e8fe847a2 Remove unneeded changes
Fix GCC build
2021-04-10 23:23:18 +04:00
changvvb
03a2ba315b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-04-10 21:31:38 +08:00
alexey-milovidov
2d4a8c4787
Merge pull request #22885 from traceon/gcc-macos-compilation-fixes
Fix vanilla GCC compilation in macOS
2021-04-10 14:17:11 +03:00
changvvb
facbb0368b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-04-09 23:19:19 +08:00
kssenii
72d89bc933 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc 2021-04-09 11:13:01 +00:00
Denis Glazachev
e8464d61f1 Fix vanilla GCC compilation in macOS 2021-04-09 04:28:24 +04:00
Denis Glazachev
4b116c214c Disable jemalloc for ALL macOS non-RelWithDebInfo builds
Revisit default ENABLE_* flag setting
2021-04-08 19:05:04 +04:00
alesapin
c28a3b860c Fix Coordination darwin build 2021-04-08 17:17:57 +03:00
changvvb
b070090ca7 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-04-08 18:11:16 +08:00
kssenii
0b39480d51 Better 2021-04-06 20:01:23 +00:00
Alexander Kuzmenkov
29cf5bd712 Merge remote-tracking branch 'origin/master' into HEAD 2021-04-06 14:31:19 +03:00
changvvb
fdcf077cf5 Disabled rocksdb jemalloc 2021-04-06 17:06:18 +08:00
changvvb
1f8bd034a3 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-04-06 15:55:03 +08:00
kssenii
38f135ab39 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc 2021-04-05 15:37:53 +00:00
mastertheknife
4a79c52978 Fix tab\space in xz.cmake 2021-04-04 01:16:00 +03:00
mastertheknife
65ca073f42 Allow unbundled xz (lzma) using USE_INTERNAL_XZ_LIBRARY=OFF 2021-04-04 01:05:07 +03:00
kssenii
90db0be8e9 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc 2021-04-03 08:01:13 +00:00
alexey-milovidov
18cb1bad25
Merge pull request #22475 from mastertheknife/ppc64le_disable_incompatible_libraries
ppc64le: Disable incompatible libraries (platform specific typically)
2021-04-02 21:29:11 +03:00
Alexander Kuzmenkov
2c91fc55e9 Merge remote-tracking branch 'origin/master' into HEAD 2021-04-02 18:38:05 +03:00
robot-clickhouse
39b5674bef Auto version update to [21.5.1.1] [54450] 2021-04-02 18:34:29 +03:00
robot-clickhouse
f6d6f568c2 Auto version update to [21.4.1.6422] [54449] 2021-04-02 18:32:01 +03:00
mastertheknife
2952cb296d Disable base64, fastops and libcpuid on unsupported platforms better 2021-04-02 13:57:46 +03:00
alexey-milovidov
e1d334b8e2
Merge pull request #22487 from mastertheknife/ppc64le_enable_bundled_openldap
ppc64le: Enable the bundled openldap
2021-04-02 10:07:14 +03:00
alexey-milovidov
3827789b3d
Merge pull request #22484 from mastertheknife/aarch64_enable_s3
aarch64: Re-enable S3
2021-04-02 10:03:55 +03:00
alexey-milovidov
4d8736f252
Merge pull request #22476 from mastertheknife/ppc64le_reenable_clang
ppc64le: Re-enable compiling with Clang
2021-04-02 10:02:55 +03:00
mastertheknife
b4003a07d2 ppc64le: Enable the bundled openldap 2021-04-02 06:32:09 +03:00
mastertheknife
6be8746d8c aarch64: Enable s3 2021-04-02 05:48:23 +03:00
mastertheknife
6d0349aec6 ppc64le: Re-enable compiling with Clang 2021-04-02 00:15:31 +03:00
mastertheknife
0692459f9f ppc64le: Disable incompatible libraries (platform specific typically) 2021-04-02 00:06:21 +03:00
mastertheknife
00ed52e947 Fix finding libclang_rt.builtins on Fedora\RHEL\CentOS on ppc64le 2021-04-01 18:38:16 +03:00
Kseniia Sumarokova
e3fac9ef32
Merge branch 'master' into nanodbc 2021-04-01 16:38:00 +03:00
Alexander Kuzmenkov
faddd7e815 Merge remote-tracking branch 'origin/master' into HEAD 2021-04-01 14:26:36 +03:00
Alexey Milovidov
edf33aa512 Merge branch 'datasketches-cmake' of github.com:pingyu/ClickHouse into datasketches-cmake 2021-04-01 03:17:48 +03:00
Alexey Milovidov
12ff56673b Merge branch 'master' into datasketches-cmake 2021-04-01 03:17:05 +03:00
Alexander Kuzmenkov
a55d03cb62 try to avoid conflict with prlimit 2021-03-31 22:41:53 +03:00
Amos Bird
061e3c7d81
Correctly place debug helpers 2021-03-31 18:28:58 +08:00
alexey-milovidov
02021aaa3e
Update datasketches.cmake 2021-03-31 08:49:33 +03:00
kssenii
c81ab04e8f Switch to nanodbc 2021-03-22 12:37:05 +00:00
changvvb
b947fcac75 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-03-22 10:42:35 +08:00
pingyu
83b7ab1fb5 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into datasketches-cmake 2021-03-20 21:15:07 +08:00
Alexey Milovidov
a486bc8558 Clang-tidy requires assertions 2021-03-19 17:23:04 +03:00
changvvb
66ff11bed9 Add cmake/darwin/toolchain-aarch64.cmake 2021-03-19 13:50:11 +08:00
changvvb
bba600d558 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-03-16 13:26:00 +08:00
alexey-milovidov
494c6294b3
Merge pull request #21597 from qoega/fixes-clang-12-cmake-3.19
Prepare to use clang 12 and cmake 3.19
2021-03-11 23:45:53 +03:00
Denis Glazachev
290a6d273e
Add Kerberos support for authenticating existing users when accessing over HTTP 2021-03-11 23:41:10 +03:00
changvvb
fcb238715b Support apple m1 2021-03-12 01:12:52 +08:00
Yatsishin Ilya
c64ba1ea8b fix 12.0.0 version 2021-03-11 11:03:03 +03:00