0011-relative-include-paths.patch 1.42 KB
Newer Older
1
2
3
4
5
6
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: jmorganca <jmorganca@gmail.com>
Date: Tue, 3 Dec 2024 21:30:51 -0800
Subject: [PATCH] relative include paths

---
7
8
9
10
 ggml/src/ggml-cpu/ggml-cpu.c   | 2 +-
 ggml/src/ggml-cpu/ggml-cpu.cpp | 3 +--
 ggml/src/ggml-quants.c         | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)
11
12

diff --git a/ggml/src/ggml-cpu/ggml-cpu.c b/ggml/src/ggml-cpu/ggml-cpu.c
13
index bebff207..d6dd5600 100644
14
15
16
17
18
19
20
21
22
23
24
25
--- a/ggml/src/ggml-cpu/ggml-cpu.c
+++ b/ggml/src/ggml-cpu/ggml-cpu.c
@@ -10,7 +10,7 @@
 #include "ggml-quants.h"
 #include "ggml-cpu-quants.h"
 #include "ggml-threading.h"
-#include "amx/amx.h"
+#include "amx.h"
 #include "ggml.h"
 
 #if defined(_MSC_VER) || defined(__MINGW32__)
diff --git a/ggml/src/ggml-cpu/ggml-cpu.cpp b/ggml/src/ggml-cpu/ggml-cpu.cpp
26
index c390957a..1af5f7eb 100644
27
28
--- a/ggml/src/ggml-cpu/ggml-cpu.cpp
+++ b/ggml/src/ggml-cpu/ggml-cpu.cpp
29
@@ -4,8 +4,7 @@
30
 #include "ggml-cpu-aarch64.h"
31
 #include "ggml-cpu-traits.h"
32
33
 #include "ggml-impl.h"
-#include "amx/amx.h"
34
-
35
36
37
38
39
+#include "amx.h"
 #include <cctype>
 #include <string>
 #include <vector>
diff --git a/ggml/src/ggml-quants.c b/ggml/src/ggml-quants.c
40
index 7918388a..e2ed84e4 100644
41
42
43
44
45
46
47
48
49
50
51
--- a/ggml/src/ggml-quants.c
+++ b/ggml/src/ggml-quants.c
@@ -3,7 +3,7 @@
 
 #include "ggml-quants.h"
 #include "ggml-impl.h"
-#include "ggml-cpu/ggml-cpu-impl.h"
+#include "ggml-cpu-impl.h"
 #include "ggml-cpu.h"
 
 #include <math.h>