Skip to content

Commit 5b921fd

Browse files
committed
updates
1 parent f25f7fe commit 5b921fd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,5 +833,14 @@ if(EXECUTORCH_BUILD_VULKAN)
833833
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/backends/vulkan)
834834
endif()
835835

836+
# if(EXECUTORCH_BUILD_TORCHAO)
837+
# # find_package(Torch CONFIG REQUIRED HINT ${CMAKE_PREFIX_PATH}/torch/share/cmake/Torch)
838+
# # set(executorch_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../lib/cmake/ExecuTorch)
839+
# add_compile_options("-frtti")
840+
# set(Torch_DIR /opt/miniconda3/envs/et_env/lib/python3.10/site-packages/torch/share/cmake/Torch)
841+
# set(TORCHAO_BUILD_EXECUTORCH_OPS ON)
842+
# add_subdirectory(third-party/ao/torchao/experimental)
843+
# endif()
844+
836845
# Print all summary
837846
executorch_print_configuration_summary()

0 commit comments

Comments
 (0)