CI print CPU info (#4530)

This commit is contained in:
Niram7777
2026-06-06 11:04:55 +02:00
committed by GitHub
parent deb9908452
commit 42849b6590
2 changed files with 16 additions and 0 deletions
+4
View File
@@ -61,6 +61,10 @@ if (ARCHITECTURE STREQUAL "x86_64")
add_compile_options(-march=x86-64-v3)
endif()
cmake_host_system_information(RESULT PROC_INFO QUERY PROCESSOR_DESCRIPTION)
message(STATUS "${PROC_INFO}")
if (APPLE AND ARCHITECTURE STREQUAL "x86_64" AND CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64")
# Exclude ARM homebrew path to avoid conflicts when cross compiling.
list(APPEND CMAKE_IGNORE_PREFIX_PATH "/opt/homebrew")