Skip to content

Commit d999dc0

Browse files
committed
Update
[ghstack-poisoned]
1 parent d0e4350 commit d999dc0

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
@@ -720,7 +720,7 @@ install(
720720

721721
if(EXECUTORCH_BUILD_EXECUTOR_RUNNER)
722722
# Baseline libraries that executor_runner will link against.
723-
set(_executor_runner_libs executorch gflags)
723+
set(_executor_runner_libs executorch gflags executorch_backends)
724724

725725
if(EXECUTORCH_BUILD_KERNELS_OPTIMIZED)
726726
list(APPEND _executor_runner_libs optimized_native_cpu_ops_lib)
@@ -739,18 +739,10 @@ if(EXECUTORCH_BUILD_EXECUTOR_RUNNER)
739739
list(APPEND _executor_runner_libs $<LINK_LIBRARY:WHOLE_ARCHIVE,custom_ops>)
740740
endif()
741741

742-
if(EXECUTORCH_BUILD_XNNPACK)
743-
list(APPEND _executor_runner_libs xnnpack_backend)
744-
endif()
745-
746742
if(EXECUTORCH_ENABLE_EVENT_TRACER)
747743
list(APPEND _executor_runner_libs etdump flatccrt)
748744
endif()
749745

750-
if(EXECUTORCH_BUILD_COREML AND APPLE)
751-
list(APPEND _executor_runner_libs coremldelegate)
752-
endif()
753-
754746
add_executable(executor_runner ${_executor_runner__srcs})
755747
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
756748
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)