parent
ba75ec63f8
commit
14a314a859
22
gdb.spec
22
gdb.spec
|
@ -11,10 +11,14 @@
|
||||||
# Turn off the brp-python-bytecompile automagic
|
# Turn off the brp-python-bytecompile automagic
|
||||||
%global _python_bytecompile_extra 0
|
%global _python_bytecompile_extra 0
|
||||||
|
|
||||||
# GTS magic sauce.
|
# GTS magic sauce. On GTS N (N >= 13), we always build using
|
||||||
|
# the system compiler and elfutils.
|
||||||
|
#
|
||||||
|
# For testing, we use the GTS (N-1) compiler and the system valgrind/elfutils.
|
||||||
|
|
||||||
%{?scl_package:%global scl gcc-toolset-13}
|
%{?scl_package:%global scl gcc-toolset-13}
|
||||||
%global scl_prefix gcc-toolset-13-
|
%global scl_prefix gcc-toolset-13-
|
||||||
%global scl_testing_prefix gcc-toolset-12-
|
%global scl_testing_cc_prefix gcc-toolset-12-
|
||||||
BuildRequires: scl-utils-build
|
BuildRequires: scl-utils-build
|
||||||
|
|
||||||
# Only build on x86 for RHEL6 SCL, defining missing parallel make macros.
|
# Only build on x86 for RHEL6 SCL, defining missing parallel make macros.
|
||||||
|
@ -318,7 +322,7 @@ BuildRequires: elfutils-debuginfod-client-devel
|
||||||
%if 0%{!?el6:1} && 0%{?scl:1}
|
%if 0%{!?el6:1} && 0%{?scl:1}
|
||||||
%global have_debuginfod 1
|
%global have_debuginfod 1
|
||||||
%global use_scl_for_debuginfod 1
|
%global use_scl_for_debuginfod 1
|
||||||
BuildRequires: %{?scl_prefix}elfutils-debuginfod-client-devel
|
BuildRequires: elfutils-debuginfod-client-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -347,14 +351,14 @@ BuildRequires: boost-devel
|
||||||
BuildRequires: sharutils dejagnu
|
BuildRequires: sharutils dejagnu
|
||||||
# gcc-objc++ is not covered by the GDB testsuite.
|
# gcc-objc++ is not covered by the GDB testsuite.
|
||||||
# Test supported SCL toolchain components.
|
# Test supported SCL toolchain components.
|
||||||
BuildRequires: %{?scl_testing_prefix}gcc %{?scl_testing_prefix}gcc-c++ %{?scl_testing_prefix}gcc-gfortran
|
BuildRequires: %{?scl_testing_cc_prefix}gcc %{?scl_testing_cc_prefix}gcc-c++ %{?scl_testing_cc_prefix}gcc-gfortran
|
||||||
|
|
||||||
%if 0%{!?rhel:1} || 0%{?rhel} < 8
|
%if 0%{!?rhel:1} || 0%{?rhel} < 8
|
||||||
BuildRequires: gcc-objc
|
BuildRequires: gcc-objc
|
||||||
%endif
|
%endif
|
||||||
# We don't support gcc-gdb-plugin on RHEL anymore.
|
# We don't support gcc-gdb-plugin on RHEL anymore.
|
||||||
%if 0%{!?rhel:1}
|
%if 0%{!?rhel:1}
|
||||||
BuildRequires: %{?scl_testing_prefix}gcc-gdb-plugin%{?_isa}
|
BuildRequires: gcc-gdb-plugin%{?_isa}
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel:1} && 0%{?rhel} < 7
|
%if 0%{?rhel:1} && 0%{?rhel} < 7
|
||||||
BuildRequires: gcc-java libgcj%{bits_local} libgcj%{bits_other}
|
BuildRequires: gcc-java libgcj%{bits_local} libgcj%{bits_other}
|
||||||
|
@ -424,12 +428,12 @@ BuildRequires: libquadmath%{bits_local} libquadmath%{bits_other}
|
||||||
BuildRequires: glibc-static%{bits_other}
|
BuildRequires: glibc-static%{bits_other}
|
||||||
%endif
|
%endif
|
||||||
%ifarch s390x
|
%ifarch s390x
|
||||||
BuildRequires: %{?scl_testing_preifx}valgrind%{bits_local}
|
BuildRequires: valgrind%{bits_local}
|
||||||
%if 0%{!?rhel:1} || 0%{?rhel} > 7
|
%if 0%{!?rhel:1} || 0%{?rhel} > 7
|
||||||
BuildRequires: %{?scl_testing_prefix}valgrind%{bits_local} valgrind%{bits_other}
|
BuildRequires: valgrind%{bits_local} valgrind%{bits_other}
|
||||||
%endif
|
%endif
|
||||||
%else
|
%else
|
||||||
BuildRequires: %{?scl_testing_prefix}valgrind%{bits_local} valgrind%{bits_other}
|
BuildRequires: valgrind%{bits_local} valgrind%{bits_other}
|
||||||
%endif
|
%endif
|
||||||
%if 0%{!?rhel:1} || 0%{?rhel} > 6
|
%if 0%{!?rhel:1} || 0%{?rhel} > 6
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
@ -438,7 +442,7 @@ BuildRequires: xz
|
||||||
BuildRequires: rust
|
BuildRequires: rust
|
||||||
%endif
|
%endif
|
||||||
%if 0%{!?el6:1}
|
%if 0%{!?el6:1}
|
||||||
BuildRequires: %{?scl_testing_prefix}elfutils-debuginfod
|
BuildRequires: elfutils-debuginfod
|
||||||
%endif
|
%endif
|
||||||
%endif # 0%{?_with_testsuite:1}
|
%endif # 0%{?_with_testsuite:1}
|
||||||
BuildRequires: make gmp-devel
|
BuildRequires: make gmp-devel
|
||||||
|
|
Loading…
Reference in New Issue