Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package llamacpp for openSUSE:Factory checked in at 2026-11-18 18:30:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llamacpp (Old) and /work/SRC/openSUSE:Factory/.llamacpp.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llamacpp" Wed Nov 18 18:30:39 2026 rev:42 rq:1398247 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/llamacpp/llamacpp.changes 2026-11-17 17:19:50.365196663 +0100 +++ /work/SRC/openSUSE:Factory/.llamacpp.new.1251/llamacpp.changes 2026-11-18 18:31:18.336219724 +0100 @@ -1,0 +2,22 @@ +Tue Nov 17 16:58:43 UTC 2026 - Dirk Müller <[email protected]> + +- spec file fixes (drop obsolete package, summary typo, remove + erratic mkdir to a directory outside buildroot) + +------------------------------------------------------------------- +Mon Nov 16 20:14:52 UTC 2026 - Eyad Issa <[email protected]> + +- Require the PIE configuration for selected GCC versions. +- Move SONAME links to their runtime library packages. + +------------------------------------------------------------------- +Mon Nov 16 19:40:38 UTC 2026 - Eyad Issa <[email protected]> + +- Enable the RPC backend with TCP and RDMA support. +- Add libggml-rpc and ggml-rpc-server subpackages. +- Require matching libraries from the development packages and + expand the llama.cpp development package description. +- Use GCC 15 for Leap 15.7 builds. +- Use GCC 16 for Leap 16 builds on all architectures. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llamacpp.spec ++++++ --- /var/tmp/diff_new_pack.t93akx/_old 2026-11-18 18:31:19.306260820 +0100 +++ /var/tmp/diff_new_pack.t93akx/_new 2026-11-18 18:31:19.308260904 +0100 @@ -56,6 +56,21 @@ %bcond_with hip %endif +%global gcc_version 0 +%if 0%{?suse_version} == 1500 +%global gcc_version 15 +%else +%if 0%{?suse_version} >= 1600 && 0%{?suse_version} < 1699 +%global gcc_version 16 +%else +%ifarch aarch64 +%if 0%{?suse_version} >= 1699 +%global gcc_version 16 +%endif +%endif +%endif +%endif + Name: llamacpp Version: 1.0.0 Release: 0 @@ -73,19 +88,12 @@ %else BuildRequires: cmake >= 3.19 %endif -%if 0%{?suse_version} == 1500 -BuildRequires: gcc13-c++ -%else -%ifarch aarch64 -%if 0%{?suse_version} >= 1610 -BuildRequires: gcc16-c++ -%else -BuildRequires: gcc-c++ -%endif +%if %{gcc_version} +BuildRequires: gcc%{gcc_version}-PIE +BuildRequires: gcc%{gcc_version}-c++ %else BuildRequires: gcc-c++ %endif -%endif BuildRequires: git BuildRequires: ninja BuildRequires: pkgconfig @@ -106,6 +114,7 @@ BuildRequires: rocm-rpm-macros %endif BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libibverbs) %if %{with openvino} BuildRequires: pkgconfig(openvino) %endif @@ -122,11 +131,16 @@ %package devel Summary: Development files for llama.cpp +Requires: ggml-devel = %{version}-%{release} +Requires: libllama%{llama_sover_suffix} = %{version}-%{release} +Requires: libllama-common%{llama_sover_suffix} = %{version}-%{release} +Requires: libmtmd%{mtmd_sover_suffix} = %{version}-%{release} Obsoletes: libllama < 7266 Obsoletes: libmtmd < 7266 %description devel -Development files for llama.cpp +Headers, libraries and build configuration for developing +applications that use llama.cpp and its multimodal library. %package -n libllama%{llama_sover_suffix} Summary: A C++ interface for running inference with large language models @@ -182,6 +196,23 @@ This package includes the CPU backend for ggml. +%package -n libggml-rpc +Summary: RPC backend for ggml +Requires: libggml%{ggml_sover_suffix} = %{version}-%{release} +Requires: libggml-base%{ggml_sover_suffix} = %{version}-%{release} + +%description -n libggml-rpc +The RPC backend for ggml provides access to remote compute devices +using TCP or RDMA. + +%package -n ggml-rpc-server +Summary: RPC server for ggml +Requires: libggml-rpc = %{version}-%{release} + +%description -n ggml-rpc-server +The ggml RPC server exposes local compute devices to remote ggml +clients over TCP or RDMA. + %package -n libggml-vulkan Summary: A tensor library for C++ (Vulkan backend) Requires: libggml%{ggml_sover_suffix} = %{version}-%{release} @@ -236,6 +267,8 @@ %package -n ggml-devel Summary: Development files for ggml +Requires: libggml%{ggml_sover_suffix} = %{version}-%{release} +Requires: libggml-base%{ggml_sover_suffix} = %{version}-%{release} Obsoletes: libggml < 7266 Obsoletes: libggml-base < 7266 @@ -247,7 +280,7 @@ that depend on ggml. %package -n libmtmd%{mtmd_sover_suffix} -Summary: Library to run multimodals inference models +Summary: Library to run multimodal inference models Obsoletes: libllava < 5402 %description -n libmtmd%{mtmd_sover_suffix} @@ -261,12 +294,6 @@ - Flexibility: Designed to support multiple input types (text, audio, images) while respecting the wide variety of chat templates used by different models. -%package -n libllava -Summary: Library to run multimodals inference models - -%description -n libllava -Library to handle multimodal inputs for llama.cpp. - %ldconfig_scriptlets -n libllama%{llama_sover_suffix} %ldconfig_scriptlets -n libllama-common%{llama_sover_suffix} %ldconfig_scriptlets -n libggml%{ggml_sover_suffix} @@ -286,20 +313,11 @@ %define _lto_cflags %{nil} %define __builder ninja -%if 0%{?suse_version} == 1500 -export CC=gcc-13 -export CXX=g++-13 -%else -%ifarch aarch64 -%if 0%{?suse_version} >= 1610 -export CC=gcc-16 -export CXX=g++-16 -%endif -%endif +%if %{gcc_version} +export CC=gcc-%{gcc_version} +export CXX=g++-%{gcc_version} %endif -mkdir -p %{_libdir} - %cmake \ -DCMAKE_SKIP_RPATH=ON \ -DLLAMA_BUILD_TESTS=OFF \ @@ -309,6 +327,8 @@ -DGGML_NATIVE=OFF \ -DGGML_CPU=ON \ -DGGML_CPU_ALL_VARIANTS=ON \ + -DGGML_RPC=ON \ + -DGGML_RPC_RDMA=ON \ -DGGML_VULKAN=ON \ %if %{with hip} -DGGML_HIP=ON \ @@ -346,6 +366,8 @@ libggml%{ggml_sover_suffix} \ libggml-base%{ggml_sover_suffix} \ libggml-cpu \ + libggml-rpc \ + ggml-rpc-server \ libggml-vulkan \ %if %{with opencl} libggml-opencl \ @@ -400,13 +422,10 @@ %{_libdir}/pkgconfig/llama.pc # libllama symlinks %{_libdir}/libllama.so -%{_libdir}/libllama.so.1 # libmtmd symlinks %{_libdir}/libmtmd.so -%{_libdir}/libmtmd.so.1 # libllama-common symlinks %{_libdir}/libllama-common.so -%{_libdir}/libllama-common.so.1 %files -n libllama%{llama_sover_suffix} %dir %{license_dir}/libllama%{llama_sover_suffix} @@ -415,6 +434,7 @@ %license %{license_dir}/libllama%{llama_sover_suffix}/LICENSE-Apache-2.0.txt %license %{license_dir}/libllama%{llama_sover_suffix}/LICENSE-MPL-2.0.txt %{_libdir}/libllama.so.%{llama_sover} +%{_libdir}/libllama.so.%{llama_sover_suffix} %files -n libllama-common%{llama_sover_suffix} %dir %{license_dir}/libllama-common%{llama_sover_suffix} @@ -423,6 +443,7 @@ %license %{license_dir}/libllama-common%{llama_sover_suffix}/LICENSE-Apache-2.0.txt %license %{license_dir}/libllama-common%{llama_sover_suffix}/LICENSE-MPL-2.0.txt %{_libdir}/libllama-common.so.%{llama_sover} +%{_libdir}/libllama-common.so.%{llama_sover_suffix} %files -n libggml%{ggml_sover_suffix} %dir %{license_dir}/libggml%{ggml_sover_suffix} @@ -431,6 +452,7 @@ %license %{license_dir}/libggml%{ggml_sover_suffix}/LICENSE-Apache-2.0.txt %license %{license_dir}/libggml%{ggml_sover_suffix}/LICENSE-MPL-2.0.txt %{_libdir}/libggml.so.%{ggml_sover} +%{_libdir}/libggml.so.%{ggml_sover_suffix} %files -n libggml-base%{ggml_sover_suffix} %dir %{license_dir}/libggml-base%{ggml_sover_suffix} @@ -439,6 +461,7 @@ %license %{license_dir}/libggml-base%{ggml_sover_suffix}/LICENSE-Apache-2.0.txt %license %{license_dir}/libggml-base%{ggml_sover_suffix}/LICENSE-MPL-2.0.txt %{_libdir}/libggml-base.so.%{ggml_sover} +%{_libdir}/libggml-base.so.%{ggml_sover_suffix} %files -n libggml-cpu %dir %{license_dir}/libggml-cpu @@ -449,6 +472,23 @@ %dir %{backend_dir} %{backend_dir}/libggml-cpu-*.so +%files -n libggml-rpc +%dir %{license_dir}/libggml-rpc +%license %{license_dir}/libggml-rpc/LICENSE +%license %{license_dir}/libggml-rpc/THIRD_PARTY_NOTICES +%license %{license_dir}/libggml-rpc/LICENSE-Apache-2.0.txt +%license %{license_dir}/libggml-rpc/LICENSE-MPL-2.0.txt +%dir %{backend_dir} +%{backend_dir}/libggml-rpc.so + +%files -n ggml-rpc-server +%dir %{license_dir}/ggml-rpc-server +%license %{license_dir}/ggml-rpc-server/LICENSE +%license %{license_dir}/ggml-rpc-server/THIRD_PARTY_NOTICES +%license %{license_dir}/ggml-rpc-server/LICENSE-Apache-2.0.txt +%license %{license_dir}/ggml-rpc-server/LICENSE-MPL-2.0.txt +%{_bindir}/ggml-rpc-server + %files -n libggml-vulkan %dir %{license_dir}/libggml-vulkan %license %{license_dir}/libggml-vulkan/LICENSE @@ -501,9 +541,7 @@ %{_includedir}/gguf.h %{_libdir}/cmake/ggml %{_libdir}/libggml.so -%{_libdir}/libggml.so.1 %{_libdir}/libggml-base.so -%{_libdir}/libggml-base.so.1 %files -n libmtmd%{mtmd_sover_suffix} %dir %{license_dir}/libmtmd%{mtmd_sover_suffix} @@ -512,4 +550,5 @@ %license %{license_dir}/libmtmd%{mtmd_sover_suffix}/LICENSE-Apache-2.0.txt %license %{license_dir}/libmtmd%{mtmd_sover_suffix}/LICENSE-MPL-2.0.txt %{_libdir}/libmtmd.so.%{mtmd_sover} +%{_libdir}/libmtmd.so.%{mtmd_sover_suffix}
