Skip to content

Commit

Permalink
Add initial support for loong64
Browse files Browse the repository at this point in the history
* This adds initial support for building on loong64 to the build system
and ROOT's configuration files and utilities

Signed-off-by: Zhou Qiankang <[email protected]>
  • Loading branch information
wszqkzqk authored and jenkins committed Jan 7, 2025
1 parent ee36b3a commit fed206a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Interpreter/IncrementalJIT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() &&
Expand Down

0 comments on commit fed206a

Please sign in to comment.