summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiaotian Wu <wuxiaotian@loongson.cn>2025-03-07 17:46:44 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-07 11:13:24 +0000
commit12151ad2f5f95da5f40402cd11cc50fa8713b8f2 (patch)
tree3419ef392e1e971e3ec714165f81ad48316840bf
parente4f6eff971bf88198ede0b9848f6bb2b87162ede (diff)
downloadpoky-12151ad2f5f95da5f40402cd11cc50fa8713b8f2.tar.gz
llvm: Use LoongArch as host for LLVM architecture
(From OE-Core rev: 9b07e2e8ab2dd23e003d2aab6f2b7a7e58eb4652) Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/llvm/llvm_19.1.7.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_19.1.7.bb b/meta/recipes-devtools/llvm/llvm_19.1.7.bb
index 029a1fb4c5..8e861939e0 100644
--- a/meta/recipes-devtools/llvm/llvm_19.1.7.bb
+++ b/meta/recipes-devtools/llvm/llvm_19.1.7.bb
@@ -43,6 +43,7 @@ def get_llvm_arch(bb, d, arch_var):
43 elif re.match(r'armeb$', a): return 'ARM' 43 elif re.match(r'armeb$', a): return 'ARM'
44 elif re.match(r'aarch64$', a): return 'AArch64' 44 elif re.match(r'aarch64$', a): return 'AArch64'
45 elif re.match(r'aarch64_be$', a): return 'AArch64' 45 elif re.match(r'aarch64_be$', a): return 'AArch64'
46 elif re.match(r'loongarch(32|64|)$', a): return 'LoongArch'
46 elif re.match(r'mips(isa|)(32|64|)(r6|)(el|)$', a): return 'Mips' 47 elif re.match(r'mips(isa|)(32|64|)(r6|)(el|)$', a): return 'Mips'
47 elif re.match(r'riscv(32|64)(eb|)$', a): return 'RISCV' 48 elif re.match(r'riscv(32|64)(eb|)$', a): return 'RISCV'
48 elif re.match(r'p(pc|owerpc)(|64)', a): return 'PowerPC' 49 elif re.match(r'p(pc|owerpc)(|64)', a): return 'PowerPC'