Skip to content

Commit 8512a52

Browse files
committed
WIP: Try to inspect the choice of default triple in cmake
1 parent 5e4c4ab commit 8512a52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/cmake/modules/GetHostTriple.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# Invokes config.guess
33

44
function( get_host_triple var )
5+
message("CMAKE_HOST_SYSTEM_PROCESSOR ${CMAKE_HOST_SYSTEM_PROCESSOR}")
6+
message("CMAKE_SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P}")
57
if( MSVC OR CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")
68
if( CMAKE_C_COMPILER_ARCHITECTURE_ID MATCHES "ARM64.*" )
79
set( value "aarch64-pc-windows-msvc" )

0 commit comments

Comments
 (0)