[Add] TensorFlowLiteSwift 0.0.1-nightly.20241221
[CocoaPods.git] / Specs / 1 / 3 / c / LibTorch / 2.1.0 / LibTorch.podspec.json
bloba9fd994dae2fe24113dc558f72e072ae3fa8a10f
2   "name": "LibTorch",
3   "version": "2.1.0",
4   "authors": "PyTorch Team",
5   "license": {
6     "type": "BSD"
7   },
8   "homepage": "https://github.com/pytorch/pytorch",
9   "source": {
10     "http": "https://ossci-ios.s3.amazonaws.com/libtorch_ios_2.1.0.zip"
11   },
12   "summary": "The PyTorch C++ library for iOS",
13   "description": "The PyTorch C++ library for iOS.",
14   "platforms": {
15     "ios": "12.0"
16   },
17   "default_subspecs": "Core",
18   "user_target_xcconfig": {
19     "HEADER_SEARCH_PATHS": "$(inherited) \"$(PODS_ROOT)/LibTorch/install/include/\"",
20     "OTHER_LDFLAGS": "-force_load \"$(PODS_ROOT)/LibTorch/install/lib/libtorch.a\" -force_load \"$(PODS_ROOT)/LibTorch/install/lib/libtorch_cpu.a\"",
21     "CLANG_CXX_LANGUAGE_STANDARD": "c++14",
22     "CLANG_CXX_LIBRARY": "libc++"
23   },
24   "pod_target_xcconfig": {
25     "HEADER_SEARCH_PATHS": "$(inherited) \"$(PODS_ROOT)/LibTorch/install/include/\"",
26     "VALID_ARCHS": "x86_64 arm64"
27   },
28   "libraries": [
29     "c++",
30     "stdc++"
31   ],
32   "frameworks": [
33     "Accelerate",
34     "MetalPerformanceShaders",
35     "CoreML"
36   ],
37   "subspecs": [
38     {
39       "name": "Core",
40       "dependencies": {
41         "LibTorch/Torch": [
43         ]
44       },
45       "source_files": "src/*.{h,cpp,c,cc}",
46       "public_header_files": [
47         "src/LibTorch.h"
48       ]
49     },
50     {
51       "name": "Torch",
52       "header_mappings_dir": "install/include/",
53       "preserve_paths": "install/include/**/*.{h,cpp,cc,c}",
54       "vendored_libraries": "install/lib/*.a",
55       "libraries": [
56         "c++",
57         "stdc++"
58       ]
59     }
60   ]