Skip to content

Commit cb396fa

Browse files
kirklandsignHaiting Pu
authored andcommitted
[CMake] data_loader and runner_util use executorch_core
Differential Revision: D74216548 Pull Request resolved: #10703
1 parent d36fa24 commit cb396fa

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

extension/data_loader/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ endif()
1818

1919
list(TRANSFORM _extension_data_loader__srcs PREPEND "${EXECUTORCH_ROOT}/")
2020
add_library(extension_data_loader ${_extension_data_loader__srcs})
21-
target_link_libraries(extension_data_loader executorch)
21+
target_link_libraries(extension_data_loader executorch_core)
2222
target_include_directories(extension_data_loader PUBLIC ${EXECUTORCH_ROOT}/..)
2323
target_compile_options(extension_data_loader PUBLIC ${_common_compile_options})
2424

extension/runner_util/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ endif()
1818

1919
list(TRANSFORM _extension_runner_util__srcs PREPEND "${EXECUTORCH_ROOT}/")
2020
add_library(extension_runner_util ${_extension_runner_util__srcs})
21-
target_link_libraries(extension_runner_util executorch)
21+
target_link_libraries(extension_runner_util executorch_core)
2222
target_include_directories(extension_runner_util PUBLIC ${EXECUTORCH_ROOT}/..)
2323
target_compile_options(extension_runner_util PUBLIC ${_common_compile_options})
2424

extension/runner_util/targets.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ def define_common_targets():
2323
],
2424
exported_deps = [
2525
"//executorch/runtime/core/exec_aten:lib" + aten_suffix,
26-
"//executorch/runtime/executor:program" + aten_suffix,
26+
"//executorch/runtime/executor:program_no_prim_ops" + aten_suffix,
2727
],
2828
)

tools/cmake/cmake_deps.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ filters = [
178178
]
179179
deps = [
180180
"executorch_core",
181-
"executorch",
182181
]
183182

184183
[targets.extension_flat_tensor_schema]
@@ -223,7 +222,6 @@ filters = [
223222
".cpp$",
224223
]
225224
deps = [
226-
"executorch",
227225
"executorch_core",
228226
]
229227

0 commit comments

Comments
 (0)