Disable testsuite for RISC-V
This commit is contained in:
commit
e4a6c2ead7
@ -21,7 +21,7 @@ Name: %{?scl_prefix}binutils
|
||||
# The variable %%{source} (see below) should be set to indicate which of these
|
||||
# origins is being used.
|
||||
Version: 2.46
|
||||
Release: 2%{?dist}.alma.1
|
||||
Release: 3%{?dist}.alma.1
|
||||
License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later
|
||||
URL: https://sourceware.org/binutils
|
||||
|
||||
@ -159,7 +159,7 @@ URL: https://sourceware.org/binutils
|
||||
# Bootstrapping: Set this to 1 to build the binutils with the system gcc.
|
||||
# Then once GTS-gcc is built and in the buildroot, reset this variable
|
||||
# to 0, bump the NVR and rebuild GTS-binutils.
|
||||
%define bootstrapping 1
|
||||
%define bootstrapping 0
|
||||
|
||||
#----End of Configure Options------------------------------------------------
|
||||
|
||||
@ -387,11 +387,18 @@ BuildRequires: autoconf, automake, perl, sed, coreutils, make
|
||||
# Bison is used to generate gold/yyscript.c and ld/ldgram.c.
|
||||
BuildRequires: bison
|
||||
|
||||
%if ! %{bootstrapping}
|
||||
# Libatomic is automatically added to the link command line by GTS-gcc.
|
||||
BuildRequires: %{?scl_prefix}libatomic-devel
|
||||
%endif
|
||||
|
||||
%if %have_scl_utils
|
||||
BuildRequires: scl-utils-build
|
||||
%else
|
||||
%if ! %{bootstrapping}
|
||||
BuildRequires: gcc-toolset-%{gts_ver}-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %{with clang}
|
||||
|
||||
@ -1390,8 +1397,10 @@ done
|
||||
export QA_RPATHS=0x0003
|
||||
|
||||
%if %have_scl_utils == 0
|
||||
%if ! %{bootstrapping}
|
||||
mkdir -p %{buildroot}%{_scl_root}/etc/alternatives %{buildroot}%{_scl_root}/var/lib/alternatives
|
||||
%endif
|
||||
%endif
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
@ -1555,9 +1564,11 @@ exit 0
|
||||
%endif
|
||||
|
||||
%if %have_scl_utils == 0
|
||||
%if ! %{bootstrapping}
|
||||
%dir %{_scl_root}/etc/alternatives
|
||||
%dir %{_scl_root}/var/lib/alternatives
|
||||
%endif
|
||||
%endif
|
||||
|
||||
#------------------------------------
|
||||
|
||||
@ -1592,7 +1603,11 @@ exit 0
|
||||
%{_bindir}/gprofng-*
|
||||
%dir %{_libdir}/gprofng
|
||||
%{_libdir}/gprofng/*
|
||||
%if %{bootstrapping}
|
||||
/etc/gprofng.rc
|
||||
%else
|
||||
%{_scl_root}/etc/gprofng.rc
|
||||
%endif
|
||||
|
||||
%if %{enable_shared}
|
||||
%{_libdir}/libgprofng.*
|
||||
@ -1639,9 +1654,12 @@ exit 0
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
%changelog
|
||||
* Wed Jul 15 2026 Eduard Abdullin <eabdullin@almalinux.org> - 2.46-2.alma.1
|
||||
* Tue Aug 11 2026 Eduard Abdullin <eabdullin@almalinux.org> - 2.46-3.alma.1
|
||||
- Disable testsuite for RISC-V
|
||||
|
||||
* Thu Aug 06 2026 Nick Clifton <nickc@redhat.com> - 2.46-3
|
||||
- Disable bootstrapping mode. Add build requirement for libatomic-devel. (RHEL-208907)
|
||||
|
||||
* Mon Jul 06 2026 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.46-2
|
||||
- Fix alternatives path when bootstrapping (RHEL-191862)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user