mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
* Change full ort to mobile ort * Update Android example to load mobile ort * Change the format of test models to ort * update ios to use mobile ort * revise README * use onnxruntime-mobile-c CocoaPods in a npm package
21 lines
929 B
Ruby
21 lines
929 B
Ruby
require "json"
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
|
|
Pod::Spec.new do |spec|
|
|
spec.name = "onnxruntime-mobile-c"
|
|
spec.version = package["version"]
|
|
spec.summary = "ONNX Runtime C/C++ Package"
|
|
spec.description = <<-DESC
|
|
ONNX Runtime C/C++ framework pod.
|
|
DESC
|
|
|
|
spec.homepage = "https://github.com/microsoft/onnxruntime"
|
|
spec.license = { :type => 'MIT' }
|
|
spec.authors = { "ONNX Runtime" => "onnxruntime@microsoft.com" }
|
|
spec.platform = :ios, '13.0'
|
|
# if you are going to use a file as the spec.source, add 'file:' before your file path
|
|
spec.source = { :http => 'file:' + __dir__ + '/local_pods/onnxruntime-mobile-c.zip' }
|
|
spec.vendored_frameworks = 'onnxruntime.framework'
|
|
spec.source_files = 'onnxruntime.framework/Headers/*.h'
|
|
end
|