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/ollama] rawhide: Update to 0.40.18
Date: Tue, 01 Dec 2026 13:47:16 GMT [thread overview]
Message-ID: <179613283621.1.16001311692302284781.rpms-ollama-41cd9b6c33e6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ollama
Branch : rawhide
Commit : 41cd9b6c33e6fdcd2f46b89874a62e1c768f483e
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-12-01T05:46:42-08:00
Stats : +18/-6 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/ollama/c/41cd9b6c33e6fdcd2f46b89874a62e1c768f483e?branch=rawhide
Log:
Update to 0.40.18
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/.gitignore b/.gitignore
index 2d9e1ef..f894f56 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,3 +28,6 @@
/ollama-0.35.1.tar.gz
/ollama-0.35.1-vendor.tar.bz2
/llama.cpp-b11232.tar.gz
+/ollama-0.40.18.tar.gz
+/ollama-0.40.18-vendor.tar.bz2
+/llama.cpp-b12651.tar.gz
diff --git a/go-vendor-tools.toml b/go-vendor-tools.toml
index c285fb8..82ce2b2 100644
--- a/go-vendor-tools.toml
+++ b/go-vendor-tools.toml
@@ -18,6 +18,11 @@ path = "vendor/github.com/mattn/go-localereader/README.md"
sha256sum = "0c5c52517f13becd7a1e1234f1e8a5ba370f5a5078cee9ac058c2d534e267fcb"
expression = "MIT"
+[[licensing.licenses]]
+path = "vendor/go.yaml.in/yaml/v3/LICENSE"
+sha256sum = "d18f6323b71b0b768bb5e9616e36da390fbd39369a81807cca352de4e4e6aa0b"
+expression = "MIT AND (MIT AND Apache-2.0)"
+
# False positive on license checker, this is a cmake file
[[licensing.licenses]]
path = "llama/cmake/license.cmake"
diff --git a/ollama.spec b/ollama.spec
index 3617885..8fbe0b0 100644
--- a/ollama.spec
+++ b/ollama.spec
@@ -12,7 +12,8 @@ ExcludeArch: ppc64le s390x
%bcond systemd 1
%ifarch x86_64
-%global rocm_gpu_list "gfx9-generic;gfx942;gfx950;gfx10-1-generic;gfx10-3-generic;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1200;gfx1201"
+%global rocm_gpu_list "gfx9-generic;gfx942;gfx950;gfx10-1-generic;gfx10-3-generic;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1170;gfx1171;gfx1200;gfx1201"
+%global _rocm_gpu_list "gfx1100"
%bcond rocm 1
%global backend_config \\\
-DOLLAMA_LLAMA_BACKENDS="vulkan;rocm_v7_2" \\\
@@ -44,7 +45,7 @@ ExcludeArch: ppc64le s390x
%if %{with next}
Version: 0.32.8
%else
-Version: 0.35.1
+Version: 0.40.18
%endif
%gometa -L -f
@@ -65,7 +66,7 @@ Source10: ollama.service
Source11: ollama.sysusers
%endif
# From LLAMA_CPP_VERSION
-%global llama_cpp_version b11232
+%global llama_cpp_version b12651
Source20: https://github.com/ggerganov/llama.cpp/archive/%{llama_cpp_version}.tar.gz#/llama.cpp-%{llama_cpp_version}.tar.gz
Patch1: 0001-ollama-download-env-variables.patch
@@ -195,6 +196,9 @@ sed -i 's@zTail = strrchr@zTail = (char \*)strrchr@' vendor/github.com/mattn/go-
%go_vendor_license_buildrequires -c %{S:2}
%build
+%if %{with rocm}
+export HIPCC_COMPILE_FLAGS_APPEND="--offload-compress -Wno-unused-command-line-argument"
+%endif
%cmake %{cmake_config}
%cmake_build
%global gomodulesmode GO111MODULE=on
diff --git a/sources b/sources
index 4138434..26a0c1f 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (ollama-0.35.1.tar.gz) = 2986679fd5b9fb35d5c20671a5fdb468fd7438364293413fe2440d58cf2cce0acd8851f9ce50705232f278dd33cfbd239d49ef27049a1580a7c156ae4875dbff
-SHA512 (ollama-0.35.1-vendor.tar.bz2) = 4131be4c21a0b1110a6b41d5aae522cb6f17bc15e614bd7f6d7ad9e60bfb20a28e329b128b36892400427781248effa5d61823bfff97c0e12fe0727ea00d704e
-SHA512 (llama.cpp-b11232.tar.gz) = 639744a78b6832fee8b1c4fe3009f4b7df1945718765e6ac84f577b3907894613f13f620c8f2224dc6b13cfc1fab0e1dea0b464191fd1f721a176d6fbe92f69f
+SHA512 (ollama-0.40.18.tar.gz) = c7e337d6e3a73b4abbd35d9c60cbc72e156bf45016068a9d1893c4254c4e0bfb8d9a8318c1c0ca513735896c6747d76e3a0448f46563e293e0c694535facf5c4
+SHA512 (ollama-0.40.18-vendor.tar.bz2) = a824dc1f33ef898df1c44be6a9ed0b2dfe229b278d7ad1683d64ff02f997ebf24dd03e7415a30ccf7ad3984ee4d12afd16398cbda04945871ce2bdb40fe41330
+SHA512 (llama.cpp-b12651.tar.gz) = 82495b47def992224b9474020e930ce6b7227fa20c6cf03c5377c5046dedc3b9473c8f3e70c3f2470ae6ea241340b683d0ed6df24ad2a438e6c4e69bffeb1522
reply other threads:[~2026-12-01 13:47 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=179613283621.1.16001311692302284781.rpms-ollama-41cd9b6c33e6@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