From fed206a3e9df070b455d1bbc594848670a0df5e2 Mon Sep 17 00:00:00 2001 From: Zhou Qiankang Date: Sun, 29 Dec 2024 12:47:34 +0800 Subject: [PATCH] Add initial support for loong64 * This adds initial support for building on loong64 to the build system and ROOT's configuration files and utilities Signed-off-by: Zhou Qiankang --- lib/Interpreter/IncrementalJIT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Interpreter/IncrementalJIT.cpp b/lib/Interpreter/IncrementalJIT.cpp index ddd2acbe72..ad936d9316 100644 --- a/lib/Interpreter/IncrementalJIT.cpp +++ b/lib/Interpreter/IncrementalJIT.cpp @@ -349,7 +349,7 @@ static bool UseJITLink(const Triple& TT) { bool jitLink = false; // Default to JITLink on macOS and RISC-V, as done in (recent) LLVM by // LLJITBuilderState::prepareForConstruction. - if (TT.getArch() == Triple::riscv64 || + if (TT.getArch() == Triple::riscv64 || TT.getArch() == Triple::loongarch64 || (TT.isOSBinFormatMachO() && (TT.getArch() == Triple::aarch64 || TT.getArch() == Triple::x86_64)) || (TT.isOSBinFormatELF() &&