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/rocalution] epel10: cleanup specfile
Date: Fri, 12 Jun 2026 17:22:15 GMT [thread overview]
Message-ID: <178128493599.1.6221235600668728138.rpms-rocalution-5e6377525637@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-12 17:22 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=178128493599.1.6221235600668728138.rpms-rocalution-5e6377525637@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