Only request gdb when doing full regtest
This commit is contained in:
parent
6cf1155730
commit
df3b58e7d0
@ -113,7 +113,9 @@ BuildRequires: openmpi-devel >= 1.3.3
|
|||||||
|
|
||||||
# For %%build and %%check.
|
# For %%build and %%check.
|
||||||
# In case of a software collection, pick the matching gdb and binutils.
|
# In case of a software collection, pick the matching gdb and binutils.
|
||||||
|
%if %{run_full_regtest}
|
||||||
BuildRequires: %{?scl_prefix}gdb
|
BuildRequires: %{?scl_prefix}gdb
|
||||||
|
%endif
|
||||||
BuildRequires: %{?scl_prefix}binutils
|
BuildRequires: %{?scl_prefix}binutils
|
||||||
|
|
||||||
# gdbserver_tests/filter_make_empty uses ps in test
|
# gdbserver_tests/filter_make_empty uses ps in test
|
||||||
@ -319,7 +321,11 @@ chmod 644 $RPM_BUILD_ROOT%{_libdir}/valgrind/vgpreload*-%{valarch}-*so
|
|||||||
%check
|
%check
|
||||||
# Make sure some info about the system is in the build.log
|
# Make sure some info about the system is in the build.log
|
||||||
uname -a
|
uname -a
|
||||||
rpm -q glibc gcc %{?scl_prefix}binutils %{?scl_prefix}gdb
|
rpm -q glibc gcc %{?scl_prefix}binutils
|
||||||
|
%if %{run_full_regtest}
|
||||||
|
rpm -q %{?scl_prefix}gdb
|
||||||
|
%endif
|
||||||
|
|
||||||
LD_SHOW_AUXV=1 /bin/true
|
LD_SHOW_AUXV=1 /bin/true
|
||||||
cat /proc/cpuinfo
|
cat /proc/cpuinfo
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user