File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "version" : 10 ,
3+ "cmakeMinimumRequired" : {
4+ "major" : 3 ,
5+ "minor" : 31 ,
6+ "patch" : 0
7+ },
8+ "$comment" : " On-device AI across mobile, embedded and edge for PyTorch." ,
9+ "configurePresets" : [
10+ {
11+ "name" : " common" ,
12+ "hidden" : true ,
13+ "binaryDir" : " ${sourceDir}/cmake-out" ,
14+ "generator" : " Unix Makefiles"
15+ },
16+ {
17+ "name" : " macos-arm64" ,
18+ "inherits" : [" common" ],
19+ "generator" : " Xcode" ,
20+ "cacheVariables" : {
21+ "CMAKE_TOOLCHAIN_FILE" : " ${sourceDir}/third-party/ios-cmake/ios.toolchain.cmake" ,
22+ "EXECUTORCH_BUILD_PRESET_FILE" : " ${sourceDir}/tools/cmake/preset/macos-arm64.cmake" ,
23+ "PLATFORM" : " MAC_ARM64" ,
24+ "DEPLOYMENT_TARGET" : " 10.15"
25+ },
26+ "condition" : {
27+ "lhs" : " ${hostSystemName}" ,
28+ "type" : " equals" ,
29+ "rhs" : " Darwin"
30+ }
31+ }
32+ ]
33+ }
You can’t perform that action at this time.
0 commit comments