-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathPackage.swift
23 lines (21 loc) · 811 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "LAPACKE-iOS",
platforms: [
.iOS(.v9),
],
products: [
.library(
name: "LAPACKE-iOS",
targets: ["LAPACKE", "_LapackeLink"]),
],
dependencies: [.package(url: "https://github.com/kewlbear/BLAS-LAPACK-AppStore-Workaround.git", .branch("main"))],
targets: [
.binaryTarget(name: "LAPACKE", url: "https://github.com/kewlbear/LAPACKE-iOS/releases/download/0.0.20210414/LAPACKE.xcframework.zip", checksum: "22911ba53822023c27eaa6925a197f0ef67da504c9915d39973752fe1f0a5b79"),
.target(
name: "_LapackeLink",
dependencies: ["BLAS-LAPACK-AppStore-Workaround"],
linkerSettings: [.linkedFramework("Accelerate")]),
]
)