File tree 4 files changed +22
-5
lines changed
4 files changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,31 @@ let package = Package(
13
13
products: [
14
14
. library( name: " llama " , targets: [ " llama " ] ) ,
15
15
] ,
16
- dependencies: [
17
- . package ( url: " https://github.com/ggerganov/ggml.git " , . branch( " release " ) )
18
- ] ,
19
16
targets: [
20
17
. target(
21
18
name: " llama " ,
22
- dependencies: [ " ggml " ] ,
23
19
path: " . " ,
24
- exclude: [ " ggml-metal.metal " ] ,
20
+ exclude: [
21
+ " cmake " ,
22
+ " examples " ,
23
+ " scripts " ,
24
+ " models " ,
25
+ " tests " ,
26
+ " CMakeLists.txt " ,
27
+ " ggml-cuda.cu " ,
28
+ " ggml-cuda.h " ,
29
+ " Makefile "
30
+ ] ,
25
31
sources: [
32
+ " ggml.c " ,
26
33
" llama.cpp " ,
34
+ " ggml-alloc.c " ,
35
+ " ggml-backend.c " ,
36
+ " ggml-quants.c " ,
37
+ " ggml-metal.m " ,
38
+ ] ,
39
+ resources: [
40
+ . process( " ggml-metal.metal " )
27
41
] ,
28
42
publicHeadersPath: " spm-headers " ,
29
43
cSettings: [
Original file line number Diff line number Diff line change
1
+ ../ggml - alloc .h
Original file line number Diff line number Diff line change
1
+ ../ggml - backend .h
Original file line number Diff line number Diff line change
1
+ ../ggml .h
You can’t perform that action at this time.
0 commit comments