Skip to content

Commit e01bdd3

Browse files
jathuJathu Satkunarajah
authored andcommitted
minimize
1 parent 63bad47 commit e01bdd3

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

CMakePresets.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
{
1010
"name": "macos",
11-
"displayName": "Build everything buildable on macOS",
11+
"displayName": "Build ExecuTorch for macOS",
1212
"inherits": ["common"],
1313
"generator": "Xcode",
1414
"cacheVariables": {
@@ -25,7 +25,7 @@
2525
},
2626
{
2727
"name": "ios",
28-
"displayName": "Build everything buildable on iOS",
28+
"displayName": "Build ExecuTorch for iOS",
2929
"inherits": ["common"],
3030
"generator": "Xcode",
3131
"cacheVariables": {
@@ -42,7 +42,7 @@
4242
},
4343
{
4444
"name": "ios-simulator",
45-
"displayName": "Build everything buildable on iOS simulator",
45+
"displayName": "Build ExecuTorch for iOS Simulator",
4646
"inherits": ["common"],
4747
"generator": "Xcode",
4848
"cacheVariables": {
@@ -59,7 +59,7 @@
5959
},
6060
{
6161
"name": "linux",
62-
"displayName": "Build everything buildable on Linux",
62+
"displayName": "Build ExecuTorch for Linux",
6363
"inherits": ["common"],
6464
"cacheVariables": {
6565
"CMAKE_SYSTEM_NAME": "Linux",

tools/cmake/preset/linux.cmake

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@
44
# This source code is licensed under the BSD-style license found in the
55
# LICENSE file in the root directory of this source tree.
66

7-
include(${PROJECT_SOURCE_DIR}/tools/cmake/preset/pybind.cmake)
8-
include(${PROJECT_SOURCE_DIR}/tools/cmake/preset/llm.cmake)
9-
107
set_overridable_option(EXECUTORCH_BUILD_EXECUTOR_RUNNER ON)
8+
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_DATA_LOADER ON)
9+
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR ON)
10+
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_MODULE ON)
11+
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL ON)
12+
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_TENSOR ON)
13+
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_TRAINING ON)
14+
set_overridable_option(EXECUTORCH_BUILD_KERNELS_LLM ON)
15+
set_overridable_option(EXECUTORCH_BUILD_KERNELS_LLM_AOT ON)
16+
set_overridable_option(EXECUTORCH_BUILD_KERNELS_QUANTIZED ON)
17+
set_overridable_option(EXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT ON)
18+
set_overridable_option(EXECUTORCH_BUILD_XNNPACK ON)

tools/cmake/preset/macos.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
# LICENSE file in the root directory of this source tree.
66

77
include(${PROJECT_SOURCE_DIR}/tools/cmake/preset/apple_common.cmake)
8-
include(${PROJECT_SOURCE_DIR}/tools/cmake/preset/pybind.cmake)
9-
include(${PROJECT_SOURCE_DIR}/tools/cmake/preset/llm.cmake)
108

119
set_overridable_option(EXECUTORCH_BUILD_EXECUTOR_RUNNER ON)
1210
set_overridable_option(EXECUTORCH_COREML_BUILD_EXECUTOR_RUNNER ON)

0 commit comments

Comments
 (0)