Skip to content

Commit ff239db

Browse files
Helgehdeller
authored andcommitted
Cmake: Allow build on HP PA-RISC host machine
Fix this configure stage error: -- LLVM host triple: hppa1.1-unknown-linux-gnu CMake Error at cmake/config-ix.cmake:516 (message): Unknown architecture hppa1.1
1 parent 8caeb2e commit ff239db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/cmake/config-ix.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,10 @@ elseif (LLVM_NATIVE_ARCH STREQUAL "m68k")
512512
set(LLVM_NATIVE_ARCH M68k)
513513
elseif (LLVM_NATIVE_ARCH MATCHES "loongarch")
514514
set(LLVM_NATIVE_ARCH LoongArch)
515+
elseif (LLVM_NATIVE_ARCH MATCHES "hppa1.1")
516+
set(LLVM_NATIVE_ARCH HPPA)
517+
elseif (LLVM_NATIVE_ARCH MATCHES "hppa64")
518+
set(LLVM_NATIVE_ARCH HPPA)
515519
else ()
516520
message(FATAL_ERROR "Unknown architecture ${LLVM_NATIVE_ARCH}")
517521
endif ()

0 commit comments

Comments
 (0)