diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -3,15 +3,15 @@ pkgname=ollama-cuda pkgdesc='Create, run and share large language models (LLMs) with CUDA' -pkgver=0.1.22 -pkgrel=2 +pkgver=0.1.23 +pkgrel=1 arch=(x86_64) url='https://github.com/jmorganca/ollama' license=(MIT) -_ollamacommit=a47d8b2557259ffc9881817df97fbf6d6824e89e # tag: v0.1.22 +_ollamacommit=09a6f76f4c30fb8a9708680c519d08feeb504197 # tag: v0.1.23 # The llama.cpp git submodule commit hash can be found here: -# https://github.com/jmorganca/ollama/tree/v0.1.22/llm -_llama_cpp_commit=cd4fddb29f81d6a1f6d51a0c016bc6b486d68def +# https://github.com/jmorganca/ollama/tree/v0.1.23/llm +_llama_cpp_commit=d2f650cb5b04ee2726663e79b47da5efe196ce00 makedepends=(cmake cuda git go) provides=(ollama) conflicts=(ollama) @@ -36,6 +36,9 @@ prepare() { # Turn LTO on and set the build type to Release sed -i 's,T_CODE=on,T_CODE=on -D LLAMA_LTO=on -D CMAKE_BUILD_TYPE=Release,g' llm/generate/gen_linux.sh + + # Display a more helpful error message + sed -i "s|could not connect to ollama server, run 'ollama serve' to start it|ollama is not running, try 'systemctl start ollama'|g" cmd/cmd.go } build() { |