Commit Graph

1429 Commits

Author SHA1 Message Date
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
Azat Khuzhin
184efcb77a Get back -fno-sanitize-address-use-after-scope quirk for llvm/clang-15
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-09 20:35:43 +02:00
Azat Khuzhin
8cfe0eb3f2 Do not change CMAKE_EXE_LINKER_FLAGS_INIT in toolchains
Otherwise check in PreLoad.cmake will throw.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-09 10:33:37 +02:00
Azat Khuzhin
e278081344 Revert "Merge pull request #43195 from ClickHouse/workaround-for-llvm-bug"
With clang 16 this workaround should not be required anymore.

This reverts commit 992729f3c0, reversing
changes made to d885b3cc4c.
2023-05-08 22:54:04 +02:00
Azat Khuzhin
cf987db8f6 Disable .debug_aranges workaround under ThinLTO for clang/llvm 16
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-08 22:54:04 +02:00
Robert Schulze
e275da1d31
Remove deprecated logic for ccache 2023-05-07 15:41:56 +00:00
Alexey Milovidov
5b8b3c04bf
Merge pull request #49224 from ClickHouse/rs/cmake-gnu
CMake: Remove some GCC-specific code
2023-04-27 14:44:20 +03:00
Alexey Milovidov
7333e964bc Update autogenerated version to 23.5.1.1 and contributors 2023-04-27 01:40:57 +02:00
Robert Schulze
150ea22a12
CMake: Remove dead code paths 2023-04-26 19:40:59 +00:00
alesapin
bb21461145 Try to fix with pie 2023-04-25 15:45:23 +02:00
Robert Schulze
a1ff8a0679
Remove the obvious 2023-04-11 16:27:32 +00:00
Robert Schulze
1477887259
Initial removal of logic under COMPILER_GCC 2023-04-11 16:27:32 +00:00
Alexey Milovidov
dd79bf0a03 Update autogenerated version to 23.4.1.1 and contributors 2023-03-31 12:20:50 +02:00
Mikhail f. Shiryaev
7ff582b963
Deprecate ENABLE_CCACHE and replace it by COMPILER_CACHE 2023-03-29 23:33:31 +02:00
Mikhail f. Shiryaev
e1531688bc
Add sccache to cmake configuration 2023-03-29 23:33:24 +02:00
Robert Schulze
1845bfc644
Revert change to ld64.lld linker on Mac
This reverts PRs #42470, #47673 and #47744. The problem was that after
the switch to ld64.lld, server binaries build in Debug mode no longer
came up, see the discussion after (*). My attempt to fix it with
`-no_compact_unwind` didn't help.

I also tried
- `-keep_dwarf_unwind`,
- `-unwindlib` (to use the OS unwinder),
- the unwinder in contrib (CMake variable EXCEPTION_HANDLING_LIBRARY)
but w/o success. Just tons of wasted time.

Rolling back to lld as linker on Mac. This will bring back many linker
warnings (#42282) but I rather accept that (temporarily, maybe someone
can figure out how to fix them) than have a broken Debug binary.

(*) https://github.com/ClickHouse/ClickHouse/pull/42470#issuecomment-1312344068
2023-03-27 15:26:54 +02:00
Robert Schulze
5d5308e060
CMake cleanup: Remove configuration of CMAKE_SHARED_LINKER_FLAGS
Follow-up to #44828
2023-03-26 17:59:39 +00:00