Skip to content

Commit d9f8f1e

Browse files
BujSetGithub Executorch
authored andcommitted
Found minimal set of configs to enable arm zephyr toolchain preset
1 parent b3a7c70 commit d9f8f1e

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

tools/cmake/preset/zephyr.cmake

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,15 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8-
set_overridable_option(CMAKE_CXX_COMPILER_ID GNU)
98
set_overridable_option(CMAKE_TOOLCHAIN_FILE "${PROJECT_SOURCE_DIR}/examples/arm/ethos-u-setup/arm-zephyr-eabi-gcc.cmake")
10-
set_overridable_option(EXECUTORCH_ENABLE_LOGGING ON)
119
set_overridable_option(EXECUTORCH_BUILD_COREML OFF)
12-
set_overridable_option(EXECUTORCH_FLATBUFFERS_MAX_ALIGNMENT 1024)
13-
set_overridable_option(EXECUTORCH_LOG_LEVEL Info)
14-
set_overridable_option(EXECUTORCH_ENABLE_PROGRAM_VERIFICATION OFF)
1510
set_overridable_option(EXECUTORCH_ENABLE_EVENT_TRACER OFF)
16-
set_overridable_option(EXECUTORCH_OPTIMIZE_SIZE ON)
17-
set_overridable_option(EXECUTORCH_BUILD_ARM_BAREMETAL OFF)
1811
set_overridable_option(EXECUTORCH_BUILD_KERNELS_CUSTOM OFF)
1912
set_overridable_option(EXECUTORCH_BUILD_KERNELS_CUSTOM_AOT OFF)
20-
set_overridable_option(EXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT OFF)
2113
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_DATA_LOADER OFF)
2214
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR OFF)
2315
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_LLM OFF)
2416
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_MODULE OFF)
25-
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL OFF)
26-
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_TENSOR OFF)
2717
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_TRAINING OFF)
2818
set_overridable_option(EXECUTORCH_BUILD_EXTENSION_APPLE OFF)
2919
set_overridable_option(EXECUTORCH_BUILD_MPS OFF)
@@ -35,20 +25,10 @@ set_overridable_option(EXECUTORCH_BUILD_KERNELS_OPTIMIZED OFF)
3525
set_overridable_option(EXECUTORCH_BUILD_KERNELS_QUANTIZED OFF)
3626
set_overridable_option(EXECUTORCH_BUILD_DEVTOOLS OFF)
3727
set_overridable_option(EXECUTORCH_BUILD_TESTS OFF)
38-
set_overridable_option(EXECUTORCH_NNLIB_OPT OFF)
39-
set_overridable_option(EXECUTORCH_CADENCE_CPU_RUNNER OFF)
40-
set_overridable_option(EXECUTORCH_BUILD_SIZE_TEST OFF)
4128
set_overridable_option(EXECUTORCH_BUILD_XNNPACK OFF)
4229
set_overridable_option(EXECUTORCH_BUILD_VULKAN OFF)
4330
set_overridable_option(EXECUTORCH_BUILD_PORTABLE_OPS ON)
44-
set_overridable_option(EXECUTORCH_USE_DL ON)
4531
set_overridable_option(EXECUTORCH_BUILD_CADENCE OFF)
46-
set_overridable_option(EXECUTORCH_BUILD_CORTEX_M ON)
47-
set_overridable_option(EXECUTORCH_COREML_BUILD_EXECUTOR_RUNNER OFF)
4832
set_overridable_option(EXECUTORCH_BUILD_PTHREADPOOL OFF)
4933
set_overridable_option(EXECUTORCH_BUILD_CPUINFO OFF)
50-
set_overridable_option(EXECUTORCH_BUILD_EXECUTOR_RUNNER ON)
51-
set_overridable_option(EXECUTORCH_XNNPACK_SHARED_WORKSPACE ON)
52-
set_overridable_option(EXECUTORCH_XNNPACK_ENABLE_KLEIDI OFF)
53-
set_overridable_option(EXECUTORCH_XNNPACK_ENABLE_WEIGHT_CACHE OFF)
5434
set_overridable_option(EXECUTORCH_USE_CPP_CODE_COVERAGE OFF)

0 commit comments

Comments
 (0)