Skip to content

[CMake] data_loader and runner_util use executorch_core #10703

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extension/data_loader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ endif()

list(TRANSFORM _extension_data_loader__srcs PREPEND "${EXECUTORCH_ROOT}/")
add_library(extension_data_loader ${_extension_data_loader__srcs})
target_link_libraries(extension_data_loader executorch)
target_link_libraries(extension_data_loader executorch_core)
target_include_directories(extension_data_loader PUBLIC ${EXECUTORCH_ROOT}/..)
target_compile_options(extension_data_loader PUBLIC ${_common_compile_options})

Expand Down
2 changes: 1 addition & 1 deletion extension/runner_util/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ endif()

list(TRANSFORM _extension_runner_util__srcs PREPEND "${EXECUTORCH_ROOT}/")
add_library(extension_runner_util ${_extension_runner_util__srcs})
target_link_libraries(extension_runner_util executorch)
target_link_libraries(extension_runner_util executorch_core)
target_include_directories(extension_runner_util PUBLIC ${EXECUTORCH_ROOT}/..)
target_compile_options(extension_runner_util PUBLIC ${_common_compile_options})

Expand Down
2 changes: 0 additions & 2 deletions tools/cmake/cmake_deps.toml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ filters = [
]
deps = [
"executorch_core",
"executorch",
]

[targets.extension_flat_tensor_schema]
Expand Down Expand Up @@ -223,7 +222,6 @@ filters = [
".cpp$",
]
deps = [
"executorch",
"executorch_core",
]

Expand Down
Loading