File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -695,7 +695,7 @@ if(EXECUTORCH_BUILD_EXECUTOR_RUNNER)
695695 endif ()
696696
697697 if (EXECUTORCH_ENABLE_EVENT_TRACER)
698- list (APPEND _executor_runner_libs etdump flatccrt )
698+ list (APPEND _executor_runner_libs etdump)
699699 endif ()
700700
701701 if (EXECUTORCH_BUILD_COREML)
Original file line number Diff line number Diff line change @@ -81,15 +81,12 @@ set(FLATCC_RTONLY ON CACHE BOOL "")
8181set (FLATCC_TEST OFF CACHE BOOL "" )
8282set (FLATCC_REFLECTION OFF CACHE BOOL "" )
8383set (FLATCC_DEBUG_CLANG_SANITIZE OFF CACHE BOOL "" )
84- set (FLATCC_INSTALL OFF CACHE BOOL "" )
84+ set (FLATCC_INSTALL ON CACHE BOOL "" )
85+ set (FLATCC_INSTALL_LIB "${CMAKE_CURRENT_BINARY_DIR} /flatcc/lib" CACHE STRING "" )
8586add_subdirectory (flatcc)
8687# Fix for "relocation R_X86_64_32 against `.rodata' can not be used when making
8788# a shared object; recompile with -fPIC" when building on some x86 linux
8889# systems.
8990#
9091# Learn more: https://github.com/pytorch/executorch/pull/2467
9192set_property (TARGET flatccrt PROPERTY POSITION_INDEPENDENT_CODE ON )
92- install (
93- TARGETS flatccrt
94- DESTINATION ${CMAKE_BINARY_DIR} /lib
95- )
You can’t perform that action at this time.
0 commit comments