[llvm] [BOLT][RUNTIME][NFC] Fix aarch64 match (PR #100866)

Peter Waller via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 04:15:41 PDT 2024


================
@@ -82,7 +82,7 @@ endforeach()
 
 set(BOLT_ENABLE_RUNTIME_default OFF)
 if ((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64"
-    OR CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
+    OR CMAKE_SYSTEM_PROCESSOR MATCHES "^(armv[8-9].*|arm64|aarch64)$")
----------------
peterwaller-arm wrote:

👍, I suggest then to match arm64 and aarch64 for now, and add others if they are seen in practice.

https://github.com/llvm/llvm-project/pull/100866


More information about the llvm-commits mailing list