ClickHouse/cmake/linux
Azat Khuzhin 40d5627510
Avoid loading toolchain file multiple times to avoid confusing ccache (#39387)
During first run of cmake the toolchain file will be loaded twice,
- /usr/share/cmake-3.23/Modules/CMakeDetermineSystem.cmake
- /bld/CMakeFiles/3.23.2/CMakeSystem.cmake

But once you already have non-empty cmake cache it will be loaded only
once:
- /bld/CMakeFiles/3.23.2/CMakeSystem.cmake

This has no harm except for double load of toolchain will add
--gcc-toolchain multiple times that will not allow ccache to reuse the
cache.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-21 01:26:28 +02:00
..
default_libs.cmake Move cmake/find/unwind.cmake -> cmake/unwind.cmake 2022-01-31 16:01:12 +03:00
toolchain-aarch64.cmake Build improvement 2022-01-17 22:36:27 +08:00
toolchain-ppc64le.cmake Build improvement 2022-01-17 22:36:27 +08:00
toolchain-riscv64.cmake Build improvement 2022-01-17 22:36:27 +08:00
toolchain-x86_64-musl.cmake Build improvement 2022-01-17 22:36:27 +08:00
toolchain-x86_64.cmake Avoid loading toolchain file multiple times to avoid confusing ccache (#39387) 2022-07-21 01:26:28 +02:00