Skip to content

Commit 317799f

Browse files
committed
Update
[ghstack-poisoned]
2 parents 08760b1 + d999dc0 commit 317799f

File tree

2 files changed

+1
-28
lines changed

2 files changed

+1
-28
lines changed

CMakeLists.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ install(
738738

739739
if(EXECUTORCH_BUILD_EXECUTOR_RUNNER)
740740
# Baseline libraries that executor_runner will link against.
741-
set(_executor_runner_libs executorch gflags)
741+
set(_executor_runner_libs executorch gflags executorch_backends)
742742

743743
if(EXECUTORCH_BUILD_KERNELS_OPTIMIZED)
744744
list(APPEND _executor_runner_libs optimized_native_cpu_ops_lib)
@@ -757,18 +757,10 @@ if(EXECUTORCH_BUILD_EXECUTOR_RUNNER)
757757
list(APPEND _executor_runner_libs $<LINK_LIBRARY:WHOLE_ARCHIVE,custom_ops>)
758758
endif()
759759

760-
if(EXECUTORCH_BUILD_XNNPACK)
761-
list(APPEND _executor_runner_libs xnnpack_backend)
762-
endif()
763-
764760
if(EXECUTORCH_ENABLE_EVENT_TRACER)
765761
list(APPEND _executor_runner_libs etdump flatccrt)
766762
endif()
767763

768-
if(EXECUTORCH_BUILD_COREML AND APPLE)
769-
list(APPEND _executor_runner_libs coremldelegate)
770-
endif()
771-
772764
add_executable(executor_runner ${_executor_runner__srcs})
773765
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
774766
target_link_options_gc_sections(executor_runner)

backends/vulkan/CMakeLists.txt

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -117,25 +117,6 @@ target_link_options_shared_lib(vulkan_backend)
117117

118118
set_property(TARGET vulkan_backend PROPERTY CXX_STANDARD 17)
119119

120-
# Executor Runner
121-
122-
if(NOT CMAKE_TOOLCHAIN_FILE MATCHES ".*(iOS|ios\.toolchain)\.cmake$")
123-
set(VULKAN_RUNNER_SRCS ${_executor_runner__srcs})
124-
list(TRANSFORM VULKAN_RUNNER_SRCS PREPEND "${EXECUTORCH_ROOT}/")
125-
126-
add_executable(vulkan_executor_runner ${VULKAN_RUNNER_SRCS})
127-
target_link_libraries(
128-
vulkan_executor_runner
129-
gflags
130-
executorch
131-
executorch_extensions
132-
executorch_kernels
133-
vulkan_schema
134-
vulkan_backend
135-
)
136-
target_compile_options(vulkan_executor_runner PUBLIC ${VULKAN_CXX_FLAGS})
137-
endif()
138-
139120
# Test targets
140121

141122
install(

0 commit comments

Comments
 (0)