From ed82fc5c76be607f0c66b9629a93628a38dc1356 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Thu, 27 Nov 2025 14:26:47 -0800 Subject: =?UTF-8?q?misc/ollama:=20update=200.3.6=20=E2=86=92=200.13.1.r0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ollama/files/patch-llm_generate_gen__common.sh | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100644 misc/ollama/files/patch-llm_generate_gen__common.sh (limited to 'misc/ollama/files/patch-llm_generate_gen__common.sh') diff --git a/misc/ollama/files/patch-llm_generate_gen__common.sh b/misc/ollama/files/patch-llm_generate_gen__common.sh deleted file mode 100644 index 6033d77dc663..000000000000 --- a/misc/ollama/files/patch-llm_generate_gen__common.sh +++ /dev/null @@ -1,35 +0,0 @@ ---- llm/generate/gen_common.sh.orig 1979-11-30 08:00:00 UTC -+++ llm/generate/gen_common.sh -@@ -68,13 +68,8 @@ apply_patches() { - if [ -n "$(ls -A ../patches/*.diff)" ]; then - # apply temporary patches until fix is upstream - for patch in ../patches/*.diff; do -- for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/); do -- (cd ${LLAMACPP_DIR}; git checkout ${file}) -- done -+ (cd ${LLAMACPP_DIR} && patch -B '' -p1 < ${patch}) - done -- for patch in ../patches/*.diff; do -- (cd ${LLAMACPP_DIR} && git apply ${patch}) -- done - fi - } - -@@ -106,14 +101,8 @@ compress() { - } - - # Keep the local tree clean after we're done with the build --cleanup() { -- (cd ${LLAMACPP_DIR}/ && git checkout CMakeLists.txt) - -- if [ -n "$(ls -A ../patches/*.diff)" ]; then -- for patch in ../patches/*.diff; do -- for file in $(grep "^+++ " ${patch} | cut -f2 -d' ' | cut -f2- -d/); do -- (cd ${LLAMACPP_DIR}; git checkout ${file}) -- done -- done -- fi -+cleanup() { -+ echo "cleanup done" - } -+ -- cgit v1.2.3