File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ pytorch_version = '1.9.0'
2+
3+ Pod ::Spec . new do |s |
4+ s . name = 'LibTorchvision'
5+ s . version = '0.10.0'
6+ s . authors = 'PyTorch Team'
7+ s . license = { :type => 'BSD' }
8+ s . homepage = 'https://github.com/pytorch/vision'
9+ s . source = { :http => "https://ossci-ios.s3.amazonaws.com/libtorchvision_ops_ios_#{ s . version } .zip" }
10+ s . summary = '"The C++ library of TorchVision ops for iOS'
11+ s . description = <<-DESC
12+ The C++ library of TorchVision ops for iOS.
13+ This version (#{ s . version } ) requires the installation of LibTorch #{ pytorch_version } or LibTorch-Lite #{ pytorch_version } .
14+ DESC
15+ s . ios . deployment_target = '12.0'
16+ s . vendored_libraries = 'install/lib/*.a'
17+ s . user_target_xcconfig = {
18+ 'VALID_ARCHS' => 'x86_64 arm64' ,
19+ 'OTHER_LDFLAGS' => '$(inherited) -force_load "$(PODS_ROOT)/LibTorchvision/install/lib/libtorchvision_ops.a"' ,
20+ 'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14' ,
21+ 'CLANG_CXX_LIBRARY' => 'libc++'
22+ }
23+ s . library = [ 'c++' , 'stdc++' ]
24+ end
You can’t perform that action at this time.
0 commit comments