libphobos: Add power*-*-linux* as a supported target
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 26 Apr 2020 09:32:57 +0000 (11:32 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sun, 26 Apr 2020 09:33:41 +0000 (11:33 +0200)
libphobos/ChangeLog:

* configure: Regenerate.
* configure.tgt: Add power*-*-linux* as a supported target, only
building libdruntime.
* m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle
and powerpc64le target cpus.

libphobos/ChangeLog
libphobos/configure
libphobos/configure.tgt
libphobos/m4/druntime/cpu.m4

index 3b89f9b00d90deabeec25b3700d454291d55ce58..ae894c646807e3ac4749e13cd610071bb1187e73 100644 (file)
@@ -1,3 +1,11 @@
+2020-04-26  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * configure: Regenerate.
+       * configure.tgt: Add power*-*-linux* as a supported target, only
+       building libdruntime.
+       * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle
+       and powerpc64le target cpus.
+
 2020-04-21  Mathias Lang  <pro.mathias.lang@gmail.com>
            Iain Buclaw  <ibuclaw@gdcproject.org>
 
index c2b49132fda3d5c2eaba5e328ba0d504dfce6dbd..c923417532fc428ac645e5b5b741b9d6ffb1fd30 100755 (executable)
                ;;
       mips*)   druntime_target_cpu_parsed="mips"
                ;;
-      powerpc) druntime_target_cpu_parsed="powerpc"
+      powerpc|powerpcle)
+               druntime_target_cpu_parsed="powerpc"
                ;;
-      powerpc64)
+      powerpc64|powerpc64le)
                druntime_target_cpu_parsed="powerpc64"
                ;;
       i[34567]86|x86_64)
index 66082e36fad795ae3a6906bdbced3b9171e0f141..ce4cc1f75273c7ba786b507658bcc37d4be5c28b 100644 (file)
@@ -33,6 +33,10 @@ case "${target}" in
   mips*-*-linux*)
        LIBPHOBOS_SUPPORTED=yes
        ;;
+  power*-*-linux*)
+       LIBPHOBOS_SUPPORTED=yes
+       LIBDRUNTIME_ONLY=yes
+       ;;
   riscv*-*-linux*)
        LIBPHOBOS_SUPPORTED=yes
        ;;
index 4887248fd09c2f83adeb7c29be713bba835ea8d9..6e88896ca6695637e57b3e7a7ddab07ebdbbe8b8 100644 (file)
@@ -17,9 +17,10 @@ AC_DEFUN([DRUNTIME_CPU_SOURCES],
                ;;
       mips*)   druntime_target_cpu_parsed="mips"
                ;;
-      powerpc) druntime_target_cpu_parsed="powerpc"
+      powerpc|powerpcle)
+               druntime_target_cpu_parsed="powerpc"
                ;;
-      powerpc64)
+      powerpc64|powerpc64le)
                druntime_target_cpu_parsed="powerpc64"
                ;;
       i[[34567]]86|x86_64)