-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpubspec.yaml
49 lines (43 loc) · 1.15 KB
/
pubspec.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: llama
description: "llama is a dart implementation of llama.cpp used by the mobile artificial intelligence distribution (maid)"
version: 0.0.1
homepage: "https://github.com/Mobile-Artificial-Intelligence/llama_dart"
environment:
sdk: '>=3.3.0 <4.0.0'
flutter: '>=3.3.0'
dependencies:
ffi: ^2.1.2
flutter:
sdk: flutter
dev_dependencies:
ffigen: ^11.0.0
flutter_test:
sdk: flutter
flutter_lints: ^3.0.0
ffigen:
name: 'llama'
description: 'llama.cpp binding'
output: 'lib/bindings.dart'
ignore-source-errors: true
headers:
entry-points:
- 'src/llama_cpp/include/llama.h'
- 'src/llama_cpp/ggml/include/ggml.h'
- 'src/llama_cpp/ggml/include/ggml-cpu.h'
- 'src/llama_cpp/ggml/include/ggml-backend.h'
compiler-opts:
- '-I/usr/lib/clang/17/include'
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter packages.
flutter:
plugin:
platforms:
android:
ffiPlugin: true
linux:
ffiPlugin: true
windows:
ffiPlugin: true
macos:
ffiPlugin: true