@@ -13,8 +13,6 @@ set_overridable_option(EXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT ON)
1313set_overridable_option(EXECUTORCH_ENABLE_LOGGING ON )
1414set_overridable_option(EXECUTORCH_LOG_LEVEL Info)
1515set_overridable_option(EXECUTORCH_BUILD_XNNPACK ON )
16- set_overridable_option(EXECUTORCH_BUILD_EXTENSION_LLM ON )
17- set_overridable_option(EXECUTORCH_BUILD_EXTENSION_LLM_RUNNER ON )
1816set_overridable_option(EXECUTORCH_BUILD_EXTENSION_TENSOR ON )
1917set_overridable_option(EXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL ON )
2018set_overridable_option(EXECUTORCH_BUILD_KERNELS_LLM ON )
@@ -24,12 +22,18 @@ set_overridable_option(EXECUTORCH_BUILD_EXTENSION_DATA_LOADER ON)
2422set_overridable_option(EXECUTORCH_BUILD_KERNELS_OPTIMIZED ON )
2523set_overridable_option(EXECUTORCH_BUILD_EXTENSION_MODULE ON )
2624
25+ # TODO(larryliu0820): Temporarily disable building llm_runner for Windows
26+ # wheel due to the issue of tokenizer file path length limitation.
2727if (CMAKE_SYSTEM_NAME STREQUAL "Darwin" )
2828 set_overridable_option(EXECUTORCH_BUILD_COREML ON )
2929 set_overridable_option(EXECUTORCH_BUILD_EXTENSION_TRAINING ON )
30+ set_overridable_option(EXECUTORCH_BUILD_EXTENSION_LLM_RUNNER ON )
31+ set_overridable_option(EXECUTORCH_BUILD_EXTENSION_LLM ON )
3032elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" )
3133 set_overridable_option(EXECUTORCH_BUILD_COREML ON )
3234 set_overridable_option(EXECUTORCH_BUILD_EXTENSION_TRAINING ON )
35+ set_overridable_option(EXECUTORCH_BUILD_EXTENSION_LLM_RUNNER ON )
36+ set_overridable_option(EXECUTORCH_BUILD_EXTENSION_LLM ON )
3337elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows" OR CMAKE_SYSTEM_NAME STREQUAL
3438 "WIN32"
3539)
0 commit comments