Commit Graph

1121 Commits

Author SHA1 Message Date
jasperzhu
002c8d3a80 add disable vectorize flag due to llvm bug 2021-10-13 03:38:18 +05:30
Alexey Milovidov
8d6126fd91 Fix build 2021-10-12 22:25:45 +03:00
alexey-milovidov
e63506fde7
Merge branch 'master' into protobuf-host-build 2021-10-12 16:19:15 +03:00
Alexey Milovidov
12168e7762 Enable Protobuf, Arrow, ORC, Parquet for AArch64 and Darwin 2021-10-12 05:46:50 +03:00
jasperzhu
be28e94471 add compile flag -force-vector-width=16 due to llvm autovectorization bug with avx512 2021-10-12 06:30:56 +05:30
Pavel Cheremushkin
7b9358a597 adding codegen fuzzer + code generation script. new contrib added: libprotobuf-mutator 2021-10-12 03:21:31 +03:00
Alexey Milovidov
0d07646866 Fix strange code 2021-10-12 03:17:35 +03:00
Alexey Milovidov
cb9bdf9666 Minor change 2021-10-12 02:07:03 +03:00
Alexey Milovidov
e1409c143b Add toolchain file 2021-10-12 02:06:22 +03:00
Alexey Milovidov
54f3d0d2d9 Fix error 2021-10-12 02:02:44 +03:00
Alexey Milovidov
d4e496c314 Add support for PowerPC build 2021-10-12 01:47:57 +03:00
jasperzhu
0ef2624408 add specific flags for compiling filter operation source files 2021-10-12 04:04:27 +05:30
alexey-milovidov
f1b550cdaf
Merge pull request #29974 from ClickHouse/minimized-toolchain
Experiment with minimized toolchain (2)
2021-10-11 22:04:01 +03:00
jasperzhu
a3d629a5b5 add x86 feature avx2/avx512 support for filter implementation 2021-10-11 22:51:13 +05:30
alexey-milovidov
3b8d7a5030
Merge pull request #29952 from MikaelUrankar/freebsd-aarch64
Add support for FreeBSD aarch64
2021-10-11 14:43:23 +03:00
Alexey Milovidov
1df4792a45 Fix error 2021-10-11 07:07:58 +03:00
Alexey Milovidov
778793267b Add toolchain for linux-x86_64 2021-10-11 07:02:48 +03:00
Alexey Milovidov
0dbe7c4036 Remove old toolchain 2021-10-11 07:02:19 +03:00
Alexey Milovidov
8196f89481 Remove trash from CMake 2021-10-11 06:58:08 +03:00
Alexey Milovidov
7597763d6d Improve search for ar and ranlib 2021-10-11 06:55:00 +03:00
Alexey Milovidov
fa3c13cf81 Experiment with minimized toolchain 2021-10-11 04:37:04 +03:00
mikael
934b72ddd1 Add FreeBSD aarch64 bits for cross-builds for CI. 2021-10-10 18:54:38 +02:00
mikael
5bd2fd0ba3 Add the missing bits for FreeBSD aarch64 2021-10-10 14:52:42 +02:00
Alexey Milovidov
daf4cc6aba Whitespaces 2021-10-10 04:09:17 +03:00
alexey-milovidov
6abb3d4c6d
Merge pull request #29682 from traceon/xcode-13-fix-build
Fix Xcode 13 build
2021-10-04 02:34:43 +03:00
Denis Glazachev
ece880184b Reorganiza contrib IDE folders 2021-10-03 20:26:48 +04:00
Denis Glazachev
1fdaaab2ed Fix typo 2021-10-03 17:42:59 +04:00
Denis Glazachev
ca7b69b0f3 Manipulate with -Wreserved-identifier only if HAS_RESERVED_IDENTIFIER has been detected 2021-10-03 17:42:36 +04:00
Mike Kot
d8b336a942 fix 2021-10-03 00:47:25 +02:00
Mike Kot
84505b7947 fix 2021-10-03 00:24:11 +02:00
Mike Kot
da66f4f533 Slight changes 2021-10-03 00:06:07 +02:00
Mike Kot
605268811b More warnings for clang, exper. constexpr interpreter for clang 2021-10-02 23:50:47 +02:00
Alexey Milovidov
cd7f9d981c Remove ya.make 2021-09-25 04:22:54 +03:00
mergify[bot]
2632c86009
Merge branch 'master' into ccache-fix 2021-09-16 18:53:24 +00:00
sdk2
e56ae86f0b fix clang flag use-ctor-homing 2021-09-15 11:57:27 +08:00
Sergei Semin
12e24a23d3
Merge branch 'master' into fix-build-clang-13-2 2021-09-12 19:30:55 +03:00
alexey-milovidov
60f76d9254
Merge pull request #28759 from nikitamikhaylov/enable-gcc-11
Switch CI to GCC-11
2021-09-12 15:56:57 +03:00
mergify[bot]
e3b3439535
Merge branch 'master' into fix-build-clang-13-2 2021-09-10 12:05:54 +00:00
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