[Git][ghc/ghc][master] Re-add unregisterised build support for sparc and sparc64

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Tue Sep 19 23:11:09 UTC 2023



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
665ca116 by John Paul Adrian Glaubitz at 2023-09-19T19:10:39-04:00
Re-add unregisterised build support for sparc and sparc64

Closes #23959

- - - - -


2 changed files:

- m4/fptools_set_haskell_platform_vars.m4
- m4/ghc_convert_cpu.m4


Changes:

=====================================
m4/fptools_set_haskell_platform_vars.m4
=====================================
@@ -48,7 +48,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS_SHELL_FUNCTIONS],
         loongarch64)
             test -z "[$]2" || eval "[$]2=ArchLoongArch64"
             ;;
-        hppa|hppa1_1|ia64|m68k|nios2|riscv32|loongarch32|rs6000|s390|sh4|vax)
+        hppa|hppa1_1|ia64|m68k|nios2|riscv32|loongarch32|rs6000|s390|sh4|sparc|sparc64|vax)
             test -z "[$]2" || eval "[$]2=ArchUnknown"
             ;;
         javascript)


=====================================
m4/ghc_convert_cpu.m4
=====================================
@@ -74,6 +74,12 @@ case "$1" in
   sh4)
     $2="sh4"
     ;;
+  sparc64*)
+    $2="sparc64"
+    ;;
+  sparc*)
+    $2="sparc"
+    ;;
   vax)
     $2="vax"
     ;;



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/665ca116428c59bbeecd9e0640b6905c95526a59

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/665ca116428c59bbeecd9e0640b6905c95526a59
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230919/e5f786a6/attachment-0001.html>


More information about the ghc-commits mailing list