ollama: 0.3.10 -> 0.3.11
This commit is contained in:
parent
0c0ef784a3
commit
4a150a2dd2
@ -1,15 +1,17 @@
|
|||||||
|
diff --git a/llm/generate/gen_common.sh b/llm/generate/gen_common.sh
|
||||||
|
index 3825c155..d22eccd2 100644
|
||||||
--- a/llm/generate/gen_common.sh
|
--- a/llm/generate/gen_common.sh
|
||||||
+++ b/llm/generate/gen_common.sh
|
+++ b/llm/generate/gen_common.sh
|
||||||
@@ -65,6 +65,8 @@
|
@@ -69,6 +69,8 @@ git_module_setup() {
|
||||||
echo 'add_subdirectory(../ext_server ext_server) # ollama' >>${LLAMACPP_DIR}/CMakeLists.txt
|
}
|
||||||
fi
|
|
||||||
|
|
||||||
|
apply_patches() {
|
||||||
+ return
|
+ return
|
||||||
+
|
+
|
||||||
if [ -n "$(ls -A ../patches/*.diff)" ]; then
|
# apply temporary patches until fix is upstream
|
||||||
# apply temporary patches until fix is upstream
|
for patch in ../patches/*.patch; do
|
||||||
for patch in ../patches/*.diff; do
|
git -c 'user.name=nobody' -c 'user.email=<>' -C ${LLAMACPP_DIR} am ${patch}
|
||||||
@@ -110,6 +112,8 @@
|
@@ -133,6 +135,8 @@ install() {
|
||||||
|
|
||||||
# Keep the local tree clean after we're done with the build
|
# Keep the local tree clean after we're done with the build
|
||||||
cleanup() {
|
cleanup() {
|
||||||
|
@ -40,13 +40,13 @@ assert builtins.elem acceleration [
|
|||||||
let
|
let
|
||||||
pname = "ollama";
|
pname = "ollama";
|
||||||
# don't forget to invalidate all hashes each update
|
# don't forget to invalidate all hashes each update
|
||||||
version = "0.3.10";
|
version = "0.3.11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ollama";
|
owner = "ollama";
|
||||||
repo = "ollama";
|
repo = "ollama";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-iNjqnhiM0L873BiBPAgI2Y0KEQyCInn2nEihzwLasFU=";
|
hash = "sha256-YYrNrlXL6ytLfnrvSHybi0va0lvgVNuIRP+IFE5XZX8=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user