summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/py-llama-cpp-python/files/patch-vendor_llama.cpp_ggml_src_ggml-cpu_ggml-cpu-impl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/py-llama-cpp-python/files/patch-vendor_llama.cpp_ggml_src_ggml-cpu_ggml-cpu-impl.h b/misc/py-llama-cpp-python/files/patch-vendor_llama.cpp_ggml_src_ggml-cpu_ggml-cpu-impl.h
new file mode 100644
index 000000000000..376142c64242
--- /dev/null
+++ b/misc/py-llama-cpp-python/files/patch-vendor_llama.cpp_ggml_src_ggml-cpu_ggml-cpu-impl.h
@@ -0,0 +1,11 @@
+--- vendor/llama.cpp/ggml/src/ggml-cpu/ggml-cpu-impl.h.orig 2025-08-02 23:17:06 UTC
++++ vendor/llama.cpp/ggml/src/ggml-cpu/ggml-cpu-impl.h
+@@ -319,8 +319,6 @@ inline static int32x4_t ggml_vdotq_s32(int32x4_t acc,
+ #else
+ #ifdef __POWER9_VECTOR__
+ #include <altivec.h>
+-#undef bool
+-#define bool _Bool
+ #else
+ #if defined(_MSC_VER) || defined(__MINGW32__)
+ #include <intrin.h>