Skip to content

Commit 66b35c8

Browse files
committed
try to fix clang compilation errors, 4th attempt
1 parent cb8bca9 commit 66b35c8

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

ggml/src/ggml-cpu/arch/arm/repack.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
#define GGML_COMMON_IMPL_CPP
22
#define GGML_COMMON_DECL_CPP
33
#include "ggml-common.h"
4+
#include "ggml-backend-impl.h"
5+
46
#include "ggml-impl.h"
7+
#include "ggml-cpu.h"
8+
#include "ggml-cpu-impl.h"
9+
#include "traits.h"
510

611
#include <cmath>
712
#include <cstring>

ggml/src/ggml-cpu/arch/riscv/repack.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include "ggml-common.h"
44
#include "ggml-backend-impl.h"
55

6-
#include "ggml-quants.h"
76
#include "ggml-impl.h"
87
#include "ggml-cpu.h"
98
#include "ggml-cpu-impl.h"
@@ -12,7 +11,6 @@
1211
#include <cmath>
1312
#include <cstring>
1413
#include <cassert>
15-
#include <cfloat>
1614
#include <cstdlib> // for qsort
1715
#include <cstdio> // for GGML_ASSERT
1816

ggml/src/ggml-cpu/arch/x86/repack.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
#define GGML_COMMON_IMPL_CPP
22
#define GGML_COMMON_DECL_CPP
33
#include "ggml-common.h"
4+
#include "ggml-backend-impl.h"
5+
46
#include "ggml-impl.h"
7+
#include "ggml-cpu.h"
8+
#include "ggml-cpu-impl.h"
9+
#include "traits.h"
510

11+
#include <cmath>
612
#include <cstring>
713
#include <cassert>
814
#include <cstdlib> // for qsort

0 commit comments

Comments
 (0)