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


Commits:
7f3f8240 by Alexander F. Rødseth at 2023-10-26T00:01:56+02:00
upgpkg: 0.1.5-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = ollama
        pkgdesc = Create, run and share large language models (LLMs)
-       pkgver = 0.1.3
+       pkgver = 0.1.5
        pkgrel = 1
        url = https://github.com/jmorganca/ollama
        arch = x86_64
@@ -10,14 +10,12 @@ pkgbase = ollama
        makedepends = git
        makedepends = go
        makedepends = setconf
-       source = 
git+https://github.com/jmorganca/ollama#commit=832b4db9d4baf22497145dde55f334b292ed665f
+       source = 
git+https://github.com/jmorganca/ollama#commit=cecf83141e3813ad7e268521e6a95efce61cb146
        source = 
ggml::git+https://github.com/ggerganov/llama.cpp#commit=9e232f0234073358e7031c1b8d7aa45020469a3b
-       source = 
gguf::git+https://github.com/ggerganov/llama.cpp#commit=bc9d3e3971e5607a10ff4c24e39568ce1ac87271
-       source = 
gotest.patch::https://github.com/xyproto/ollama/commit/fddb303f23e68ef80a028257554979b22addb438.patch
+       source = 
gguf::git+https://github.com/ggerganov/llama.cpp#commit=9e70cc03229df19ca2d28ce23cc817198f897278
        b2sums = SKIP
        b2sums = SKIP
        b2sums = SKIP
-       b2sums = 
75cb9609585e5bdf7ba1714ae55ee77a769fa46973c3e06bec4e2bd3f965a1547f82aef963a0e37efaaaae8ea3e5cc4cc734b03fb9b056300e29e3cb715c8df3
 
 pkgname = ollama
 


=====================================
PKGBUILD
=====================================
@@ -4,25 +4,23 @@
 pkgbase=ollama
 pkgname=(ollama ollama-cuda)
 pkgdesc='Create, run and share large language models (LLMs)'
-pkgver=0.1.3
+pkgver=0.1.5
 pkgrel=1
 arch=(x86_64)
 url='https://github.com/jmorganca/ollama'
 license=(MIT)
 makedepends=(cmake cuda git go setconf)
-_ollamacommit=832b4db9d4baf22497145dde55f334b292ed665f # tag: v0.1.3
+_ollamacommit=cecf83141e3813ad7e268521e6a95efce61cb146 # tag: v0.1.5
 # The git submodule commit hashes are here:
-# https://github.com/jmorganca/ollama/tree/v0.1.1/llm/llama.cpp
+# https://github.com/jmorganca/ollama/tree/v0.1.5/llm/llama.cpp
 _ggmlcommit=9e232f0234073358e7031c1b8d7aa45020469a3b
-_ggufcommit=bc9d3e3971e5607a10ff4c24e39568ce1ac87271
+_ggufcommit=9e70cc03229df19ca2d28ce23cc817198f897278
 source=(git+$url#commit=$_ollamacommit
         ggml::git+https://github.com/ggerganov/llama.cpp#commit=$_ggmlcommit
-        gguf::git+https://github.com/ggerganov/llama.cpp#commit=$_ggufcommit
-        
gotest.patch::https://github.com/xyproto/ollama/commit/fddb303f23e68ef80a028257554979b22addb438.patch)
+        gguf::git+https://github.com/ggerganov/llama.cpp#commit=$_ggufcommit)
 b2sums=('SKIP'
         'SKIP'
-        'SKIP'
-        
'75cb9609585e5bdf7ba1714ae55ee77a769fa46973c3e06bec4e2bd3f965a1547f82aef963a0e37efaaaae8ea3e5cc4cc734b03fb9b056300e29e3cb715c8df3')
+        'SKIP')
 
 prepare() {
   cd $pkgbase
@@ -36,9 +34,6 @@ prepare() {
   # Do not git clone when "go generate" is being run.
   sed -i 's,git submodule,true,g' llm/llama.cpp/generate_linux.go
 
-  # Fix go test ./...
-  patch -p1 -i ../gotest.patch
-
   # Set the correct version number
   setconf version/version.go 'var Version string' "\"$pkgver\""
 
@@ -80,6 +75,7 @@ package_ollama-cuda() {
   depends=(cuda)
   provides=(ollama)
   conflicts=(ollama)
+
   cd $pkgname
   install -Dm755 $pkgbase "$pkgdir/usr/bin/$pkgbase"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"



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

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


Reply via email to