Alexander Rødseth pushed to branch main at Arch Linux / Packaging / Packages /
ollama
Commits:
3dfab4c6 by Alexander F. Rødseth at 2024-09-04T19:58:57+02:00
upgpkg: 0.3.9-3
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- + msg.install
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,8 +1,9 @@
pkgbase = ollama
pkgdesc = Create, run and share large language models (LLMs)
pkgver = 0.3.9
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/ollama/ollama
+ install = msg.install
arch = x86_64
license = MIT
makedepends = clblast
=====================================
PKGBUILD
=====================================
@@ -7,12 +7,13 @@ pkgbase=ollama
pkgname=(ollama ollama-cuda ollama-rocm)
pkgver=0.3.9
_ollama_commit=a1cef4d0a5f31280ea82b350605775931a6163cb # tag: v0.3.9
-pkgrel=2
+pkgrel=3
pkgdesc='Create, run and share large language models (LLMs)'
arch=(x86_64)
url='https://github.com/ollama/ollama'
_llama_cpp_commit=$(curl -sL
"https://github.com/ollama/ollama/tree/$_ollama_commit/llm" | tr ' ' '\n' | tr
'"' '\n' | grep ggerganov | cut -d/ -f5 | head -1)
license=(MIT)
+install=msg.install
makedepends=(clblast cmake cuda git go rocm-hip-sdk rocm-opencl-sdk)
source=(git+$url#commit=$_ollama_commit
llama.cpp::git+https://github.com/ggerganov/llama.cpp#commit=$_llama_cpp_commit
=====================================
msg.install
=====================================
@@ -0,0 +1,6 @@
+post_upgrade() {
+ echo 'NOTE:'
+ echo '=> Models are now stored in /var/lib/ollama instead of
/var/lib/ollama/.ollama/ by default.'
+ echo '=> /usr/share/ollama is now a symlink to /var/lib/ollama, to make life
easier for some users.'
+ echo '=> It is also possible to package Ollama models as packages now, see
"ollama-tinyllama" as an example.'
+}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ollama/-/commit/3dfab4c687d65a6694c887558548a98818d4751d
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ollama/-/commit/3dfab4c687d65a6694c887558548a98818d4751d
You're receiving this email because of your account on gitlab.archlinux.org.