Skip to content

Commit f4edfe1

Browse files
committed
bpo-46498: Add Platform triplets for LoongArch64
signed-off-by: Zhang Na co-authors: WANG Xuerui
1 parent 87be8d9 commit f4edfe1

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add platform triplets for LoongArch64

configure

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,20 @@ cat > conftest.c <<EOF
960960
hppa-linux-gnu
961961
# elif defined(__ia64__)
962962
ia64-linux-gnu
963+
# elif defined(__loongarch__)
964+
# if defined(__loongarch_lp64)
965+
# if defined(__loongarch_soft_float)
966+
loongarch64-linux-gnusf
967+
# elif defined(__loongarch_single_float)
968+
loongarch64-linux-gnuf32
969+
# elif defined(__loongarch_double_float)
970+
loongarch64-linux-gnu
971+
# else
972+
# error unknown platform triplet
973+
# endif
974+
# else
975+
# error unknown platform triplet
976+
# endif
963977
# elif defined(__m68k__) && !defined(__mcoldfire__)
964978
m68k-linux-gnu
965979
# elif defined(__mips_hard_float) && defined(__mips_isa_rev) && (__mips_isa_rev >=6) && defined(_MIPSEL)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy