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/rocwmma] epel10: Add --with preview
Date: Sun, 14 Jun 2026 12:46:01 GMT	[thread overview]
Message-ID: <178144116120.1.4803354260104480689.rpms-rocwmma-675f2da5d7de@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rocwmma
            Branch : epel10
            Commit : 675f2da5d7de7d73fe0d9bfa91d17eb52f3f7375
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-03-12T15:25:14-07:00
            Stats  : +32/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocwmma/c/675f2da5d7de7d73fe0d9bfa91d17eb52f3f7375?branch=epel10

            Log:
            Add --with preview

Signed-off-by: Tom Rix <Tom.Rix@amd.com>

---
diff --git a/rocwmma.spec b/rocwmma.spec
index aa45ffd..756fc07 100644
--- a/rocwmma.spec
+++ b/rocwmma.spec
@@ -19,9 +19,20 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 #
+
+%bcond_with preview
+%if %{with preview}
+%global upstreamname rocwmma
+%global rocm_release 7.11
+%global rocm_patch 0
+%global pkg_src therock-%{rocm_release}
+%else
+# ROCm 7.2 is still in the old URL
 %global upstreamname rocWMMA
 %global rocm_release 7.2
 %global rocm_patch 0
+%endif
+
 %global rocm_version %{rocm_release}.%{rocm_patch}
 
 %bcond_with compat
@@ -76,14 +87,27 @@
 
 Name:           rocwmma%{pkg_suffix}
 Version:        %{rocm_version}
-Release:        3%{?dist}
+%if %{with preview}
+Release:        0%{?dist}
+%else
+Release:        4%{?dist}
+%endif
+
 Summary:        ROCm Matrix Multiple and Accumulate library
+%if %{with preview}
+URL:            https://github.com/ROCm/rocm-libraries
+%else
 Url:            https://github.com/ROCm/%{upstreamname}
+%endif
 License:        MIT
 
+%if %{with preview}
+Source0:        %{url}/releases/download/%{pkg_src}/%{upstreamname}.tar.gz#/%{upstreamname}-%{version}.tar.gz
+%else
 Source0:        %{url}/archive/rocm-%{rocm_version}.tar.gz#/%{upstreamname}-%{rocm_version}.tar.gz
 # TBD: Needs to be rebased to rocm-libraries and upstreamed.
 Patch0:         0001-rocwmma-ninja-job-pools.patch
+%endif
 
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -135,7 +159,11 @@ Summary:        Tests for %{name}
 %endif
 
 %prep
+%if %{with preview}
+%autosetup -p1 -n %{upstreamname}
+%else
 %autosetup -p1 -n %{upstreamname}-rocm-%{version}
+%endif
 
 # Remove parallel-jobs, it interfers with ninja jobs and attempts to reduce memory usage
 # https://github.com/ROCm/rocm-libraries/issues/4949
@@ -226,6 +254,9 @@ rm -f %{buildroot}%{pkg_prefix}/bin/rocwmma/*.cmake
 %endif
 
 %changelog
+* Thu Mar 12 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-4
+- Add --with preview
+
 * Thu Feb 26 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-3
 - Increase build memory requirements
 - Fix --with test

                 reply	other threads:[~2026-06-14 12:46 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=178144116120.1.4803354260104480689.rpms-rocwmma-675f2da5d7de@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