-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathPackage.swift
More file actions
37 lines (35 loc) · 1019 Bytes
/
Package.swift
File metadata and controls
37 lines (35 loc) · 1019 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
33
34
35
36
37
// swift-tools-version: 6.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "MLXUtilsLibrary",
platforms: [
.iOS(.v18), .macOS(.v15)
],
products: [
.library(
name: "MLXUtilsLibrary",
targets: ["MLXUtilsLibrary"]
),
],
dependencies: [
.package(url: "https://github.com/weichsel/ZIPFoundation.git", .upToNextMajor(from: "0.9.0")),
.package(url: "https://github.com/ml-explore/mlx-swift", from: "0.30.3")
],
targets: [
.target(
name: "MLXUtilsLibrary",
dependencies: [
"ZIPFoundation",
.product(name: "MLX", package: "mlx-swift")
]
),
.testTarget(
name: "MLXUtilsLibraryTests",
dependencies: ["MLXUtilsLibrary"],
resources: [
.copy("Resources")
]
),
]
)