File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ get_filename_component(
2424)
2525
2626# We only download QNN SDK when we build pip wheel for ExecuTorch.
27- if (EXECUTORCH_BUILD_WHEEL_DEV_USE_ONLY)
27+ # Please don't change this code unless you know what you are doing.
28+ if (EXECUTORCH_BUILD_WHEEL_DO_NOT_USE)
2829 set (_qnn_default_sdk_dir "${CMAKE_CURRENT_BINARY_DIR} /sdk/qnn" )
2930
3031 if (EXISTS "${_qnn_default_sdk_dir} " AND EXISTS "${_qnn_default_sdk_dir} /lib" )
Original file line number Diff line number Diff line change @@ -676,8 +676,6 @@ def run(self): # noqa C901
676676 # like `TorchConfig.cmake` that are provided by pip packages.
677677 f"-DCMAKE_PREFIX_PATH={ cmake_prefix_path } " ,
678678 f"-DCMAKE_BUILD_TYPE={ cmake_build_type } " ,
679- # Turn on the wheel building option for downstream CMakeLists.txt.
680- f"-DEXECUTORCH_BUILD_WHEEL_DEV_USE_ONLY=ON" ,
681679 ]
682680
683681 # Use ClangCL on Windows.
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ define_overridable_option(
289289 FALSE
290290)
291291define_overridable_option(
292- EXECUTORCH_BUILD_WHEEL_DEV_USE_ONLY
292+ EXECUTORCH_BUILD_WHEEL_DO_NOT_USE
293293 "On if in the wheel building process. Should only be used to guard code that is only needed for building the wheel."
294294 BOOL
295295 FALSE
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ set_overridable_option(EXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR ON)
2222set_overridable_option(EXECUTORCH_BUILD_EXTENSION_DATA_LOADER ON )
2323set_overridable_option(EXECUTORCH_BUILD_EXTENSION_MODULE ON )
2424set_overridable_option(EXECUTORCH_BUILD_EXTENSION_NAMED_DATA_MAP ON )
25+ set_overridable_option(EXECUTORCH_BUILD_WHEEL_DO_NOT_USE ON )
2526
2627# TODO(larryliu0820): Temporarily disable building llm_runner for Windows wheel
2728# due to the issue of tokenizer file path length limitation.
You can’t perform that action at this time.
0 commit comments