--- llvmorg-18.1.8/llvm/cmake/config-ix.cmake.orig	2023-03-17 13:26:07.000000000 +0100
+++ llvmorg-18.1.8/llvm/cmake/config-ix.cmake	2023-04-01 15:14:05.552327045 +0200
@@ -496,6 +496,14 @@
   set(LLVM_NATIVE_ARCH M68k)
 elseif (LLVM_NATIVE_ARCH MATCHES "loongarch")
   set(LLVM_NATIVE_ARCH LoongArch)
+elseif (LLVM_NATIVE_ARCH STREQUAL "alpha")
+  set(LLVM_NATIVE_ARCH Alpha)
+elseif (LLVM_NATIVE_ARCH MATCHES "hppa")
+  set(LLVM_NATIVE_ARCH HPPA)
+elseif (LLVM_NATIVE_ARCH STREQUAL "sh4")
+  set(LLVM_NATIVE_ARCH SH4)
+elseif (LLVM_NATIVE_ARCH STREQUAL "or1k")
+  set(LLVM_NATIVE_ARCH OR1K)
 else ()
   message(FATAL_ERROR "Unknown architecture ${LLVM_NATIVE_ARCH}")
 endif ()
