Skip to content

Commit c8783b9

Browse files
committed
Update
[ghstack-poisoned]
2 parents b20aa65 + 317799f commit c8783b9

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
@@ -799,7 +799,7 @@ install(
799799

800800
if(EXECUTORCH_BUILD_EXECUTOR_RUNNER)
801801
# Baseline libraries that executor_runner will link against.
802-
set(_executor_runner_libs executorch gflags)
802+
set(_executor_runner_libs executorch gflags executorch_backends)
803803

804804
if(EXECUTORCH_BUILD_KERNELS_OPTIMIZED)
805805
list(APPEND _executor_runner_libs optimized_native_cpu_ops_lib)
@@ -818,18 +818,10 @@ if(EXECUTORCH_BUILD_EXECUTOR_RUNNER)
818818
list(APPEND _executor_runner_libs $<LINK_LIBRARY:WHOLE_ARCHIVE,custom_ops>)
819819
endif()
820820

821-
if(EXECUTORCH_BUILD_XNNPACK)
822-
list(APPEND _executor_runner_libs xnnpack_backend)
823-
endif()
824-
825821
if(EXECUTORCH_ENABLE_EVENT_TRACER)
826822
list(APPEND _executor_runner_libs etdump flatccrt)
827823
endif()
828824

829-
if(EXECUTORCH_BUILD_COREML AND APPLE)
830-
list(APPEND _executor_runner_libs coremldelegate)
831-
endif()
832-
833825
add_executable(executor_runner ${_executor_runner__srcs})
834826
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
835827
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)