diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2018-03-31 12:11:36 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2018-03-31 12:11:36 +0000 |
commit | d0c5aa8cc13c949fc023f4c2484fb6e43dfcbd8b (patch) | |
tree | 2cd5db266c8d5fab03fc51ffe23e978e0c05a7d8 | |
parent | ff47063e2d322b0852c197556ea118a64332baa5 (diff) | |
download | ports-d0c5aa8cc13c949fc023f4c2484fb6e43dfcbd8b.tar.gz ports-d0c5aa8cc13c949fc023f4c2484fb6e43dfcbd8b.zip |
Notes
-rw-r--r-- | lang/gcc5/Makefile | 5 | ||||
-rw-r--r-- | lang/gcc5/files/patch-spe-config | 15 | ||||
-rw-r--r-- | lang/gcc6-devel/Makefile | 5 | ||||
-rw-r--r-- | lang/gcc6-devel/files/patch-spe-config | 15 | ||||
-rw-r--r-- | lang/gcc6/Makefile | 5 | ||||
-rw-r--r-- | lang/gcc6/files/patch-spe-config | 15 | ||||
-rw-r--r-- | lang/gcc7-devel/Makefile | 5 | ||||
-rw-r--r-- | lang/gcc7-devel/files/patch-spe-config | 15 | ||||
-rw-r--r-- | lang/gcc7/Makefile | 5 | ||||
-rw-r--r-- | lang/gcc7/files/patch-spe-config | 15 | ||||
-rw-r--r-- | lang/gcc8-devel/Makefile | 5 | ||||
-rw-r--r-- | lang/gcc8-devel/files/patch-spe-config | 15 |
12 files changed, 114 insertions, 6 deletions
diff --git a/lang/gcc5/Makefile b/lang/gcc5/Makefile index 173cc9597aa7..e3800b11f043 100644 --- a/lang/gcc5/Makefile +++ b/lang/gcc5/Makefile @@ -15,7 +15,7 @@ LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi DEPRECATED= Unsupported by upstream. Use GCC 6 or newer instead. -ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 i386 powerpc powerpc64 sparc64 +ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 i386 powerpc powerpc64 powerpcspe sparc64 BROKEN_sparc64= Does not build: bootstrap comparison failure LIB_DEPENDS= libgmp.so:math/gmp \ @@ -66,6 +66,9 @@ MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 .elif ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" + +.elif ${ARCH} == powerpcspe +CONFIGURE_ARGS+= --with-cpu=8540 --enable-e500_double --without-fp .endif LANGUAGES:= c,c++,objc,fortran diff --git a/lang/gcc5/files/patch-spe-config b/lang/gcc5/files/patch-spe-config new file mode 100644 index 000000000000..276fe8951901 --- /dev/null +++ b/lang/gcc5/files/patch-spe-config @@ -0,0 +1,15 @@ +--- UTC +Index: gcc/config.gcc +=================================================================== +--- gcc/config.gcc.old 2017-04-05 17:48:03.045750000 -0500 ++++ gcc/config.gcc 2017-04-05 17:49:22.143572000 -0500 +@@ -2285,6 +2285,9 @@ + tmake_file="${tmake_file} rs6000/t-freebsd64" + extra_options="${extra_options} rs6000/linux64.opt" + ;; ++ powerpcspe-*) ++ tm_file="${tm_file} rs6000/freebsd.h rs6000/linuxspe.h rs6000/e500.h" ++ ;; + *) + tm_file="${tm_file} rs6000/freebsd.h" + ;; diff --git a/lang/gcc6-devel/Makefile b/lang/gcc6-devel/Makefile index 38206c755ba3..e6ab3f3623dc 100644 --- a/lang/gcc6-devel/Makefile +++ b/lang/gcc6-devel/Makefile @@ -14,7 +14,7 @@ COMMENT= GNU Compiler Collection 6 LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi -ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 sparc64 +ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 powerpcspe sparc64 LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ @@ -81,6 +81,9 @@ MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 .elif ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" USE_GCC= 5 # Cannot require ourselves, needs to be at least 4.9. + +.elif ${ARCH} == powerpcspe +CONFIGURE_ARGS+= --with-cpu=8540 --enable-e500_double --without-fp .endif LANGUAGES:= c,c++,objc,fortran diff --git a/lang/gcc6-devel/files/patch-spe-config b/lang/gcc6-devel/files/patch-spe-config new file mode 100644 index 000000000000..276fe8951901 --- /dev/null +++ b/lang/gcc6-devel/files/patch-spe-config @@ -0,0 +1,15 @@ +--- UTC +Index: gcc/config.gcc +=================================================================== +--- gcc/config.gcc.old 2017-04-05 17:48:03.045750000 -0500 ++++ gcc/config.gcc 2017-04-05 17:49:22.143572000 -0500 +@@ -2285,6 +2285,9 @@ + tmake_file="${tmake_file} rs6000/t-freebsd64" + extra_options="${extra_options} rs6000/linux64.opt" + ;; ++ powerpcspe-*) ++ tm_file="${tm_file} rs6000/freebsd.h rs6000/linuxspe.h rs6000/e500.h" ++ ;; + *) + tm_file="${tm_file} rs6000/freebsd.h" + ;; diff --git a/lang/gcc6/Makefile b/lang/gcc6/Makefile index fb4f9cd3a609..abb352b9699d 100644 --- a/lang/gcc6/Makefile +++ b/lang/gcc6/Makefile @@ -14,7 +14,7 @@ COMMENT= GNU Compiler Collection 6 LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi -ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 sparc64 +ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 powerpcspe sparc64 BROKEN_sparc64= fails to configure: cannot compute suffix of object files: cannot compile LIB_DEPENDS= libgmp.so:math/gmp \ @@ -79,6 +79,9 @@ MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 .elif ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" USE_GCC= 5 # Cannot require ourselves, needs to be at least 4.9. + +.elif ${ARCH} == powerpcspe +CONFIGURE_ARGS+= --with-cpu=8540 --enable-e500_double --without-fp .endif LANGUAGES:= c,c++,objc,fortran diff --git a/lang/gcc6/files/patch-spe-config b/lang/gcc6/files/patch-spe-config new file mode 100644 index 000000000000..276fe8951901 --- /dev/null +++ b/lang/gcc6/files/patch-spe-config @@ -0,0 +1,15 @@ +--- UTC +Index: gcc/config.gcc +=================================================================== +--- gcc/config.gcc.old 2017-04-05 17:48:03.045750000 -0500 ++++ gcc/config.gcc 2017-04-05 17:49:22.143572000 -0500 +@@ -2285,6 +2285,9 @@ + tmake_file="${tmake_file} rs6000/t-freebsd64" + extra_options="${extra_options} rs6000/linux64.opt" + ;; ++ powerpcspe-*) ++ tm_file="${tm_file} rs6000/freebsd.h rs6000/linuxspe.h rs6000/e500.h" ++ ;; + *) + tm_file="${tm_file} rs6000/freebsd.h" + ;; diff --git a/lang/gcc7-devel/Makefile b/lang/gcc7-devel/Makefile index 541f07bf4336..3a269ef1a93f 100644 --- a/lang/gcc7-devel/Makefile +++ b/lang/gcc7-devel/Makefile @@ -14,7 +14,7 @@ COMMENT= GNU Compiler Collection 7 LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi -ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 sparc64 +ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 powerpcspe sparc64 LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ @@ -65,6 +65,9 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .elif ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" USE_GCC= yes + +.elif ${ARCH} == powerpcspe +CONFIGURE_ARGS+= --with-cpu=8540 --enable-e500_double --without-fp .endif LANGUAGES:= c,c++,objc,fortran diff --git a/lang/gcc7-devel/files/patch-spe-config b/lang/gcc7-devel/files/patch-spe-config new file mode 100644 index 000000000000..276fe8951901 --- /dev/null +++ b/lang/gcc7-devel/files/patch-spe-config @@ -0,0 +1,15 @@ +--- UTC +Index: gcc/config.gcc +=================================================================== +--- gcc/config.gcc.old 2017-04-05 17:48:03.045750000 -0500 ++++ gcc/config.gcc 2017-04-05 17:49:22.143572000 -0500 +@@ -2285,6 +2285,9 @@ + tmake_file="${tmake_file} rs6000/t-freebsd64" + extra_options="${extra_options} rs6000/linux64.opt" + ;; ++ powerpcspe-*) ++ tm_file="${tm_file} rs6000/freebsd.h rs6000/linuxspe.h rs6000/e500.h" ++ ;; + *) + tm_file="${tm_file} rs6000/freebsd.h" + ;; diff --git a/lang/gcc7/Makefile b/lang/gcc7/Makefile index 4e17d3dfb40c..719029bf67b3 100644 --- a/lang/gcc7/Makefile +++ b/lang/gcc7/Makefile @@ -14,7 +14,7 @@ COMMENT= GNU Compiler Collection 7 LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi -ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 sparc64 +ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 powerpcspe sparc64 LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ @@ -59,6 +59,9 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .elif ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" USE_GCC= yes + +.elif ${ARCH} == powerpcspe +CONFIGURE_ARGS+= --with-cpu=8540 --enable-e500_double --without-fp .endif LANGUAGES:= c,c++,objc,fortran diff --git a/lang/gcc7/files/patch-spe-config b/lang/gcc7/files/patch-spe-config new file mode 100644 index 000000000000..276fe8951901 --- /dev/null +++ b/lang/gcc7/files/patch-spe-config @@ -0,0 +1,15 @@ +--- UTC +Index: gcc/config.gcc +=================================================================== +--- gcc/config.gcc.old 2017-04-05 17:48:03.045750000 -0500 ++++ gcc/config.gcc 2017-04-05 17:49:22.143572000 -0500 +@@ -2285,6 +2285,9 @@ + tmake_file="${tmake_file} rs6000/t-freebsd64" + extra_options="${extra_options} rs6000/linux64.opt" + ;; ++ powerpcspe-*) ++ tm_file="${tm_file} rs6000/freebsd.h rs6000/linuxspe.h rs6000/e500.h" ++ ;; + *) + tm_file="${tm_file} rs6000/freebsd.h" + ;; diff --git a/lang/gcc8-devel/Makefile b/lang/gcc8-devel/Makefile index 8854b4f19992..0b151cf94d41 100644 --- a/lang/gcc8-devel/Makefile +++ b/lang/gcc8-devel/Makefile @@ -14,7 +14,7 @@ COMMENT= GNU Compiler Collection 8 LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi -ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 sparc64 +ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 powerpcspe sparc64 LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ @@ -63,6 +63,9 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .elif ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" USE_GCC= yes + +.elif ${ARCH} == powerpcspe +CONFIGURE_ARGS+= --with-cpu=8540 --enable-e500_double --without-fp .endif LANGUAGES:= c,c++,objc,fortran diff --git a/lang/gcc8-devel/files/patch-spe-config b/lang/gcc8-devel/files/patch-spe-config new file mode 100644 index 000000000000..16639828cfb4 --- /dev/null +++ b/lang/gcc8-devel/files/patch-spe-config @@ -0,0 +1,15 @@ +--- UTC +Index: gcc/config.gcc +=================================================================== +--- gcc/config.gcc.old 2017-04-05 17:48:03.045750000 -0500 ++++ gcc/config.gcc 2017-04-05 17:49:22.143572000 -0500 +@@ -2383,6 +2383,9 @@ + tmake_file="${tmake_file} rs6000/t-freebsd64" + extra_options="${extra_options} rs6000/linux64.opt" + ;; ++ powerpcspe-*) ++ tm_file="${tm_file} powerpcspe/freebsd.h powerpcspe/linuxspe.h powerpcspe/e500.h" ++ ;; + *) + tm_file="${tm_file} rs6000/freebsd.h" + ;; |