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/hipify] rawhide: Add --with preview
Date: Thu, 30 Jul 2026 12:44:13 GMT [thread overview]
Message-ID: <178541545341.1.7534465632903609137.rpms-hipify-df4b98c01619@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/hipify
Branch : rawhide
Commit : df4b98c01619e9e2d08f3fc9d4051d437041642e
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-07-30T05:43:45-07:00
Stats : +19/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/hipify/c/df4b98c01619e9e2d08f3fc9d4051d437041642e?branch=rawhide
Log:
Add --with preview
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/hipify.spec b/hipify.spec
index 54e9751..32fee7a 100644
--- a/hipify.spec
+++ b/hipify.spec
@@ -21,8 +21,17 @@
#
%global upstreamname HIPIFY
+%bcond_with preview
+%if %{with preview}
+%global rocm_release 7.14
+%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
@@ -45,12 +54,16 @@
Name: hipify%{pkg_suffix}
Version: %{rocm_version}
-Release: 3%{?dist}
+%if %{with preview}
+Release: 0%{?dist}
+%else
+Release: 4%{?dist}
+%endif
Summary: Convert CUDA to HIP
Url: https://github.com/ROCm
License: MIT
-Source0: %{url}/%{upstreamname}/archive/rocm-%{version}.tar.gz#/%{upstreamname}-%{version}.tar.gz
+Source0: %{url}/%{upstreamname}/archive/%{pkg_src}.tar.gz#/%{upstreamname}-%{version}.tar.gz
Patch0: 0001-prepare-hipify-cmake-for-fedora.patch
BuildRequires: chrpath
@@ -77,7 +90,7 @@ HIPIFY is a set of tools to translate CUDA source code into portable
HIP C++ automatically.
%prep
-%autosetup -p1 -n %{upstreamname}-rocm-%{version}
+%autosetup -p1 -n %{upstreamname}-%{pkg_src}
# Remove meddling with rpath
sed -i -e '/INSTALL_RPATH/,+2d' CMakeLists.txt
@@ -123,6 +136,9 @@ rm -f %{buildroot}%{pkg_prefix}/libexec/hipify/hipify-perl
%{pkg_prefix}/libexec/hipify/
%changelog
+* Tue Jul 28 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-4
+- Add --with preview
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
reply other threads:[~2026-07-30 12:44 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=178541545341.1.7534465632903609137.rpms-hipify-df4b98c01619@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