public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/llama-cpp] rawhide: Update to b9601
@ 2026-06-22  0:26 Tom Rix
  0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-06-22  0:26 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/llama-cpp
            Branch : rawhide
            Commit : 01a60ad79ced1f955730bac2f1516a41207d7bc9
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-06-21T17:26:09-07:00
            Stats  : +44/-11 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/llama-cpp/c/01a60ad79ced1f955730bac2f1516a41207d7bc9?branch=rawhide

            Log:
            Update to b9601

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

---
diff --git a/.gitignore b/.gitignore
index 344b1b1..01ccdf4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
 /llama.cpp-b5904.tar.gz
 /llama.cpp-b6153.tar.gz
 /llama.cpp-b8064.tar.gz
+/llama.cpp-b9601.tar.gz

diff --git a/llama-cpp.spec b/llama-cpp.spec
index dc65fdf..45887a9 100644
--- a/llama-cpp.spec
+++ b/llama-cpp.spec
@@ -37,7 +37,7 @@ Name:           llama-cpp
 # This is the main license
 
 License:        MIT AND Apache-2.0 AND LicenseRef-Fedora-Public-Domain
-Version:        b8064
+Version:        b9601
 Release:        %autorelease
 
 URL:            https://github.com/ggerganov/llama.cpp
@@ -72,6 +72,12 @@ BuildRequires:  libcurl-devel
 BuildRequires:  gcc-c++
 BuildRequires:  openmpi
 BuildRequires:  pthreadpool-devel
+
+%if %{with check}
+BuildRequires:  python3-devel
+BuildRequires:  python3dist(jinja2)
+%endif
+
 %if %{with examples}
 BuildRequires:  python3-devel
 BuildRequires:  python3dist(pip)
@@ -86,12 +92,12 @@ BuildRequires:  rocblas-devel
 BuildRequires:  hipblas-devel
 BuildRequires:  rocm-runtime-devel
 BuildRequires:  rocm-rpm-macros
-
-Requires:       rocblas
-Requires:       hipblas
 %endif
 
 Requires:       curl
+Requires:       hipblas
+Requires:       rocblas
+
 Recommends:     numactl
 
 %description
@@ -166,6 +172,16 @@ rm -rf exmples/llma.android
 # git cruft
 find . -name '.gitignore' -exec rm -rf {} \;
 
+# Some so version help
+sed -i -e 's@WINDOWS_EXPORT_ALL_SYMBOLS ON@WINDOWS_EXPORT_ALL_SYMBOLS ON VERSION ${LLAMA_INSTALL_VERSION} SOVERSION 0@' tools/batched-bench/CMakeLists.txt
+sed -i -e 's@WINDOWS_EXPORT_ALL_SYMBOLS ON@WINDOWS_EXPORT_ALL_SYMBOLS ON VERSION ${LLAMA_INSTALL_VERSION} SOVERSION 0@' tools/llama-bench/CMakeLists.txt
+sed -i -e 's@WINDOWS_EXPORT_ALL_SYMBOLS ON@WINDOWS_EXPORT_ALL_SYMBOLS ON VERSION ${LLAMA_INSTALL_VERSION} SOVERSION 0@' tools/cli/CMakeLists.txt
+sed -i -e 's@WINDOWS_EXPORT_ALL_SYMBOLS ON@WINDOWS_EXPORT_ALL_SYMBOLS ON VERSION ${LLAMA_INSTALL_VERSION} SOVERSION 0@' tools/completion/CMakeLists.txt
+sed -i -e 's@WINDOWS_EXPORT_ALL_SYMBOLS ON@WINDOWS_EXPORT_ALL_SYMBOLS ON VERSION ${LLAMA_INSTALL_VERSION} SOVERSION 0@' tools/fit-params/CMakeLists.txt
+sed -i -e 's@WINDOWS_EXPORT_ALL_SYMBOLS ON@WINDOWS_EXPORT_ALL_SYMBOLS ON VERSION ${LLAMA_INSTALL_VERSION} SOVERSION 0@' tools/perplexity/CMakeLists.txt
+sed -i -e 's@WINDOWS_EXPORT_ALL_SYMBOLS ON@WINDOWS_EXPORT_ALL_SYMBOLS ON VERSION ${LLAMA_INSTALL_VERSION} SOVERSION 0@' tools/quantize/CMakeLists.txt
+sed -i -e 's@WINDOWS_EXPORT_ALL_SYMBOLS ON@WINDOWS_EXPORT_ALL_SYMBOLS ON VERSION ${LLAMA_INSTALL_VERSION} SOVERSION 0@' tools/server/CMakeLists.txt
+
 %build
 
 %if %{with examples}
