public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mold] rawhide: Make check execution opt-out
@ 2026-11-01 10:51 Christoph Erhardt
0 siblings, 0 replies; only message in thread
From: Christoph Erhardt @ 2026-11-01 10:51 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mold
Branch : rawhide
Commit : 88b6d6abf786bf377ca02a44e68d15358e84e8d0
Author : Christoph Erhardt <fedora@sicherha.de>
Date : 2026-11-01T11:31:03+01:00
Stats : +6/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/mold/c/88b6d6abf786bf377ca02a44e68d15358e84e8d0?branch=rawhide
Log:
Make check execution opt-out
[skip changelog]
---
diff --git a/mold.spec b/mold.spec
index b907be6..b9ec107 100644
--- a/mold.spec
+++ b/mold.spec
@@ -1,3 +1,5 @@
+%bcond check 1
+
%global use_gcc_toolset 0%{?el8}
%global use_system_tbb 0%{?fedora} >= 40 || 0%{?rhel} >= 10
@@ -45,6 +47,7 @@ BuildRequires: hwloc-devel
%endif
# The following packages are only required for executing the tests
+%if %{with check}
BuildRequires: binutils-devel
BuildRequires: clang
BuildRequires: gdb
@@ -62,6 +65,7 @@ BuildRequires: libdwarf-tools
BuildRequires: libstdc++-static
BuildRequires: llvm
BuildRequires: perl-interpreter
+%endif
Requires(post): %{_sbindir}/update-alternatives
Requires(postun): %{_sbindir}/update-alternatives
@@ -93,11 +97,13 @@ rm -r third-party/tbb
%cmake_install
touch %{buildroot}%{_bindir}/ld
+%if %{with check}
%check
%if %{use_gcc_toolset}
. /opt/rh/gcc-toolset-13/enable
%endif
%ctest
+%endif
%post
if [ "$1" = 1 ]; then
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-01 10:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-01 10:51 [rpms/mold] rawhide: Make check execution opt-out Christoph Erhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox