================
@@ -616,6 +618,21 @@ else ()
endif ()
endif ()
+foreach(i IN ITEMS 8 4)
+ try_compile(SIZEOF_UINTPTR_T_IS_${i}
----------------
s-barannikov wrote:
try_compile compiles for target arch, not native arch, AFAIK
https://github.com/llvm/llvm-project/pull/150869