public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Rix <Tom.Rix@amd.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rocrand] rawhide: bring check back
Date: Tue, 07 Jul 2026 16:26:07 GMT [thread overview]
Message-ID: <178344156705.1.5835051550526517591.rpms-rocrand-0882e0e7f220@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rocrand
Branch : rawhide
Commit : 0882e0e7f22092b05d3f329cfc007d7902b0db27
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-07-07T09:25:30-07:00
Stats : +14/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rocrand/c/0882e0e7f22092b05d3f329cfc007d7902b0db27?branch=rawhide
Log:
bring check back
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/rocrand.spec b/rocrand.spec
index 241d81b..6bdda4a 100644
--- a/rocrand.spec
+++ b/rocrand.spec
@@ -67,9 +67,10 @@
# flags for testing, neither should be enabled for official builds in koji
# relevant HW is required to run %check
+%bcond_with check
%bcond_with test
# enable building of tests if test is enabled
-%if %{with test}
+%if %{with test} || %{with check}
%global build_test ON
%else
%global build_test OFF
@@ -129,7 +130,7 @@ Version: %{rocm_version}
%if %{with preview}
Release: 0%{?dist}
%else
-Release: 5%{?dist}
+Release: 6%{?dist}
%endif
Summary: ROCm random number generator
@@ -224,6 +225,8 @@ The rocRAND development package.
%package test
Summary: Tests for %{name}
Requires: %{pkg_name}%{?_isa} = %{version}-%{release}
+Requires: python3dist(pyyaml)
+Requires: rocminfo
%description test
%{summary}
@@ -247,6 +250,12 @@ rm -rf test/fortran/fruit
%cmake_build
+%if %{with check}
+%check
+export LD_LIBRARY_PATH=${PWD}/%{_vpath_builddir}/lib:$LD_LIBRARY_PATH
+%ctest -j1 --output-on-failure
+%endif
+
%install
%cmake_install
@@ -278,6 +287,9 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/rocrand/LICENSE.md
%endif
%changelog
+* Tue Jul 7 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-6
+- bring check back
+
* Tue Jun 2 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-5
- merge compat changes
reply other threads:[~2026-07-07 16:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178344156705.1.5835051550526517591.rpms-rocrand-0882e0e7f220@fedoraproject.org \
--to=tom.rix@amd.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox