From ead45436e7506d4a426c394cdfd25999427a618b Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Fri, 10 May 2024 08:42:36 -0500 Subject: [PATCH] Reorder diagnostics from CMake --- CMakeLists.txt | 2 +- libs/core/config/cmake/templates/cache_line_size.hpp.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a9b573fed8..2d6f0f097b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2024,7 +2024,6 @@ if(HPX_WITH_COMPILER_WARNINGS_AS_ERRORS) endif() # Diagnostics -hpx_info("Cacheline size detected: ${__cache_line_size}") if(MSVC) # Display full paths in diagnostics hpx_add_compile_flag(-FC) @@ -2175,6 +2174,7 @@ else() ) endif() endif() +hpx_info("Cacheline size detected: ${__cache_line_size}") # store target architecture for later use set(HPX_WITH_TARGET_ARCHITECTURE diff --git a/libs/core/config/cmake/templates/cache_line_size.hpp.in b/libs/core/config/cmake/templates/cache_line_size.hpp.in index 1d69475cc43..8d96ca05a63 100644 --- a/libs/core/config/cmake/templates/cache_line_size.hpp.in +++ b/libs/core/config/cmake/templates/cache_line_size.hpp.in @@ -14,4 +14,4 @@ namespace hpx::threads { { return @HPX_INTERNAL_CACHE_LINE_SIZE_DETECT@; } -} // namespace threads +} // namespace hpx::threads