Commit Graph

991 Commits

Author SHA1 Message Date
János Benjamin Antal
860bd66d7a
Merge pull request #68267 from azat/build/COMMAND_ERROR_IS_FATAL
Avoid ignoring errors of execute_process() (set COMMAND_ERROR_IS_FATAL=ANY)
2024-08-20 11:55:20 +00:00
Robert Schulze
920b88846b
Optionally re-enable compilation with -O0 2024-08-14 14:42:39 +00:00
Azat Khuzhin
4c043301e6 Avoid ignoring errors of execute_process() (set COMMAND_ERROR_IS_FATAL=ANY)
This will fix with issues like this [1]:

    Aug 12 09:58:44 '/usr/bin/cmake' '--build' '/build/build_docker/native' '--target' 'pre_compressor'
    Aug 12 09:58:44 sccache: error: Server startup failed: cache storage failed to read: Unexpected (temporary) at stat
    Aug 12 09:58:45 ninja: build stopped: subcommand failed.
    Aug 12 09:58:45 -- Configuring done (77.7s)
    Aug 12 09:58:47 -- Generating done (1.8s)
    Aug 12 09:58:47 -- Build files have been written to: /build/build_docker

So as you can see even if ninja fails it still wrote build files, while
it should fail.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/64955/0af41e32a5822d25ac3760f1ebb2313557474701/builds/report.html
  [2]: 0af41e32a5/binary_darwin_aarch64/build_log.log

Note, COMMAND_ERROR_IS_FATAL is 3.19+, and the requirement for now is
3.20

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-13 10:35:54 +02:00
Robert Schulze
0aa30b10d5
Merge pull request #68069 from rschu1ze/cmake-cleanup
Minor CMake cleanup
2024-08-12 06:43:00 +00:00
Alexey Milovidov
2a12604cf5
Merge pull request #66494 from azat/gdb-image
Update gdb to 15.1 (by compiling from sources)
2024-08-12 05:04:57 +00:00
Robert Schulze
47f429a524
Proper CMake for libfiu 2024-08-09 08:04:24 +00:00
filimonov
340a2bcd25
Update comment3 2024-08-06 22:36:16 +02:00
filimonov
db2d732b2b
Update comment2 2024-08-06 22:25:47 +02:00
filimonov
45b55c4d6e
Update comment 2024-08-06 22:25:08 +02:00
Azat Khuzhin
16fcd5b825 Remove .gdb-index (do not give any benefit for gdb 15.1)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-06 16:25:56 +02:00
Vasily Nemkov
f3ee25036f Building aarch64 builds with '-no-pie' to allow better introspection 2024-08-06 15:15:36 +02:00
Michael Kolupaev
a5ada16719 Use -Og instead of -O0 for debug builds 2024-07-02 01:11:44 +00:00
Antonio Andelic
441279a979 Disable GWP for sanitizer builds 2024-06-07 14:47:22 +02:00
tomershafir
3e8929f5f0 xray: rename cmake file and build only on amd64 linux 2024-06-05 12:40:18 +03:00
Alexey Milovidov
5a5bdd87cb
Merge pull request #64592 from tomershafir/xray
xray: add global xray instrumentation support
2024-06-05 01:25:25 +02:00
Alexey Milovidov
84914f2c3d Remove iostream_debug_helpers 2024-06-04 05:48:45 +02:00
tomershafir
6397f26998 xray: add global xray instrumentation support 2024-05-29 17:33:21 +03:00
Azat Khuzhin
cad1f1a111 Tune cpu limit for loongarch64
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-22 07:50:45 +02:00
Alexey Milovidov
ede7b14749 More of that 2024-05-20 19:43:39 +02:00
Alexey Milovidov
cb912a656e Losen build resource limits for unusual architectures 2024-05-20 17:07:35 +02:00
Azat Khuzhin
95b76bf6a4 Remove leftovers of GCC support in cmake rules
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-07 21:07:02 +02:00
Robert Schulze
dca6e0abbd
Fix the build (after boringssl submodule removal) 2024-04-08 11:02:41 +00:00
Alexey Milovidov
784de2dca3 Merge branch 'master' into generic-clickhouse-local-fuzzer 2024-03-21 03:18:05 +01:00
Raúl Marín
2c02476f4a Change riscv RLIMIT_CPU 2024-03-20 14:08:00 +01:00
Raúl Marín
56e48c5d64 Increase compiler memory for riscv 2024-03-19 16:56:46 +01:00
Alexey Milovidov
1a61da1bae Replace getFuzzerData with query text fuzzer in clickhouse-local 2024-03-18 02:17:24 +01:00
Alexey Milovidov
44e918bc67 Revive getFuzzerData 2024-03-17 16:22:33 +01:00
Alexey Milovidov
4527b3e0d4 Remove useless code 2024-03-17 15:17:58 +01:00
Raúl Marín
e9f8117087 Increase memory limit for coverage builds 2024-03-14 20:26:44 +01:00
Alexey Milovidov
cdb9c962f9 Loosen 2024-03-11 08:34:24 +01:00
HarryLeeIBM
3a4ef70a20 Make better looking 2024-03-07 06:03:33 -08:00
HarryLeeIBM
dbdaa9863e Refactor PR according to review 2024-03-06 15:54:04 -08:00
Alexey Milovidov
a7c30098b6 Merge branch 'master' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build 2024-02-09 22:52:49 +01:00
Nikita Mikhaylov
50828dade2
Fix stacktraces on MacOS (#59690) 2024-02-09 14:53:03 +01:00
Alexey Milovidov
c6afbe522c Do not check for large translation units with coverage 2024-01-19 05:26:28 +01:00
Alexey Milovidov
c966674c24 Disable LTO with Coverage 2024-01-19 03:59:05 +01:00
Alexey Milovidov
6dc3efb3f9 Fix build 2023-11-20 01:55:34 +01:00
Alexey Milovidov
b205d4919d Remove garbage 2023-11-20 01:24:28 +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
Michael Kolupaev
bcf6a66aa2
Switch from DWARF 4 to 5 and see what happens (#56770)
* Switch from DWARF 4 to 5 and see what happens

* Update comment in Dwarf.h about which versions are supported
2023-11-16 09:58:00 -08:00
Alexey Milovidov
b4b3cb2291
Merge pull request #56786 from ClickHouse/gc-sections
Ask linker to remove garbage from external libraries
2023-11-15 19:57:34 +01:00
Alexey Milovidov
671a401ded Ask linker to remove garbage from external libraries 2023-11-15 12:26:14 +01:00
Alexey Milovidov
5d81080e31 Enable profiling for linker 2023-11-14 09:01:50 +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
d92e332923 Fix build 2023-11-13 19:33:56 +01:00
Alexey Milovidov
0d01438c48 Fix error 2023-11-11 00:44:46 +01:00
Alexey Milovidov
96f73139b6 Check for large translation units 2023-11-10 06:13:55 +01:00
Alexey Milovidov
cd94d02455 Merge branch 'master' into coverage 2023-11-04 21:49:59 +01:00
Nikita Mikhaylov
ac1476ef6e Better 2023-10-30 16:16:25 +00:00