summaryrefslogtreecommitdiff
path: root/misc/koboldcpp/files/patch-otherarch_ggml__v1.c
blob: 9956d930ed130aead657d012fe04ee8637c3aecd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- otherarch/ggml_v1.c.orig	2024-12-11 11:02:13 UTC
+++ otherarch/ggml_v1.c
@@ -151,7 +151,7 @@ typedef double ggml_v1_float;
 #undef bool
 #define bool _Bool
 #else
-#if !defined(__riscv)
+#if !defined(__riscv) && (defined(__amd64__) || defined(__i386__))
 #include <immintrin.h>
 #endif
 #endif