@@ -212,8 +228,6 @@ cp -r %{_vpath_srcdir}/examples %{buildroot}%{_datarootdir}/%{name}/
 cp -r %{_vpath_srcdir}/models %{buildroot}%{_datarootdir}/%{name}/
 cp -r %{_vpath_srcdir}/README.md %{buildroot}%{_datarootdir}/%{name}/
 rm -rf %{buildroot}%{_datarootdir}/%{name}/examples/llama.android
-%else
-rm %{buildroot}%{_bindir}/convert*.py
 %endif
 
 %if %{with test}
@@ -232,16 +246,25 @@ export LD_LIBRARY_PATH=$PWD/%{_vpath_builddir}/bin
 %files
 %license LICENSE
 %{_libdir}/libllama.so.*
+%{_libdir}/libllama-bench-impl.so.*
+%{_libdir}/libllama-batched-bench-impl.so.*
+%{_libdir}/libllama-cli-impl.so.*
+%{_libdir}/libllama-common.so.*
+%{_libdir}/libllama-completion-impl.so.*
+%{_libdir}/libllama-fit-params-impl.so.*
+%{_libdir}/libllama-perplexity-impl.so.*
+%{_libdir}/libllama-quantize-impl.so.*
+%{_libdir}/libllama-server-impl.so.*
 %{_libdir}/libmtmd.so.*
 %{_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
 %{_bindir}/llama-cli
+%{_bindir}/llama-debug-template-parser
 %{_bindir}/llama-completion
 %{_bindir}/llama-cvector-generator
 %{_bindir}/llama-export-lora
@@ -251,7 +274,9 @@ export LD_LIBRARY_PATH=$PWD/%{_vpath_builddir}/bin
 %{_bindir}/llama-mtmd-cli
 %{_bindir}/llama-perplexity
 %{_bindir}/llama-quantize
+%{_bindir}/llama-results
 %{_bindir}/llama-server
+%{_bindir}/llama-template-analysis
 %{_bindir}/llama-tokenize
 %{_bindir}/llama-tts
 
@@ -264,13 +289,20 @@ export LD_LIBRARY_PATH=$PWD/%{_vpath_builddir}/bin
 %{_includedir}/llama*.h
 %{_includedir}/mtmd*.h
 %{_libdir}/libllama.so
+%{_libdir}/libllama-batched-bench-impl.so
+%{_libdir}/libllama-bench-impl.so
+%{_libdir}/libllama-cli-impl.so
+%{_libdir}/libllama-common.so
+%{_libdir}/libllama-completion-impl.so
+%{_libdir}/libllama-fit-params-impl.so
+%{_libdir}/libllama-perplexity-impl.so
+%{_libdir}/libllama-quantize-impl.so
+%{_libdir}/libllama-server-impl.so
 %{_libdir}/libmtmd.so
 %{_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

diff --git a/sources b/sources
index 7a296e5..951adc5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (llama.cpp-b8064.tar.gz) = bc9a31a332efc53a8099581469a88613089f41de29191f96d1040a5e3ebcbd364d529a9f8f60d2feebda9667df9383aadb0756f8d219b93216fe0a62857132f2
+SHA512 (llama.cpp-b9601.tar.gz) = 7823a9dc801d0f9e9e65237396f3cbca877d5482cd02f2c9a4f6668127cb8f0467c5dfe888b26171aa8c7197ad4423faf6e9dd9a63f98d2f38d1ae7d48529106

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-22  0:26 [rpms/llama-cpp] rawhide: Update to b9601 Tom Rix

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