Skip to content

Commit

Permalink
ONNXRuntime 1.17.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lxbndr committed Dec 18, 2024
1 parent b26eb45 commit 709cbf6
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// swift-tools-version:5.3
// This file is generated. Do not edit.

import PackageDescription

let onnxRuntimeBinaryTarget: Target
#if ONNX_RUNTIME_USE_LOCAL_FRAMEWORK
onnxRuntimeBinaryTarget = .binaryTarget(
name: "ONNXRuntimeBinary",
path: "onnxruntime.xcframework"
)
#else
onnxRuntimeBinaryTarget = .binaryTarget(
name: "ONNXRuntimeBinary",
url: "https://github.com/readdle/swift-onnxruntime/releases/download/1.17.3/onnxruntime-1.17.3-xcframework.zip",
checksum: "f0ab4046ec89d855aab45835b96b45c0bb5c46b49c72f11aae99178be48dc4fc"
)
#endif

let package = Package(
name: "ONNXRuntime",
platforms: [
.macOS(.v11),
],
products: [
.library(name: "CONNXRuntime", targets: ["CONNXRuntime"]),
],
targets: [
onnxRuntimeBinaryTarget,
.target(
name: "CONNXRuntime",
dependencies: [
"ONNXRuntimeBinary",
]
),
.testTarget(
name: "CONNXRuntimeTests",
dependencies: [
"CONNXRuntime",
]
),
]
)

0 comments on commit 709cbf6

Please sign in to comment.