about summary refs log tree commit diff
path: root/pkgs/tools/misc/ollama/disable-git.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/ollama/disable-git.patch')
-rw-r--r--pkgs/tools/misc/ollama/disable-git.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/pkgs/tools/misc/ollama/disable-git.patch b/pkgs/tools/misc/ollama/disable-git.patch
deleted file mode 100644
index 5f9b4b3323b6a..0000000000000
--- a/pkgs/tools/misc/ollama/disable-git.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/llm/generate/gen_common.sh
-+++ b/llm/generate/gen_common.sh
-@@ -65,6 +65,8 @@
-         echo 'add_subdirectory(../ext_server ext_server) # ollama' >>${LLAMACPP_DIR}/CMakeLists.txt
-     fi
- 
-+    return
-+
-     if [ -n "$(ls -A ../patches/*.diff)" ]; then
-         # apply temporary patches until fix is upstream
-         for patch in ../patches/*.diff; do
-@@ -110,6 +112,8 @@
- 
- # Keep the local tree clean after we're done with the build
- cleanup() {
-+    return
-+
-     (cd ${LLAMACPP_DIR}/ && git checkout CMakeLists.txt)
- 
-     if [ -n "$(ls -A ../patches/*.diff)" ]; then