-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathPackage.swift
More file actions
39 lines (37 loc) · 1.12 KB
/
Package.swift
File metadata and controls
39 lines (37 loc) · 1.12 KB
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
// swift-tools-version:5.9
import PackageDescription
let version = "1.14.1"
// checksums are updated automatically by ./faiss.sh build
let checksum = "0000000000000000000000000000000000000000000000000000000000000000"
let checksum_c = "0000000000000000000000000000000000000000000000000000000000000000"
let package = Package(
name: "FAISS",
platforms: [
.macOS(.v13),
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6),
.visionOS(.v1)
],
products: [
.library(
name: "FAISS",
targets: ["FAISS"]),
.library(
name: "FAISS_C",
targets: ["FAISS_C"]),
],
dependencies: [],
targets: [
.binaryTarget(
name: "FAISS",
url: "https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v\(version)/faiss.xcframework.zip",
checksum: checksum
),
.binaryTarget(
name: "FAISS_C",
url: "https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v\(version)/faiss_c.xcframework.zip",
checksum: checksum_c
)
]
)