[llvm] [cmake] Add config.guess for RISC-V BE (PR #154903)
Djordje Todorovic via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 22 00:24:38 PDT 2025
https://github.com/djtodoro created https://github.com/llvm/llvm-project/pull/154903
This adds config guess support for RISC-V big-endian.
>From 465e793bebb8b7ba32d09ee9da5e27db165c4247 Mon Sep 17 00:00:00 2001
From: Djordje Todorovic <djordje.todorovic at htecgroup.com>
Date: Fri, 22 Aug 2025 09:23:22 +0200
Subject: [PATCH] [cmake] Add config.guess for RISC-V BE
---
llvm/cmake/config.guess | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/cmake/config.guess b/llvm/cmake/config.guess
index 96cc554f181ab..27b55bd166edc 100644
--- a/llvm/cmake/config.guess
+++ b/llvm/cmake/config.guess
@@ -1003,7 +1003,7 @@ EOF
ppcle:Linux:*:*)
echo powerpcle-unknown-linux-gnu
exit ;;
- riscv32:Linux:*:* | riscv64:Linux:*:*)
+ riscv32:Linux:*:* | riscv64:Linux:*:* | riscv32be:Linux:*:* | riscv64be:Linux:*:*)
LIBC=gnu
eval $set_cc_for_build
# Do not check for __GLIBC__ because uclibc defines it too
More information about the llvm-commits
mailing list