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/rocm-omp] epel10: Add --with preview
Date: Thu, 11 Jun 2026 13:36:54 GMT [thread overview]
Message-ID: <178118501438.1.666568689710897934.rpms-rocm-omp-d57a5a4ab185@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rocm-omp
Branch : epel10
Commit : d57a5a4ab1857f329f7ce166803a98240fec59fd
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-03-12T14:53:17-07:00
Stats : +21/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rocm-omp/c/d57a5a4ab1857f329f7ce166803a98240fec59fd?branch=epel10
Log:
Add --with preview
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/rocm-omp.spec b/rocm-omp.spec
index 618587f..117e0df 100644
--- a/rocm-omp.spec
+++ b/rocm-omp.spec
@@ -20,9 +20,19 @@
# THE SOFTWARE.
#
-# Upstream tags are based on rocm releases:
+%global upstreamname llvm-project
+
+%bcond_with preview
+%if %{with preview}
+%global rocm_release 7.11
+%global rocm_patch 0
+%global pkg_src therock-%{rocm_release}
+%else
%global rocm_release 7.2
%global rocm_patch 0
+%global pkg_src rocm-%{rocm_release}.%{rocm_patch}
+%endif
+
%global rocm_version %{rocm_release}.%{rocm_patch}
%bcond_with compat
@@ -42,7 +52,6 @@
# What LLVM is upstream using (use LLVM_VERSION_MAJOR from llvm/CMakeLists.txt):
%global llvm_maj_ver 22
-%global upstreamname llvm-project
%global toolchain clang
@@ -57,12 +66,16 @@
Name: rocm-omp%{pkg_suffix}
Version: %{rocm_version}
-Release: 1%{?dist}
+%if %{with preview}
+Release: 0%{?dist}
+%else
+Release: 2%{?dist}
+%endif
Summary: ROCm OpenMP
Url: https://github.com/ROCm/%{upstreamname}
License: Apache-2.0 WITH LLVM-exception OR NCSA AND MIT
-Source0: %{url}/archive/rocm-%{rocm_version}.tar.gz#/rocm-omp-%{rocm_version}.tar.gz
+Source0: %{url}/archive/refs/tags/%{pkg_src}.tar.gz#/rocm-omp-%{rocm_version}.tar.gz
BuildRequires: binutils-devel
BuildRequires: cmake
@@ -101,7 +114,7 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%{summary}
%prep
-%autosetup -p1 -n %{upstreamname}-rocm-%{rocm_version}
+%autosetup -p1 -n %{upstreamname}-%{pkg_src}
# rm llvm-project bits we do not need
rm -rf {bolt,clang,compiler-rt,flang,libc,libclc,libcxx,libcxxabi,libunwind,lld,lldb,llvm-libgcc,mlir,polly,pst,runtimes,utils}
@@ -232,6 +245,9 @@ rm -rf %{buildroot}%{bundle_prefix}/lib/cmake/omptest
%files static
%changelog
+* Thu Mar 12 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-1
+- Add --with preview
+
* Thu Jan 29 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-1
- Update to 7.2.0
reply other threads:[~2026-06-11 13:36 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=178118501438.1.666568689710897934.rpms-rocm-omp-d57a5a4ab185@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