public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rocalution] epel10: cleanup specfile
@ 2026-06-12 17:22 Tom Rix
  0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-06-12 17:22 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rocalution
            Branch : epel10
            Commit : 5e6377525637da414de6506893af31ca388d78e3
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-02-17T09:28:02-08:00
            Stats  : +20/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocalution/c/5e6377525637da414de6506893af31ca388d78e3?branch=epel10

            Log:
            cleanup specfile

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

---
diff --git a/rocalution.spec b/rocalution.spec
index 6c1a4bd..f1d40d6 100644
--- a/rocalution.spec
+++ b/rocalution.spec
@@ -62,7 +62,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
 
@@ -84,7 +84,7 @@
 
 Name:           %{rocalution_name}
 Version:        %{rocm_version}
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Next generation library for iterative sparse solvers for ROCm platform
 Url:            https://github.com/ROCm/%{upstreamname}
 License:        MIT
@@ -146,8 +146,10 @@ Host
 * HIP: Designed for ROCm-compatible devices
 * MPI: Designed for multi-node clusters and multi-GPU setups
 
+%if 0%{?suse_version}
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
+%endif
 
 %package devel
 Summary: Libraries and headers for %{name}
@@ -175,6 +177,19 @@ Requires:       %{name}%{?_isa} = %{version}-%{release}
 sed -i -e 's@set(CMAKE_CXX_STANDARD 14)@set(CMAKE_CXX_STANDARD 17)@' clients/CMakeLists.txt
 %endif
 
+# rocalution.x86_64: E: undefined-non-weak-symbol /usr/lib64/librocalution_hip.so.1.0.0 _ZNK10rocalution10BaseVectorIdE5CheckEv	(/usr/lib64/librocalution_hip.so.1.0.0)
+# Need to add -lrocalution to link
+# Try this..
+# sed -i -e 's@rocalution_hip PRIVATE roc::rocblas@rocalution_hip PRIVATE roc::rocalution roc::rocblas@' src/CMakeLists.txt
+# Leads to
+# CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
+#  "rocalution" of type SHARED_LIBRARY
+#    depends on "rocalution_hip" (weak)
+#  "rocalution_hip" of type SHARED_LIBRARY
+#    depends on "rocalution" (weak)
+# At least one of these targets is not a STATIC_LIBRARY.  Cyclic dependencies are allowed only among static libraries.
+# CMake Generate step failed.  Build files cannot be regenerated correctly.
+
 %build
 %cmake %{cmake_generator} \
     -DCMAKE_C_COMPILER=%rocmllvm_bindir/amdclang \
@@ -222,6 +237,9 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/rocalution/LICENSE.md
 %endif
 
 %changelog
+* Mon Feb 16 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-2
+- Cleanup specfile
+
 * Thu Jan 29 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-1
 - Update to 7.2.0
 

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

only message in thread, other threads:[~2026-06-12 17:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-12 17:22 [rpms/rocalution] epel10: cleanup specfile Tom Rix

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