-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPackage.swift
35 lines (33 loc) · 1.11 KB
/
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
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "TensorFlowLiteC",
platforms: [.iOS(.v12)],
products: [
.library(
name: "TensorFlowLiteC",
targets: [
"TensorFlowLiteC",
"TensorFlowLiteCCoreML",
"Link"
]
)
],
targets: [
.target(
name: "Link",
linkerSettings: [.linkedLibrary("c++")]
),
.binaryTarget(
name: "TensorFlowLiteC",
url: "https://api.github.com/repos/tareksabry1337/TensorFlowLiteC/releases/assets/182655612.zip",
checksum: "c45bce0693bd049565056392dce21b5000fe0e67d3f5300c4e015555aaf9e72b"
),
.binaryTarget(
name: "TensorFlowLiteCCoreML",
url: "https://api.github.com/repos/tareksabry1337/TensorFlowLiteC/releases/assets/182655597.zip",
checksum: "f05b74f022866699a0038e5dd948bc0cac1fb41a20f01b24d6b0064143f0960b"
)
]
)