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 Move cmake/find/cxx.cmake -> cmake/cxx.cmake 2022-01-31 16:01:11 +03:00
freebsd Move cmake/find/unwind.cmake -> cmake/unwind.cmake 2022-01-31 16:01:12 +03:00
linux Avoid loading toolchain file multiple times to avoid confusing ccache (#39387) 2022-07-21 01:26:28 +02:00
toolchain Remove old toolchain 2021-10-11 07:02:19 +03:00
add_check.cmake
add_warning.cmake Do not build protobuf twice 2021-11-25 01:50:54 +03:00
arch.cmake Replace variable ARCH_ARM by ARCH_AARCH64 2022-05-15 09:48:02 +02:00
autogenerated_versions.txt Update version to 22.7.1.1 2022-06-16 17:15:22 +02:00
ccache.cmake Update cmake/ccache.cmake 2022-05-20 09:57:25 +02:00
check_flags.cmake Remove unused check for -Wshadow 2022-05-15 09:48:03 +02:00
clang_tidy.cmake Merge remote-tracking branch 'origin/master' into clang-tidy-cleanup 2022-04-26 09:42:47 +02:00
cpu_features.cmake Merge branch 'master' into lz4-decompress-vbmi 2022-07-11 14:23:17 +00:00
cxx.cmake Move cmake/find/cxx.cmake -> cmake/cxx.cmake 2022-01-31 16:01:11 +03:00
dbms_glob_sources.cmake GLOB with CONFIGURE_DEPENDS 2022-05-18 10:34:10 +02:00
embed_binary.cmake Maybe better dependencies tracking in CMake 2021-07-08 05:50:18 +03:00
fuzzer.cmake updated cmake/ files, added some comments 2020-09-17 18:37:23 +03:00
git_status.cmake Cosmetics 2022-05-17 19:06:13 +02:00
limit_jobs.cmake Print number of available logical cores in configuration 2022-03-01 21:24:22 +01:00
print_flags.cmake More reproducible builds 2021-11-26 05:44:08 +03:00
sanitize_target_link_libraries.cmake Sanitize LINK_LIBRARIES property for the directories (#12160) 2020-07-07 19:22:41 +03:00
sanitize.cmake Remove MAKE_STATIC_LIBRARIES (in favor of USE_STATIC_LIBRARIES) 2022-01-24 17:28:33 +03:00
split_debug_symbols.cmake Better naming for stuff related to splitted debug symbols 2022-06-30 23:41:27 +02:00
target.cmake Fail in systems with unknown CMAKE_SYSTEM_NAME 2022-05-15 09:48:54 +02:00
tools.cmake Merge pull request #38294 from ClickHouse/fix_system_dot_licences_on_mac 2022-06-23 09:33:07 +02:00
unwind.cmake Move cmake/find/unwind.cmake -> cmake/unwind.cmake 2022-01-31 16:01:12 +03:00
version.cmake Remove outdated links from CI 2022-03-28 15:53:22 +02:00
warnings.cmake Enable -Wc99-extension 2022-07-15 10:58:09 +00:00