Accepting request 1191646 from devel:gcc
Note this is intended only for Staging:Gcc7 for now but I am pushing this to SUSE:SLFO:Main as well to complement gcc14 there and make that the user-visible compiler (but leaving packages built with gcc13). For Factory this would switch building packages to gcc14. Thus Staging:Gcc7. === - Add libquadmath-devel package for GCC 14. - Bump GCC version to 14, leave -build flavor at 13. - Add conflicts where -build variants provide the non-build variant. - Add gcc, gcc-c++ and libstdc++-devel Provides to the -build flavor of those packages. Should fix build of boost in ALP. OBS-URL: https://build.opensuse.org/request/show/1191646 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc?expand=0&rev=77
This commit is contained in:
commit
91c762a013
17
gcc.changes
17
gcc.changes
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 1 10:53:40 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
- Add libquadmath-devel package for GCC 14.
|
||||||
|
- Bump GCC version to 14, leave -build flavor at 13.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 20 09:48:44 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
- Add conflicts where -build variants provide the non-build variant.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 18 13:47:32 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
- Add gcc, gcc-c++ and libstdc++-devel Provides to the -build flavor
|
||||||
|
of those packages. Should fix build of boost in ALP.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 14 09:27:54 UTC 2024 - Richard Biener <rguenther@suse.com>
|
Wed Feb 14 09:27:54 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
40
gcc.spec
40
gcc.spec
@ -24,8 +24,8 @@
|
|||||||
%define gcc_suffix 13
|
%define gcc_suffix 13
|
||||||
%else
|
%else
|
||||||
%define gccsuffix %{nil}
|
%define gccsuffix %{nil}
|
||||||
%define gcc_version 13
|
%define gcc_version 14
|
||||||
%define gcc_suffix 13
|
%define gcc_suffix 14
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: gcc%{gccsuffix}
|
Name: gcc%{gccsuffix}
|
||||||
@ -53,7 +53,9 @@ Name: gcc%{gccsuffix}
|
|||||||
%else
|
%else
|
||||||
%define build_d 0
|
%define build_d 0
|
||||||
%endif
|
%endif
|
||||||
|
%define quadmath_arch %ix86 x86_64 ia64 ppc64le
|
||||||
%define libgccjit_sover 0
|
%define libgccjit_sover 0
|
||||||
|
|
||||||
URL: http://gcc.gnu.org/
|
URL: http://gcc.gnu.org/
|
||||||
Version: %{gcc_version}
|
Version: %{gcc_version}
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -61,6 +63,10 @@ Summary: The system GNU C Compiler
|
|||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Provides: c_compiler
|
Provides: c_compiler
|
||||||
|
%if "%{gccsuffix}" != ""
|
||||||
|
Provides: gcc = %{version}
|
||||||
|
Conflicts: gcc
|
||||||
|
%endif
|
||||||
Requires: cpp%{gccsuffix}
|
Requires: cpp%{gccsuffix}
|
||||||
Requires: gcc%{gcc_version}
|
Requires: gcc%{gcc_version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -152,12 +158,7 @@ The system GNU Compiler documentation.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# install / update the entries
|
# install / update the entries
|
||||||
|
|
||||||
%post -n gcc%{gccsuffix}-info
|
%post -n gcc%{gccsuffix}-info
|
||||||
%install_info --info-dir=%{_infodir} --name=cpp --description='The GNU C preprocessor.' %{_infodir}/cpp.info.gz
|
%install_info --info-dir=%{_infodir} --name=cpp --description='The GNU C preprocessor.' %{_infodir}/cpp.info.gz
|
||||||
%install_info --info-dir=%{_infodir} --name=gcc --description='The GNU Compiler Collection.' %{_infodir}/gcc.info.gz
|
%install_info --info-dir=%{_infodir} --name=gcc --description='The GNU Compiler Collection.' %{_infodir}/gcc.info.gz
|
||||||
@ -178,6 +179,10 @@ Summary: The system GNU C++ Compiler
|
|||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Provides: c++_compiler
|
Provides: c++_compiler
|
||||||
|
%if "%{gccsuffix}" != ""
|
||||||
|
Provides: gcc-c++ = %{version}
|
||||||
|
Conflicts: gcc-c++
|
||||||
|
%endif
|
||||||
Requires: gcc%{gcc_version}-c++
|
Requires: gcc%{gcc_version}-c++
|
||||||
Requires: gcc%{gccsuffix} = %{version}
|
Requires: gcc%{gccsuffix} = %{version}
|
||||||
|
|
||||||
@ -210,6 +215,10 @@ The system GNU C++ Compiler 64 bit support.
|
|||||||
Summary: The system GNU C++ development files
|
Summary: The system GNU C++ development files
|
||||||
License: GPL-3.0-only WITH GCC-exception-3.1
|
License: GPL-3.0-only WITH GCC-exception-3.1
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
%if "%{gccsuffix}" != ""
|
||||||
|
Provides: libstdc++-devel = %{version}
|
||||||
|
Conflicts: libstdc++-devel
|
||||||
|
%endif
|
||||||
Requires: libstdc++6-devel-gcc%{gcc_version}
|
Requires: libstdc++6-devel-gcc%{gcc_version}
|
||||||
|
|
||||||
%description -n libstdc++%{gccsuffix}-devel
|
%description -n libstdc++%{gccsuffix}-devel
|
||||||
@ -423,6 +432,15 @@ Requires: libgccjit%{libgccjit_sover}-devel-gcc%{gcc_version}
|
|||||||
%description -n libgccjit%{gccsuffix}-devel
|
%description -n libgccjit%{gccsuffix}-devel
|
||||||
Package contains header files and documentation for GCC JIT front-end.
|
Package contains header files and documentation for GCC JIT front-end.
|
||||||
|
|
||||||
|
%package -n libquadmath%{gccsuffix}-devel
|
||||||
|
Summary: Development files for the quadprecision math library
|
||||||
|
License: LGPL-2.1-only
|
||||||
|
Group: Development/Languages/Fortran
|
||||||
|
Requires: libquadmath0-devel-gcc%{gcc_version}
|
||||||
|
|
||||||
|
%description -n libquadmath%{gccsuffix}-devel
|
||||||
|
Development files for the quadprecision math library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -692,4 +710,12 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
# empty - only for the dependency
|
# empty - only for the dependency
|
||||||
|
|
||||||
|
%if %{gcc_version} >= 14
|
||||||
|
%ifarch %quadmath_arch
|
||||||
|
%files -n libquadmath%{gccsuffix}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
# empty - only for the dependency
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user