diff mbox

[AIX] Enable Go for AIX

Message ID B37989F2852398498001550C29155BE51789E852@FRCRPVV9EX4MSX.ww931.my-it-solutions.net
State New
Headers show

Commit Message

REIX, Tony July 26, 2017, 12:48 p.m. UTC
Description:
 * This patch enables Go on AIX.

Tests:
 * Fedora25/x86_64 + GCC trunk : Configure/Build: SUCCESS
   - build made by means of gmake.

ChangeLog:
 * configure.ac, configure: Enable Go for AIX
 * contrib/config-list.mk: Enable Go for AIX


Cordialement,

Tony Reix

Bull - ATOS
IBM Coop Architect & Technical Leader

Office : +33 (0) 4 76 29 72 67
1 rue de Provence - 38432 Échirolles - France
www.atos.net

Comments

Ian Lance Taylor July 28, 2017, 12:28 a.m. UTC | #1
On Wed, Jul 26, 2017 at 5:48 AM, REIX, Tony <tony.reix@atos.net> wrote:
> Description:
>  * This patch enables Go on AIX.
>
> Tests:
>  * Fedora25/x86_64 + GCC trunk : Configure/Build: SUCCESS
>    - build made by means of gmake.
>
> ChangeLog:
>  * configure.ac, configure: Enable Go for AIX
>  * contrib/config-list.mk: Enable Go for AIX

This patch is fine with me.  Leaving for David as AIX maintainer.

Thanks.

Ian
David Edelsohn July 28, 2017, 6:57 p.m. UTC | #2
On Wed, Jul 26, 2017 at 8:48 AM, REIX, Tony <tony.reix@atos.net> wrote:
> Description:
>  * This patch enables Go on AIX.
>
> Tests:
>  * Fedora25/x86_64 + GCC trunk : Configure/Build: SUCCESS
>    - build made by means of gmake.
>
> ChangeLog:
>  * configure.ac, configure: Enable Go for AIX
>  * contrib/config-list.mk: Enable Go for AIX

I committed the configure part of this patch.

I don't want to commit the config-list.mk change until Go actually builds.

Thanks, David
diff mbox

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(révision 250563)
+++ ChangeLog	(copie de travail)
@@ -1,3 +1,7 @@ 
+2017-07-26  Tony Reix  <tony.reix@atos.net>
+
+	* configure.ac, configure: Enable Go for AIX
+
 2017-07-19  Yury Gribov  <tetra2005@gmail.com>
 
 	* MAINTAINERS: Add myself.
Index: configure
===================================================================
--- configure	(révision 250563)
+++ configure	(copie de travail)
@@ -3480,7 +3480,7 @@  esac
 # Disable the go frontend on systems where it is known to not work. Please keep
 # this in sync with contrib/config-list.mk.
 case "${target}" in
-*-*-darwin* | *-*-cygwin* | *-*-mingw* | *-*-aix*)
+*-*-darwin* | *-*-cygwin* | *-*-mingw*)
     unsupported_languages="$unsupported_languages go"
     ;;
 esac
@@ -3496,9 +3496,6 @@  if test x$enable_libgo = x; then
     *-*-cygwin* | *-*-mingw*)
 	noconfigdirs="$noconfigdirs target-libgo"
 	;;
-    *-*-aix*)
-	noconfigdirs="$noconfigdirs target-libgo"
-	;;
     esac
 fi
 
Index: configure.ac
===================================================================
--- configure.ac	(révision 250563)
+++ configure.ac	(copie de travail)
@@ -808,7 +808,7 @@  esac
 # Disable the go frontend on systems where it is known to not work. Please keep
 # this in sync with contrib/config-list.mk.
 case "${target}" in
-*-*-darwin* | *-*-cygwin* | *-*-mingw* | *-*-aix*)
+*-*-darwin* | *-*-cygwin* | *-*-mingw*)
     unsupported_languages="$unsupported_languages go"
     ;;
 esac
@@ -824,9 +824,6 @@  if test x$enable_libgo = x; then
     *-*-cygwin* | *-*-mingw*)
 	noconfigdirs="$noconfigdirs target-libgo"
 	;;
-    *-*-aix*)
-	noconfigdirs="$noconfigdirs target-libgo"
-	;;
     esac
 fi
 
Index: contrib/ChangeLog
===================================================================
--- contrib/ChangeLog	(révision 250563)
+++ contrib/ChangeLog	(copie de travail)
@@ -1,3 +1,7 @@ 
+2017-07-26  Tony Reix  <tony.reix@atos.net>
+
+	* config-list.mk: Enable Go for AIX
+
 2017-07-17  Yury Gribov  <tetra2005@gmail.com>
 
 	* mklog: Fix extraction of changed file name.
Index: contrib/config-list.mk
===================================================================
--- contrib/config-list.mk	(révision 250563)
+++ contrib/config-list.mk	(copie de travail)
@@ -121,7 +121,7 @@  $(LIST): make-log-dir
 		TGT=`echo $@ | awk 'BEGIN { FS = "OPT" }; { print $$1 }'` &&			\
 		TGT=`$(GCC_SRC_DIR)/config.sub $$TGT` &&					\
 		case $$TGT in									\
-			*-*-darwin* | *-*-cygwin* | *-*-mingw* | *-*-aix*)			\
+			*-*-darwin* | *-*-cygwin* | *-*-mingw*)					\
 				ADDITIONAL_LANGUAGES="";					\
 				;;								\
 			*)									\