Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
51 lines
1.4 KiB
Diff
51 lines
1.4 KiB
Diff
diff --git a/configure b/configure
|
|
index 8133d47f61..334c98e208 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -6215,6 +6215,20 @@ cat > conftest.c <<EOF
|
|
# else
|
|
# error unknown platform triplet
|
|
# endif
|
|
+# elif defined(__loongarch__)
|
|
+# if defined(__loongarch_lp64)
|
|
+# if defined(__loongarch_soft_float)
|
|
+ loongarch64-linux-gnusf
|
|
+# elif defined(__loongarch_single_float)
|
|
+ loongarch64-linux-gnuf32
|
|
+# elif defined(__loongarch_double_float)
|
|
+ loongarch64-linux-gnu
|
|
+# else
|
|
+# error unknown platform triplet
|
|
+# endif
|
|
+# else
|
|
+# error unknown platform triplet
|
|
+# endif
|
|
# else
|
|
# error unknown platform triplet
|
|
# endif
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 3f20d8980d..acde94a181 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -959,6 +959,20 @@ cat > conftest.c <<EOF
|
|
hppa-linux-gnu
|
|
# elif defined(__ia64__)
|
|
ia64-linux-gnu
|
|
+# elif defined(__loongarch__)
|
|
+# if defined(__loongarch_lp64)
|
|
+# if defined(__loongarch_soft_float)
|
|
+ loongarch64-linux-gnusf
|
|
+# elif defined(__loongarch_single_float)
|
|
+ loongarch64-linux-gnuf32
|
|
+# elif defined(__loongarch_double_float)
|
|
+ loongarch64-linux-gnu
|
|
+# else
|
|
+# error unknown platform triplet
|
|
+# endif
|
|
+# else
|
|
+# error unknown platform triplet
|
|
+# endif
|
|
# elif defined(__m68k__) && !defined(__mcoldfire__)
|
|
m68k-linux-gnu
|
|
# elif defined(__mips_hard_float) && defined(__mips_isa_rev) && (__mips_isa_rev >=6) && defined(_MIPSEL)
|