Skip to content

Commit a412347

Browse files
committed
updates
1 parent eaa9742 commit a412347

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
@@ -836,5 +836,14 @@ if(EXECUTORCH_BUILD_VULKAN)
836836
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/backends/vulkan)
837837
endif()
838838

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

0 commit comments

Comments
 (0)