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

Vladislav Khmelevsky via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 04:39:35 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)$")
----------------
yota9 wrote:

Well I don't really mind. At the end of the day to really handle all possibilities we need also to check for upper cases situations or AArch64, so let's stick to aarch64 and arm64 for now

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


More information about the llvm-commits mailing list