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)
695
695
endif ()
696
696
697
697
if (EXECUTORCH_ENABLE_EVENT_TRACER )
698
- list (APPEND _executor_runner_libs etdump flatccrt )
698
+ list (APPEND _executor_runner_libs etdump )
699
699
endif ()
700
700
701
701
if (EXECUTORCH_BUILD_COREML )
Original file line number Diff line number Diff line change @@ -81,15 +81,12 @@ set(FLATCC_RTONLY ON CACHE BOOL "")
81
81
set (FLATCC_TEST OFF CACHE BOOL "" )
82
82
set (FLATCC_REFLECTION OFF CACHE BOOL "" )
83
83
set (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 "" )
85
86
add_subdirectory (flatcc )
86
87
# Fix for "relocation R_X86_64_32 against `.rodata' can not be used when making
87
88
# a shared object; recompile with -fPIC" when building on some x86 linux
88
89
# systems.
89
90
#
90
91
# Learn more: https://github.com/pytorch/executorch/pull/2467
91
92
set_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