public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hipcub] epel10: change cmake install location
@ 2026-06-11 13:23 Tom Rix
  0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-06-11 13:23 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-11 13:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-11 13:23 [rpms/hipcub] epel10: change cmake install location Tom Rix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox