|
7 | 7 | "binaryDir": "${sourceDir}/cmake-out" |
8 | 8 | }, |
9 | 9 | { |
10 | | - "name": "macos-arm64", |
11 | | - "displayName": "Build everything buildable on macOS arm64", |
| 10 | + "name": "macos", |
| 11 | + "displayName": "Build everything buildable on macOS", |
12 | 12 | "inherits": ["common"], |
13 | 13 | "generator": "Xcode", |
14 | 14 | "cacheVariables": { |
15 | 15 | "CMAKE_TOOLCHAIN_FILE": "${sourceDir}/third-party/ios-cmake/ios.toolchain.cmake", |
16 | | - "EXECUTORCH_BUILD_PRESET_FILE": "${sourceDir}/tools/cmake/preset/macos-arm64.cmake", |
| 16 | + "EXECUTORCH_BUILD_PRESET_FILE": "${sourceDir}/tools/cmake/preset/macos.cmake", |
17 | 17 | "PLATFORM": "MAC_ARM64", |
18 | 18 | "DEPLOYMENT_TARGET": "10.15" |
19 | 19 | }, |
|
23 | 23 | "rhs": "Darwin" |
24 | 24 | } |
25 | 25 | }, |
| 26 | + { |
| 27 | + "name": "ios", |
| 28 | + "displayName": "Build everything buildable on iOS", |
| 29 | + "inherits": ["common"], |
| 30 | + "generator": "Xcode", |
| 31 | + "cacheVariables": { |
| 32 | + "CMAKE_TOOLCHAIN_FILE": "${sourceDir}/third-party/ios-cmake/ios.toolchain.cmake", |
| 33 | + "EXECUTORCH_BUILD_PRESET_FILE": "${sourceDir}/tools/cmake/preset/ios.cmake", |
| 34 | + "PLATFORM": "OS64", |
| 35 | + "DEPLOYMENT_TARGET": "17.0" |
| 36 | + }, |
| 37 | + "condition": { |
| 38 | + "lhs": "${hostSystemName}", |
| 39 | + "type": "equals", |
| 40 | + "rhs": "Darwin" |
| 41 | + } |
| 42 | + }, |
| 43 | + { |
| 44 | + "name": "ios-simulator", |
| 45 | + "displayName": "Build everything buildable on iOS simulator", |
| 46 | + "inherits": ["common"], |
| 47 | + "generator": "Xcode", |
| 48 | + "cacheVariables": { |
| 49 | + "CMAKE_TOOLCHAIN_FILE": "${sourceDir}/third-party/ios-cmake/ios.toolchain.cmake", |
| 50 | + "EXECUTORCH_BUILD_PRESET_FILE": "${sourceDir}/tools/cmake/preset/ios.cmake", |
| 51 | + "PLATFORM": "SIMULATORARM64", |
| 52 | + "DEPLOYMENT_TARGET": "17.0" |
| 53 | + }, |
| 54 | + "condition": { |
| 55 | + "lhs": "${hostSystemName}", |
| 56 | + "type": "equals", |
| 57 | + "rhs": "Darwin" |
| 58 | + } |
| 59 | + }, |
| 60 | + { |
| 61 | + "name": "linux", |
| 62 | + "displayName": "Build everything buildable on Linux", |
| 63 | + "inherits": ["common"], |
| 64 | + "cacheVariables": { |
| 65 | + "CMAKE_SYSTEM_NAME": "Linux", |
| 66 | + "EXECUTORCH_BUILD_PRESET_FILE": "${sourceDir}/tools/cmake/preset/linux.cmake" |
| 67 | + }, |
| 68 | + "condition": { |
| 69 | + "lhs": "${hostSystemName}", |
| 70 | + "type": "equals", |
| 71 | + "rhs": "Linux" |
| 72 | + } |
| 73 | + }, |
26 | 74 | { |
27 | 75 | "name": "pybind", |
28 | 76 | "displayName": "Build pybindings exported in the wheel", |
|
36 | 84 | "string": "${hostSystemName}", |
37 | 85 | "list": ["Darwin", "Linux", "Windows"] |
38 | 86 | } |
| 87 | + }, |
| 88 | + { |
| 89 | + "name": "llm", |
| 90 | + "displayName": "Build LLM libraries", |
| 91 | + "inherits": [ |
| 92 | + "common" |
| 93 | + ], |
| 94 | + "cacheVariables": { |
| 95 | + "EXECUTORCH_BUILD_PRESET_FILE": "${sourceDir}/tools/cmake/preset/llm.cmake", |
| 96 | + "CMAKE_OSX_DEPLOYMENT_TARGET": "10.15" |
| 97 | + }, |
| 98 | + "condition": { |
| 99 | + "type": "inList", |
| 100 | + "string": "${hostSystemName}", |
| 101 | + "list": [ |
| 102 | + "Darwin", |
| 103 | + "Linux", |
| 104 | + "Windows" |
| 105 | + ] |
| 106 | + } |
39 | 107 | } |
40 | 108 | ] |
41 | 109 | } |
0 commit comments