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/llama-cpp] rawhide: Fix rocm build
Date: Mon, 22 Jun 2026 14:14:01 GMT [thread overview]
Message-ID: <178213764127.1.5400426034006124962.rpms-llama-cpp-40a091844290@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/llama-cpp
Branch : rawhide
Commit : 40a0918442907aaa5a3eba452f28bbb009a23c74
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-06-22T07:13:27-07:00
Stats : +8/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/llama-cpp/c/40a0918442907aaa5a3eba452f28bbb009a23c74?branch=rawhide
Log:
Fix rocm build
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/llama-cpp.spec b/llama-cpp.spec
index 45887a9..6e75b43 100644
--- a/llama-cpp.spec
+++ b/llama-cpp.spec
@@ -92,12 +92,14 @@ BuildRequires: rocblas-devel
BuildRequires: hipblas-devel
BuildRequires: rocm-runtime-devel
BuildRequires: rocm-rpm-macros
-%endif
-Requires: curl
Requires: hipblas
Requires: rocblas
+%endif
+
+Requires: curl
+
Recommends: numactl
%description
@@ -259,7 +261,9 @@ export LD_LIBRARY_PATH=$PWD/%{_vpath_builddir}/bin
%{_libdir}/libggml.so.*
%{_libdir}/libggml-base.so.*
%{_libdir}/libggml-cpu.so.*
+%if %{with rocm}
%{_libdir}/libggml-hip.so.*
+%endif
%{_bindir}/llama
%{_bindir}/llama-batched-bench
%{_bindir}/llama-bench
@@ -302,7 +306,9 @@ export LD_LIBRARY_PATH=$PWD/%{_vpath_builddir}/bin
%{_libdir}/libggml.so
%{_libdir}/libggml-base.so
%{_libdir}/libggml-cpu.so
+%if %{with rocm}
%{_libdir}/libggml-hip.so
+%endif
%{_libdir}/cmake/llama/*.cmake
%{_libdir}/cmake/ggml/*.cmake
%{_libdir}/pkgconfig/llama.pc
reply other threads:[~2026-06-22 14:14 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=178213764127.1.5400426034006124962.rpms-llama-cpp-40a091844290@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