Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ollama for openSUSE:Factory checked 
in at 2026-04-22 16:55:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ollama (Old)
 and      /work/SRC/openSUSE:Factory/.ollama.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ollama"

Wed Apr 22 16:55:39 2026 rev:61 rq:1348416 version:0.21.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ollama/ollama.changes    2026-04-20 
16:11:45.414288324 +0200
+++ /work/SRC/openSUSE:Factory/.ollama.new.11940/ollama.changes 2026-04-22 
16:55:41.222292225 +0200
@@ -1,0 +2,6 @@
+Mon Apr 20 13:29:24 UTC 2026 - Adrian Schröter <[email protected]>
+
+- disable vulkan build on Leap 16.0 and before
+  16.1 is supposed to get a newer glslang stack to fix the support
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ollama.spec ++++++
--- /var/tmp/diff_new_pack.KhZ7X0/_old  2026-04-22 16:55:42.430342270 +0200
+++ /var/tmp/diff_new_pack.KhZ7X0/_new  2026-04-22 16:55:42.434342435 +0200
@@ -16,11 +16,17 @@
 #
 
 
+%{bcond_with rocm}
 %if 0%{?is_opensuse}
 %{bcond_with cuda}
 %else
 %{bcond_without cuda}
 %endif
+%if 0%{?suse_version} >= 1610
+%{bcond_without vulkan}
+%else
+%{bcond_with vulkan}
+%endif
 %{bcond_with rocm}
 
 %if 0%{?sle_version} && 0%{?sle_version} >= 150600
@@ -57,15 +63,12 @@
 BuildRequires:  golang(API) >= 1.24
 BuildRequires:  group(render)
 BuildRequires:  group(video)
-BuildRequires:  pkgconfig(vulkan)
-# For Vulkan, or we have missing symbols
-BuildRequires:  glslang-devel
-BuildRequires:  libggml-base0
-BuildRequires:  vulkan-tools
-
 Requires:       group(render)
 Requires:       group(video)
 Recommends:     ( %{name}-vulkan or %{name}-cuda or %{name}-rocm )
+%if %{with vulkan}
+BuildRequires:  pkgconfig(vulkan)
+%endif
 %if %{with cuda}
 # requires cuda-toolkit*-config-common, cuda-cudart, cuda-cccl
 BuildRequires:  cuda-cudart-devel-%{cuda_version}
@@ -207,7 +210,7 @@
 # verify for missing symbols to avoid shipping a broken version, which would
 # silently not load
 export LD_LIBRARY_PATH=%buildroot%_libdir/ollama
-for backend in cuda vulkan; do
+for backend in cuda hip vulkan; do
   file=%buildroot%_libdir/ollama/libggml-${backend}.so
   test -e "$file" || continue
   ldd -r "$file" | grep "undefined symbol:" && exit 1
@@ -242,8 +245,10 @@
 %{_fillupdir}/sysconfig.%{name}
 %attr(-, ollama, ollama) %{_localstatedir}/lib/%{name}
 
+%if %{with vulkan}
 %files vulkan
 %{_libdir}/ollama/libggml-vulkan.so
+%endif
 
 %if %{with cuda}
 %files cuda

Reply via email to