Alexander Rødseth pushed to branch main at Arch Linux / Packaging / Packages / 
ollama


Commits:
89c50930 by Alexander F. Rødseth at 2024-09-27T18:26:01+02:00
upgpkg: 0.3.12-1

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- msg.install


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = ollama
        pkgdesc = Create, run and share large language models (LLMs)
-       pkgver = 0.3.11
+       pkgver = 0.3.12
        pkgrel = 1
        url = https://github.com/ollama/ollama
        install = msg.install
@@ -13,12 +13,12 @@ pkgbase = ollama
        makedepends = go
        makedepends = rocm-hip-sdk
        makedepends = rocm-opencl-sdk
-       source = 
git+https://github.com/ollama/ollama#commit=504a410f02e01a2ec948a92e4579a28295184898
+       source = 
git+https://github.com/ollama/ollama#commit=e9e9bdb8d904f009e8b1e54af9f77624d481cfb2
        source = 
llama.cpp::git+https://github.com/ggerganov/llama.cpp#commit=8962422b1c6f9b8b15f5aeaea42600bcc2d44177
        source = ollama.service
        source = sysusers.conf
        source = tmpfiles.d
-       b2sums = 
24f5a03a8a83110703d418df56a9a9194dcc649b5307dff8141ec7d8e7cfa0dc0f63da4521aa362ccb8f12e22ff86b363677fbb0f10ff608c2d04a577687b127
+       b2sums = 
7b230922a233f0be967abb40b300125fb59ed64850a109db185954c549e12e5de0c1be094c1cdb67484c9e8705804a3761bfefa517fac1adfb05bcae8d2c197d
        b2sums = 
e568ac334cf07b69f98c4581f212f2e30bdebf1f285a37e4bb5c8ac31733df9a3c125e6d16b7f6bbe412cedb11d249a07ca9793a487e0ad34810cbb35cd32ee2
        b2sums = 
031e0809a7f564de87017401c83956d43ac29bd0e988b250585af728b952a27d139b3cad0ab1e43750e2cd3b617287d3b81efc4a70ddd61709127f68bd15eabd
        b2sums = 
3aabf135c4f18e1ad745ae8800db782b25b15305dfeaaa031b4501408ab7e7d01f66e8ebb5be59fc813cfbff6788d08d2e48dcf24ecc480a40ec9db8dbce9fec


=====================================
PKGBUILD
=====================================
@@ -5,8 +5,8 @@
 
 pkgbase=ollama
 pkgname=(ollama ollama-cuda ollama-rocm)
-pkgver=0.3.11
-_ollama_commit=504a410f02e01a2ec948a92e4579a28295184898 # tag: v0.3.11
+pkgver=0.3.12
+_ollama_commit=e9e9bdb8d904f009e8b1e54af9f77624d481cfb2 # tag: v0.3.12
 pkgrel=1
 pkgdesc='Create, run and share large language models (LLMs)'
 arch=(x86_64)
@@ -20,7 +20,7 @@ source=(git+$url#commit=$_ollama_commit
         ollama.service
         sysusers.conf
         tmpfiles.d)
-b2sums=('24f5a03a8a83110703d418df56a9a9194dcc649b5307dff8141ec7d8e7cfa0dc0f63da4521aa362ccb8f12e22ff86b363677fbb0f10ff608c2d04a577687b127'
+b2sums=('7b230922a233f0be967abb40b300125fb59ed64850a109db185954c549e12e5de0c1be094c1cdb67484c9e8705804a3761bfefa517fac1adfb05bcae8d2c197d'
         
'e568ac334cf07b69f98c4581f212f2e30bdebf1f285a37e4bb5c8ac31733df9a3c125e6d16b7f6bbe412cedb11d249a07ca9793a487e0ad34810cbb35cd32ee2'
         
'031e0809a7f564de87017401c83956d43ac29bd0e988b250585af728b952a27d139b3cad0ab1e43750e2cd3b617287d3b81efc4a70ddd61709127f68bd15eabd'
         
'3aabf135c4f18e1ad745ae8800db782b25b15305dfeaaa031b4501408ab7e7d01f66e8ebb5be59fc813cfbff6788d08d2e48dcf24ecc480a40ec9db8dbce9fec'
@@ -50,7 +50,7 @@ build() {
   export CFLAGS+=' -w'
   export CXXFLAGS+=' -w'
   export LDFLAGS+=' -L/opt/cuda/targets/x86_64-linux/lib/stubs/'
-  export CGO_CFLAGS="$CFLAGS" CGO_CPPFLAGS="$CPPFLAGS" 
CGO_CXXFLAGS="$CXXFLAGS" CGO_LDFLAGS=" $LDFLAGS"
+  export CGO_CFLAGS="$CFLAGS" CGO_CPPFLAGS="$CPPFLAGS" 
CGO_CXXFLAGS="$CXXFLAGS" CGO_LDFLAGS="$LDFLAGS"
 
   local goflags='-buildmode=pie -trimpath -mod=readonly -modcacherw'
   local ldflags="-linkmode=external -buildid= -X 
github.com/ollama/ollama/version.Version=$pkgver -X 
github.com/ollama/ollama/server.mode=release"


=====================================
msg.install
=====================================
@@ -1,6 +1,5 @@
 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.'
+  echo '=> Models are stored in /var/lib/ollama by default.'
+  echo '=> For an example of packaging Ollama models, see ollama-tinyllama-1b.'
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ollama/-/commit/89c50930968ba46ee97216a4128deec619401cee

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ollama/-/commit/89c50930968ba46ee97216a4128deec619401cee
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to