ClickHouse/cmake
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
..
darwin
freebsd
linux Avoid loading toolchain file multiple times to avoid confusing ccache (#39387) 2022-07-21 01:26:28 +02:00
toolchain
add_check.cmake
add_warning.cmake
arch.cmake
autogenerated_versions.txt Update version to 22.7.1.1 2022-06-16 17:15:22 +02:00
ccache.cmake
check_flags.cmake
clang_tidy.cmake
cpu_features.cmake Merge branch 'master' into lz4-decompress-vbmi 2022-07-11 14:23:17 +00:00
cxx.cmake
dbms_glob_sources.cmake
embed_binary.cmake
fuzzer.cmake
git_status.cmake
limit_jobs.cmake
print_flags.cmake
sanitize_target_link_libraries.cmake
sanitize.cmake
split_debug_symbols.cmake Better naming for stuff related to splitted debug symbols 2022-06-30 23:41:27 +02:00
target.cmake
tools.cmake Merge pull request #38294 from ClickHouse/fix_system_dot_licences_on_mac 2022-06-23 09:33:07 +02:00
unwind.cmake
version.cmake
warnings.cmake Enable -Wc99-extension 2022-07-15 10:58:09 +00:00