Files
kkHAIKE 23b2241cde build(arm64): detect aarch64 host and add TARGET_ARM64 option
Top-level CMakeLists.txt:
  * detect host arch via uname -m so subsequent project() and the
    SDK-platform error message recognise aarch64 hosts.
  * add TARGET_ARM64 option, defaulted to ON when host is aarch64
    (and i386/x86_64 default to OFF in that case).

cmake helpers:
  * architecture.cmake: pick APPLE_ARCH_64BIT="arm64" and the matching
    triplets when TARGET_ARM64 is on.
  * compiler_include.cmake: arm64 triplet handling for the per-arch
    compile flags.

basic-headers/arm/arch.h: thin stub matching the existing x86 layout
so anything that does  resolves on arm64 builds.
2026-09-03 23:36:38 +02:00
..