forked from NexaAI/nexa-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
32 lines (30 loc) · 804 Bytes
/
Package.swift
File metadata and controls
32 lines (30 loc) · 804 Bytes
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
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "NexaSwift",
platforms: [
.macOS(.v15),
.iOS(.v18),
.watchOS(.v11),
.tvOS(.v18),
.visionOS(.v2)
],
products: [
.library(name: "NexaSwift", targets: ["NexaSwift"]),
],
dependencies: [
.package(url: "https://github.com/ggerganov/llama.cpp.git", branch: "master")
],
targets: [
.target(
name: "NexaSwift",
dependencies: [
.product(name: "llama", package: "llama.cpp")
],
path: "swift/Sources/NexaSwift"),
.testTarget(
name: "NexaSwiftTests",
dependencies: ["NexaSwift"],
path: "swift/Tests/NexaSwiftTests"),
]
)