diff mbox series

llvm: allow arm64

Message ID 20240120162312.92842-1-lucvoo@kernel.org (mailing list archive)
State New
Headers show
Series llvm: allow arm64 | expand

Commit Message

Luc Van Oostenryck Jan. 20, 2024, 4:23 p.m. UTC
From: Luc Van Oostenryck <lucvoo@kernel.org>

This patch is somehow incomplete because the layout is not set
but it's not clear what exactly the layout is needed for and at
least it allows to run the testsuite on this architecture.

Signed-off-by: Luc Van Oostenryck <lucvoo@kernel.org>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 84b4527f244e..216abbd1f6c8 100644
--- a/Makefile
+++ b/Makefile
@@ -200,7 +200,7 @@  arch := $(shell uname -m)
 ifeq (${MULTIARCH_TRIPLET},x86_64-linux-gnux32)
 arch := x32
 endif
-ifneq ($(filter ${arch},i386 i486 i586 i686 x86_64 amd64),)
+ifneq ($(filter ${arch},i386 i486 i586 i686 x86_64 amd64 aarch64 arm64),)
 LLVM_VERSION:=$(shell $(LLVM_CONFIG) --version)
 LLVM_VERSION_MAJOR:=$(firstword $(subst ., ,$(LLVM_VERSION)))
 ifeq ($(shell expr "$(LLVM_VERSION_MAJOR)" '>=' 3),1)