[Add] DocumentReaderFullStage 7.5.10940
[CocoaPods.git] / Specs / 1 / 3 / c / LibTorch / 1.9.0 / LibTorch.podspec.json
blob175c4570850688456df1e76b1ef195f42ac44e94
2   "name": "LibTorch",
3   "version": "1.9.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_1.9.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   "subspecs": [
33     {
34       "name": "Core",
35       "dependencies": {
36         "LibTorch/Torch": [
38         ]
39       },
40       "source_files": "src/*.{h,cpp,c,cc}",
41       "public_header_files": [
42         "src/LibTorch.h"
43       ]
44     },
45     {
46       "name": "Torch",
47       "header_mappings_dir": "install/include/",
48       "preserve_paths": "install/include/**/*.{h,cpp,cc,c}",
49       "vendored_libraries": "install/lib/*.a",
50       "libraries": [
51         "c++",
52         "stdc++"
53       ]
54     }
55   ]