[llvm] d49353c - [cmake] Add config.guess for RISC-V BE (#154903)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 22 12:07:43 PDT 2025


Author: Djordje Todorovic
Date: 2025-08-22T21:07:40+02:00
New Revision: d49353c81226f08f5131d257fce79868649430bd

URL: https://github.com/llvm/llvm-project/commit/d49353c81226f08f5131d257fce79868649430bd
DIFF: https://github.com/llvm/llvm-project/commit/d49353c81226f08f5131d257fce79868649430bd.diff

LOG: [cmake] Add config.guess for RISC-V BE (#154903)

This adds config guess support for RISC-V big-endian.

Added: 
    

Modified: 
    llvm/cmake/config.guess

Removed: 
    


################################################################################
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