-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathPackage.swift
35 lines (34 loc) · 912 Bytes
/
Package.swift
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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "LLamaSwift",
platforms: [
.macOS(.v12),
.iOS(.v14),
.watchOS(.v4),
.tvOS(.v14),
.visionOS(.v1)
],
products: [
.library(
name: "LLamaSwift",
targets: ["LLamaSwift"]),
],
dependencies: [
.package(url: "https://github.com/ggerganov/llama.cpp", branch: "master"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.6.1"),
],
targets: [
.target(
name: "LLamaSwift",
dependencies: [
.product(name: "llama", package: "llama.cpp"),
.product(name: "Logging", package: "swift-log"),
]
),
.testTarget(
name: "llama-cpp-swiftTests",
dependencies: ["LLamaSwift"]
),
]
)