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/hipcub] epel10: change cmake install location
Date: Thu, 11 Jun 2026 13:23:16 GMT [thread overview]
Message-ID: <178118419638.1.6732787177013028767.rpms-hipcub-f99fc51f73bf@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/hipcub
Branch : epel10
Commit : f99fc51f73bffd3cefa9e4d2cd4dded45319399a
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-02-16T06:53:27-08:00
Stats : +10/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/hipcub/c/f99fc51f73bffd3cefa9e4d2cd4dded45319399a?branch=epel10
Log:
change cmake install location
fix whitespace
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/hipcub.spec b/hipcub.spec
index cf9d6a2..66eb123 100644
--- a/hipcub.spec
+++ b/hipcub.spec
@@ -65,7 +65,7 @@
%endif
# Compression type and level for source/binary package payloads.
-# "w7T0.xzdio" xz level 7 using %%{getncpus} threads
+# "w7T0.xzdio" xz level 7 using %%{getncpus} threads
%global _source_payload w7T0.xzdio
%global _binary_payload w7T0.xzdio
@@ -78,7 +78,7 @@ Version: git%{date0}.%{shortcommit0}
Release: 2%{?dist}
%else
Version: %{rocm_version}
-Release: 1%{?dist}
+Release: 2%{?dist}
%endif
Summary: ROCm port of CUDA CUB library
@@ -110,8 +110,6 @@ BuildRequires: gtest-devel
BuildRequires: rocminfo%{pkg_suffix}
%endif
-# Only headers, cmake infra but noarch confuses the libdir
-# BuildArch: noarch
# Only x86_64 works right now:
ExclusiveArch: x86_64
@@ -149,7 +147,7 @@ cd projects/hipcub
# The ROCMExportTargetsHeaderOnly.cmake file
# generates a files that reference the install location of other files
# Make this change so they match
-sed -i -e 's/ROCM_INSTALL_LIBDIR lib/ROCM_INSTALL_LIBDIR %{pkg_libdir}/' cmake/ROCMExportTargetsHeaderOnly.cmake
+sed -i -e 's/ROCM_INSTALL_LIBDIR lib/ROCM_INSTALL_LIBDIR share/' cmake/ROCMExportTargetsHeaderOnly.cmake
%build
%if %{with gitcommit}
@@ -166,7 +164,7 @@ gpu=`rocm_agent_enumerator | head -n 1`
%cmake \
-DCMAKE_C_COMPILER=%rocmllvm_bindir/amdclang \
-DCMAKE_CXX_COMPILER=%rocmllvm_bindir/amdclang++ \
- -DCMAKE_INSTALL_LIBDIR=%{pkg_libdir} \
+ -DCMAKE_INSTALL_LIBDIR=share \
-DCMAKE_INSTALL_PREFIX=%{pkg_prefix} \
-DCMAKE_LINKER=%rocmllvm_bindir/ld.lld \
-DCMAKE_AR=%rocmllvm_bindir/llvm-ar \
@@ -207,7 +205,7 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/hipcub/LICENSE.txt
%license LICENSE.txt
%endif
%{pkg_prefix}/include/hipcub
-%{pkg_prefix}/%{pkg_libdir}/cmake/hipcub
+%{pkg_prefix}/share/cmake/hipcub
%if %{with test}
%files test
@@ -216,7 +214,11 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/hipcub/LICENSE.txt
%endif
%changelog
-* Sat Feb 7 24 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-1
+* Mon Feb 16 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-2
+- change cmake install location
+- fix whitespace
+
+* Sat Feb 7 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-1
- Update to 7.2.0
* Fri Jan 30 2026 Tom Rix <Tom.Rix@amd.com> - 7.1.0-5
reply other threads:[~2026-06-11 13:23 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=178118419638.1.6732787177013028767.rpms-hipcub-f99fc51f73bf@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