Commit Graph

1545 Commits

Author SHA1 Message Date
Alexey Milovidov
8418efe06d Support UBSan on Clang-19 (master) 2024-04-10 02:12:02 +02:00
Yakov Olkhovskiy
db3d923d4c return WITH_COVERAGE, fix build 2024-04-03 20:25:29 +00:00
Yakov Olkhovskiy
8357bc7b1b fix build 2024-03-31 23:33:35 +00:00
Alexey Milovidov
4250c5fb19 Update autogenerated version to 24.4.1.1 and contributors 2024-03-27 18:48:14 +01:00
Azat Khuzhin
90e1f7d8ec Fix sanitizers suppressions
The -fsanitize-ignorelist (-fsanitize-blacklist is the alias for it)
accepts not the suppressions but special case list, that accept only
`fun` and `src`, so convert tsan_suppressions.txt into a proper
tsan_ignorelist.txt with a proper syntax, otherwise suppressions simply
does not work [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/61526/958659584957ff419a9305d9c7edee5703fedbdc/integration_tests__tsan__[6_6].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-24 16:22:23 +01:00
Alexey Milovidov
4527b3e0d4 Remove useless code 2024-03-17 15:17:58 +01:00
Alexey Milovidov
480ae2cd49 Fix clang-tidy 2024-03-13 09:39:03 +01:00
Alexey Milovidov
aaec92f860 Address review comments 2024-03-03 23:02:55 +01:00
Alexey Milovidov
ac4cbe3d12 Update autogenerated version to 24.3.1.1 and contributors 2024-02-29 22:08:31 +01:00
Alexey Milovidov
c192a448d0 Update to clang-19 2024-02-27 14:37:21 +01:00
Alexey Milovidov
d65a56d967
Merge branch 'master' into enable-coverage-for-debug-build 2024-02-07 04:58:21 +01:00
Alexey Milovidov
4ddba907c8 Update autogenerated version to 24.2.1.1 and contributors 2024-01-30 18:49:28 +01:00
Alexey Milovidov
eb54432cbe Merge branch 'master' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build 2024-01-30 03:53:11 +01:00
Raúl Marín
ac532599aa Don't apply without coverage flags when it's not necessary 2024-01-29 17:33:53 +01:00
Alexey Milovidov
6c0445f365 Fix CMake 2024-01-18 12:47:18 +01:00
Alexey Milovidov
9f5a7c5117 Fix error 2024-01-14 08:08:56 +01:00
Alexey Milovidov
3b1cc5179b Fix error 2024-01-14 08:05:57 +01:00
Mikhail f. Shiryaev
035ce015ac
Fix the wrong version after desperate changes 2023-12-30 18:40:04 +01:00
Alexey Milovidov
4bb8592434 Update autogenerated version to 23.13.1.1 and contributors 2023-12-28 11:22:16 +01:00
Azat Khuzhin
f1e67efa93 Define _DARWIN_C_SOURCE for darwin (for MAP_ANON/MAP_ANONYMOUS)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-27 15:42:08 +01:00
Azat Khuzhin
1e0d8e098f Fix building Rust with Musl
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-11 20:49:19 +01:00
Alexey Milovidov
f0df110b15 Enable some libraries 2023-12-09 19:30:53 +01:00
Alexey Milovidov
b6e3e5691c Fix Musl build 2023-12-09 18:58:35 +01:00
Alexey Milovidov
c8fb574fc8 Update autogenerated version to 23.12.1.1 and contributors 2023-12-06 23:53:06 +01:00
Alexey Milovidov
21d3ebcf35 Disable checksums for builds with fuzzer 2023-11-22 17:19:59 +01:00
Alexey Milovidov
b205d4919d Remove garbage 2023-11-20 01:24:28 +01:00
Igor Nikonov
7e781ab968 Merge remote-tracking branch 'origin/master' into prefer-sccache 2023-11-19 23:29:49 +01:00
Igor Nikonov
0513c93829 Prefer sccache to ccache by default 2023-11-19 23:11:05 +01:00
Alexey Milovidov
b772189fc1 Merge branch 'master' into own-cmake-for-grpc 2023-11-19 16:17:49 +01:00
Alexey Milovidov
907f168e0d Own CMake for GRPC 2023-11-19 15:43:09 +01:00
Alexey Milovidov
3213443ee2 Own CMake for GRPC 2023-11-19 15:42:35 +01:00
Alexey Milovidov
f27018c141 Own CMake for GRPC 2023-11-19 15:21:11 +01:00
Robert Schulze
cb913821fc
Merge pull request #56861 from rschu1ze/cpu_features
CMake: Small cleanup in cpu_features.cmake
2023-11-18 18:29:40 +01:00
Alexey Milovidov
30bd5642e9 Merge branch 'master' into remove-useless-part-from-build 2023-11-17 19:00:09 +01:00
Robert Schulze
c51429b1ef
Simplify more 2023-11-17 17:02:52 +00:00
Robert Schulze
fcce5409f4
Simplify 2023-11-17 17:02:52 +00:00
Alexey Milovidov
a3083f305b Remove more code that I don't understand 2023-11-17 13:06:38 +01:00
Alexey Milovidov
354fb5182b Remove some code that I don't understand 2023-11-17 13:01:33 +01:00
Alexey Milovidov
1abcb28624 Remove ctest 2023-11-16 23:32:17 +01:00
Alexey Milovidov
482d8ca9d8
Merge pull request #56102 from ClickHouse/coverage
Granular code coverage with introspection
2023-11-16 23:23:40 +01:00
Alexey Milovidov
80bbe7dcc6 Less CMake checks 2023-11-14 06:55:06 +01:00
Alexey Milovidov
3ef14f6098 Merge branch 'master' of github.com:ClickHouse/ClickHouse into coverage 2023-11-14 06:08:32 +01:00
Alexey Milovidov
df24ef42b1 Publish stripped binary 2023-11-11 07:27:10 +01:00
Alexey Milovidov
cd94d02455 Merge branch 'master' into coverage 2023-11-04 21:49:59 +01:00
Alexey Milovidov
1348d4c696 Update autogenerated version to 23.11.1.1 and contributors 2023-11-02 20:18:15 +01:00
Alexey Milovidov
aaca32f6a7 Add function coverageAll 2023-10-30 03:22:49 +01:00
Alexey Milovidov
8e0f487387 Initial support in clickhouse-test 2023-10-29 17:21:45 +01:00
Alexey Milovidov
70e3dd808c Granular code coverage with introspection 2023-10-29 02:07:24 +01:00
Michael Kolupaev
ce7eca0615
DWARF input format (#55450)
* Add ReadBufferFromFileBase::isRegularLocalFile()

* DWARF input format

* Review comments

* Changed things around ENABLE_EMBEDDED_COMPILER build setting

* Added 'ranges' column

* no-msan no-ubsan
2023-10-16 17:00:07 -07:00
Robert Schulze
b90582f291
Improve linker detection on macOS 2023-09-29 17:14:11 +02:00
Alexey Milovidov
95d573f70d Update autogenerated version to 23.10.1.1 and contributors 2023-09-29 08:52:43 +02:00
Mikhail f. Shiryaev
3c4f260523
Fix ccache/sccache auto search 2023-09-28 09:32:41 +02:00
Alexey Milovidov
b11e876323
Update tools.cmake 2023-09-27 00:37:17 +03:00
Alexey Milovidov
252627ea8c Refuse anything other than LLD 2023-09-26 21:34:32 +02:00
Robert Schulze
cbcff6ef08
Merge remote-tracking branch 'rschu1ze/master' into clang-17 2023-09-20 09:15:58 +00:00
Mikhail f. Shiryaev
4882b99715
Merge pull request #54310 from ClickHouse/ci-libfuzzer-integration
CI: libFuzzer integration
2023-09-20 10:01:39 +02:00
Robert Schulze
3a3a00f95e
Bump minimal required compiler to Clang 16 2023-09-18 17:44:04 +00:00
Yakov Olkhovskiy
46fa7dbb80 add libFuzzer build on 'libFuzzer' label, build produces artifacts 2023-09-17 16:28:50 +00:00
Alexey Milovidov
aac974b38d Fix strange message 2023-09-11 05:35:15 +02:00
Boris Kuschel
3d4ab810b0
User correct target tripget triple 2023-09-06 13:45:35 -07:00
Alexey Milovidov
f8c2ea986d Update autogenerated version to 23.9.1.1 and contributors 2023-09-01 17:46:49 +02:00
Amos Bird
c0f8a50e15
Avoid linking duplicate archives.
Or else libglibc-compatibility.a and libmemcpy.a will be listed twice.
2023-08-24 17:26:34 +08:00
Alexey Milovidov
a23d89779d
Update target.cmake 2023-08-22 14:26:25 +03:00
Amos Bird
a159376a96
Also check processor 2023-08-22 10:38:03 +08:00
Amos Bird
601b61d00f
Better cross compiling flag 2023-08-21 18:05:52 +08:00
Amos Bird
076a67bdaa
Consistent file management in CMake 2023-08-21 11:45:08 +08:00
Yakov Olkhovskiy
bcbd43ed5f disable rust 2023-08-12 02:04:13 +00:00
Yakov Olkhovskiy
c98e38611f path to libc 2023-08-10 23:36:47 +00:00
Yakov Olkhovskiy
b9638c6387 path to libc 2023-08-10 22:16:30 +00:00
Yakov Olkhovskiy
cda633a1f6 different linker 2023-08-10 15:48:51 +00:00
Yakov Olkhovskiy
a9b760a15b different linker 2023-08-10 00:40:06 +00:00
Yakov Olkhovskiy
087cc5bfed different linker 2023-08-09 23:18:27 +00:00
Yakov Olkhovskiy
2802508c07 different linker 2023-08-09 22:27:49 +00:00
Yakov Olkhovskiy
0498b48c70 different linker 2023-08-09 21:01:58 +00:00
Yakov Olkhovskiy
535450a050 different linker? 2023-08-09 18:40:00 +00:00
Alexey Milovidov
4d27cf4386 Proper stripping 2023-07-30 02:11:32 +02:00
Alexey Milovidov
abf058c87d Merge branch 'master' into no-export-dynamic 2023-07-30 01:49:12 +02:00
Alexey Milovidov
671128140d Update autogenerated version to 23.8.1.1 and contributors 2023-07-27 15:34:05 +02:00
Alexey Milovidov
da0a332d46 Keep symtab 2023-07-24 18:09:38 +02:00
Alexey Milovidov
4170d1458b Use incbin for resources, part 2 2023-07-23 06:11:03 +02:00
Robert Schulze
1dbc88630d
Cosmetics 2023-07-17 17:10:08 +00:00
Robert Schulze
8f8cb5eb82
Update cmake/limit_jobs.cmake
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-07-17 15:48:12 +02:00
Robert Schulze
a2e63404b3
Further simplify logic 2023-07-17 12:01:41 +00:00
Robert Schulze
96c399ff7b
Simplify a bit further 2023-07-17 11:58:18 +00:00
Robert Schulze
8f1e56167c
NUMBER_OF_TOTAL_CORES is on all platforms != 0 2023-07-17 11:53:12 +00:00
Robert Schulze
7204f70547
cmake_host_system_information provides TOTAL_PHYSICAL_MEMORY on all platforms, including FreeBSD 2023-07-17 11:52:23 +00:00
Robert Schulze
10c15a6548
Refactor limit_jobs.cmake 2023-07-17 11:37:34 +00:00
Alexey Milovidov
1a5ae9899d
Merge pull request #51710 from velavokr/velavokr-warn-cpu-utilization
A cmake warning on job limits underutilizing CPU
2023-07-09 08:47:01 +03:00
Azat Khuzhin
a10aa9ad50 Force libunwind usage (removes gcc_eh support)
libunwind is reentrant and signal safe, and works faster then then
gcc_eh (plus it has some custom patches for problems that have been
found during it's usage in ClickHouse).

gcc_eh may be missing in the system (if gcc was not installed), and
even if it exists clickhouse uses -nodefaultlibs, so some care should be
made to make it work.

Also this library is tiny and there shouln't be any problem to require
it always (there is already tendency to require some contrib libraries,
i.e. poco).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-08 20:55:50 +02:00
Alexey Milovidov
98da25f1d3 Fix build 2023-07-06 01:17:41 +02:00
Alexey Milovidov
1eafba60d2 Merge branch 'master' into riscv-in-ci 2023-07-04 21:28:05 +02:00
velavokr
711d8db644 better wording 2023-07-03 16:00:31 +03:00
velavokr
fd545deba0 added a warning on autocalculated parallelizm limits underutilizing CPU cores 2023-07-03 16:00:31 +03:00
Alexey Milovidov
5ee7f47b03 Update autogenerated version to 23.7.1.1 and contributors 2023-06-30 17:09:56 +02:00
Alexey Milovidov
bc2af59278 Update autogenerated version to 23.6.1.1 and contributors 2023-06-09 13:38:30 +02:00
cmsxbc
4bb44c7c72
1. skip extract darwin toolchain in builder when uncessary
2. update MacOSX SDK version in toolchain readme to match in builder
2023-06-04 23:06:21 +08:00
Robert Schulze
4d06246cd4
Merge branch 'master' into clean-out-msan-suppression 2023-05-22 17:25:29 +02:00
Amos Bird
6b4dcbd3ed
Use PROJECT_*_DIR instead of CMAKE_*_DIR. 2023-05-18 23:23:39 +08:00
Robert Schulze
c28bb963b5
Remove -fsanitize-blacklist 2023-05-13 15:48:36 +00:00
Azat Khuzhin
a0cc5b7e47 Merge remote-tracking branch 'u/master' into build/llvm-16 2023-05-10 16:28:36 +02:00