From 3777826854074d9c84ff8ed79061d8e6c77a89e8 Mon Sep 17 00:00:00 2001 From: "Hyung-Kyu (HQ) Choi" Date: Tue, 2 Feb 2016 14:57:25 +0900 Subject: packaging: Disable builidng FORTRAN compiler - remove fortran related gcc configure options - remove fortran related RPM packaging rules And qemu-accel should be update to diable fortran correctly. Change-Id: I29a188e096d77770ccfe014c1ddd08530a3ec595 Signed-off-by: Hyung-Kyu (HQ) Choi --- packaging/gcc-aarch64.spec | 62 +--------------------------------------------- packaging/gcc-armv7l.spec | 62 +--------------------------------------------- packaging/linaro-gcc.spec | 62 +--------------------------------------------- 3 files changed, 3 insertions(+), 183 deletions(-) (limited to 'packaging') diff --git a/packaging/gcc-aarch64.spec b/packaging/gcc-aarch64.spec index e099839861b..520a0ab0f1d 100644 --- a/packaging/gcc-aarch64.spec +++ b/packaging/gcc-aarch64.spec @@ -196,23 +196,6 @@ implementation of Distributed Systems Programming (GLADE) and the Posix %post -n libada -p /sbin/ldconfig %postun -n libada -p /sbin/ldconfig -%package fortran -Summary: The GNU Fortran Compiler and Support Files -License: GPL-3.0+ -Group: Development/Languages -%description fortran -This is the Fortran compiler of the GNU Compiler Collection (GCC). - -%package -n libgfortran -Summary: The GNU Fortran Compiler Runtime Library -License: GPL-3.0-with-GCC-exception -Group: Development/Languages -%description -n libgfortran -The runtime library needed to run programs compiled with the Fortran compiler -of the GNU Compiler Collection (GCC). -%post -n libgfortran -p /sbin/ldconfig -%postun -n libgfortran -p /sbin/ldconfig - %package -n libquadmath Summary: The GNU Fortran Compiler Quadmath Runtime Library License: LGPL-2.1 @@ -478,23 +461,6 @@ implementation of Distributed Systems Programming (GLADE) and the Posix %post -n libada-32bit -p /sbin/ldconfig %postun -n libada-32bit -p /sbin/ldconfig -%package fortran-32bit -Summary: The GNU Fortran Compiler and Support Files -License: GPL-3.0+ -Group: Development/Languages -%description fortran-32bit -This is the Fortran compiler of the GNU Compiler Collection (GCC). - -%package -n libgfortran-32bit -Summary: The GNU Fortran Compiler Runtime Library -License: GPL-3.0-with-GCC-exception -Group: Development/Languages -%description -n libgfortran-32bit -The runtime library needed to run programs compiled with the Fortran compiler -of the GNU Compiler Collection (GCC). -%post -n libgfortran-32bit -p /sbin/ldconfig -%postun -n libgfortran-32bit -p /sbin/ldconfig - %package -n libquadmath-32bit Summary: The GNU Fortran Compiler Quadmath Runtime Library License: LGPL-2.1 @@ -656,7 +622,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \ --mandir=%{_mandir} \ --libdir=%{libdir} \ --libexecdir=%{libdir} \ - --enable-languages=c,c++,fortran \ + --enable-languages=c,c++ \ --enable-checking=release \ --enable-ssp \ --disable-libssp \ @@ -714,7 +680,6 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \ } \ --disable-libgcc \ --disable-libquadmath \ - --disable-libgfortran \ --disable-libgomp \ --disable-libatomic \ --disable-libstdc++-v3 \ @@ -895,27 +860,6 @@ rm -rf %{buildroot}/%{libsubdir}/include %{libdir}/libubsan.so.* %endif -%files fortran -%defattr(-,root,root) -%dir %{libsubdir}/finclude -%{_bindir}/gfortran -%{_bindir}/%{target_arch}-gfortran -%{libsubdir}/f951 -%{libsubdir}/finclude/* -%{libdir}/libgfortran.a -%{libdir}/libgfortran.so -%{libsubdir}/libgfortran.spec -%{libsubdir}/libgfortranbegin.a -%{libsubdir}/libcaf_single.a -%ifarch %quadmath_arch -%{libdir}/libquadmath.a -%{libdir}/libquadmath.so -%endif - -%files -n libgfortran -%defattr(-,root,root) -%{libdir}/libgfortran.so.* - %ifarch %quadmath_arch %files -n libquadmath %defattr(-,root,root) @@ -963,10 +907,6 @@ rm -rf %{buildroot}/%{libsubdir}/include %{libsubdir}/32/libcilkrts.so.* %endif -%files -n libgfortran-32bit -%defattr(-,root,root) -%{libsubdir}/32/libgfortran.so.* - %files -n libgcc-32bit %defattr(-,root,root) %{libsubdir}/32/libgcc_s.so.* diff --git a/packaging/gcc-armv7l.spec b/packaging/gcc-armv7l.spec index 1a0d9a85e8b..074b5c3acf6 100644 --- a/packaging/gcc-armv7l.spec +++ b/packaging/gcc-armv7l.spec @@ -196,23 +196,6 @@ implementation of Distributed Systems Programming (GLADE) and the Posix %post -n libada -p /sbin/ldconfig %postun -n libada -p /sbin/ldconfig -%package fortran -Summary: The GNU Fortran Compiler and Support Files -License: GPL-3.0+ -Group: Development/Languages -%description fortran -This is the Fortran compiler of the GNU Compiler Collection (GCC). - -%package -n libgfortran -Summary: The GNU Fortran Compiler Runtime Library -License: GPL-3.0-with-GCC-exception -Group: Development/Languages -%description -n libgfortran -The runtime library needed to run programs compiled with the Fortran compiler -of the GNU Compiler Collection (GCC). -%post -n libgfortran -p /sbin/ldconfig -%postun -n libgfortran -p /sbin/ldconfig - %package -n libquadmath Summary: The GNU Fortran Compiler Quadmath Runtime Library License: LGPL-2.1 @@ -478,23 +461,6 @@ implementation of Distributed Systems Programming (GLADE) and the Posix %post -n libada-32bit -p /sbin/ldconfig %postun -n libada-32bit -p /sbin/ldconfig -%package fortran-32bit -Summary: The GNU Fortran Compiler and Support Files -License: GPL-3.0+ -Group: Development/Languages -%description fortran-32bit -This is the Fortran compiler of the GNU Compiler Collection (GCC). - -%package -n libgfortran-32bit -Summary: The GNU Fortran Compiler Runtime Library -License: GPL-3.0-with-GCC-exception -Group: Development/Languages -%description -n libgfortran-32bit -The runtime library needed to run programs compiled with the Fortran compiler -of the GNU Compiler Collection (GCC). -%post -n libgfortran-32bit -p /sbin/ldconfig -%postun -n libgfortran-32bit -p /sbin/ldconfig - %package -n libquadmath-32bit Summary: The GNU Fortran Compiler Quadmath Runtime Library License: LGPL-2.1 @@ -656,7 +622,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \ --mandir=%{_mandir} \ --libdir=%{libdir} \ --libexecdir=%{libdir} \ - --enable-languages=c,c++,fortran \ + --enable-languages=c,c++ \ --enable-checking=release \ --enable-ssp \ --disable-libssp \ @@ -714,7 +680,6 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \ } \ --disable-libgcc \ --disable-libquadmath \ - --disable-libgfortran \ --disable-libgomp \ --disable-libatomic \ --disable-libstdc++-v3 \ @@ -895,27 +860,6 @@ rm -rf %{buildroot}/%{libsubdir}/include %{libdir}/libubsan.so.* %endif -%files fortran -%defattr(-,root,root) -%dir %{libsubdir}/finclude -%{_bindir}/gfortran -%{_bindir}/%{target_arch}-gfortran -%{libsubdir}/f951 -%{libsubdir}/finclude/* -%{libdir}/libgfortran.a -%{libdir}/libgfortran.so -%{libsubdir}/libgfortran.spec -%{libsubdir}/libgfortranbegin.a -%{libsubdir}/libcaf_single.a -%ifarch %quadmath_arch -%{libdir}/libquadmath.a -%{libdir}/libquadmath.so -%endif - -%files -n libgfortran -%defattr(-,root,root) -%{libdir}/libgfortran.so.* - %ifarch %quadmath_arch %files -n libquadmath %defattr(-,root,root) @@ -963,10 +907,6 @@ rm -rf %{buildroot}/%{libsubdir}/include %{libsubdir}/32/libcilkrts.so.* %endif -%files -n libgfortran-32bit -%defattr(-,root,root) -%{libsubdir}/32/libgfortran.so.* - %files -n libgcc-32bit %defattr(-,root,root) %{libsubdir}/32/libgcc_s.so.* diff --git a/packaging/linaro-gcc.spec b/packaging/linaro-gcc.spec index a03932c13ba..f40f531d6c6 100644 --- a/packaging/linaro-gcc.spec +++ b/packaging/linaro-gcc.spec @@ -193,23 +193,6 @@ implementation of Distributed Systems Programming (GLADE) and the Posix %post -n libada -p /sbin/ldconfig %postun -n libada -p /sbin/ldconfig -%package fortran -Summary: The GNU Fortran Compiler and Support Files -License: GPL-3.0+ -Group: Development/Languages -%description fortran -This is the Fortran compiler of the GNU Compiler Collection (GCC). - -%package -n libgfortran -Summary: The GNU Fortran Compiler Runtime Library -License: GPL-3.0-with-GCC-exception -Group: Development/Languages -%description -n libgfortran -The runtime library needed to run programs compiled with the Fortran compiler -of the GNU Compiler Collection (GCC). -%post -n libgfortran -p /sbin/ldconfig -%postun -n libgfortran -p /sbin/ldconfig - %package -n libquadmath Summary: The GNU Fortran Compiler Quadmath Runtime Library License: LGPL-2.1 @@ -475,23 +458,6 @@ implementation of Distributed Systems Programming (GLADE) and the Posix %post -n libada-32bit -p /sbin/ldconfig %postun -n libada-32bit -p /sbin/ldconfig -%package fortran-32bit -Summary: The GNU Fortran Compiler and Support Files -License: GPL-3.0+ -Group: Development/Languages -%description fortran-32bit -This is the Fortran compiler of the GNU Compiler Collection (GCC). - -%package -n libgfortran-32bit -Summary: The GNU Fortran Compiler Runtime Library -License: GPL-3.0-with-GCC-exception -Group: Development/Languages -%description -n libgfortran-32bit -The runtime library needed to run programs compiled with the Fortran compiler -of the GNU Compiler Collection (GCC). -%post -n libgfortran-32bit -p /sbin/ldconfig -%postun -n libgfortran-32bit -p /sbin/ldconfig - %package -n libquadmath-32bit Summary: The GNU Fortran Compiler Quadmath Runtime Library License: LGPL-2.1 @@ -653,7 +619,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \ --mandir=%{_mandir} \ --libdir=%{libdir} \ --libexecdir=%{libdir} \ - --enable-languages=c,c++,fortran \ + --enable-languages=c,c++ \ --enable-checking=release \ --enable-ssp \ --disable-libssp \ @@ -711,7 +677,6 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \ } \ --disable-libgcc \ --disable-libquadmath \ - --disable-libgfortran \ --disable-libgomp \ --disable-libatomic \ --disable-libstdc++-v3 \ @@ -892,27 +857,6 @@ rm -rf %{buildroot}/%{libsubdir}/include %{libdir}/libubsan.so.* %endif -%files fortran -%defattr(-,root,root) -%dir %{libsubdir}/finclude -%{_bindir}/gfortran -%{_bindir}/%{target_arch}-gfortran -%{libsubdir}/f951 -%{libsubdir}/finclude/* -%{libdir}/libgfortran.a -%{libdir}/libgfortran.so -%{libsubdir}/libgfortran.spec -%{libsubdir}/libgfortranbegin.a -%{libsubdir}/libcaf_single.a -%ifarch %quadmath_arch -%{libdir}/libquadmath.a -%{libdir}/libquadmath.so -%endif - -%files -n libgfortran -%defattr(-,root,root) -%{libdir}/libgfortran.so.* - %ifarch %quadmath_arch %files -n libquadmath %defattr(-,root,root) @@ -960,10 +904,6 @@ rm -rf %{buildroot}/%{libsubdir}/include %{libsubdir}/32/libcilkrts.so.* %endif -%files -n libgfortran-32bit -%defattr(-,root,root) -%{libsubdir}/32/libgfortran.so.* - %files -n libgcc-32bit %defattr(-,root,root) %{libsubdir}/32/libgcc_s.so.* -- cgit v1.2.3