Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 3 additions & 1 deletion examples/arm/executor_runner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ endif()
# The arm_executor_runner executable
add_executable(arm_executor_runner)

target_sources(arm_executor_runner PRIVATE arm_executor_runner.cpp arm_perf_monitor.cpp)
target_sources(
arm_executor_runner PRIVATE arm_executor_runner.cpp arm_perf_monitor.cpp
)

# Include the target's bare-metal linker script
ethosu_eval_link_options(arm_executor_runner)
Expand Down
12 changes: 8 additions & 4 deletions extension/parallel/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,16 @@ set(EXECUTORCH_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../..)

include(${EXECUTORCH_ROOT}/build/Test.cmake)

set(_test_srcs
thread_parallel_test.cpp ../thread_parallel.cpp
)
set(_test_srcs thread_parallel_test.cpp ../thread_parallel.cpp)

et_cxx_test(
extension_parallel_test SOURCES ${_test_srcs} EXTRA_LIBS pthreadpool cpuinfo extension_threadpool
extension_parallel_test
SOURCES
${_test_srcs}
EXTRA_LIBS
pthreadpool
cpuinfo
extension_threadpool
)
target_include_directories(
extension_parallel_test
Expand Down
9 changes: 5 additions & 4 deletions extension/threadpool/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,17 @@ if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
endif()

add_library(extension_threadpool threadpool.cpp threadpool_guard.cpp cpuinfo_utils.cpp)
add_library(
extension_threadpool threadpool.cpp threadpool_guard.cpp cpuinfo_utils.cpp
)
target_link_libraries(
extension_threadpool PUBLIC executorch_no_prim_ops cpuinfo pthreadpool
)
target_include_directories(extension_threadpool PUBLIC ${EXECUTORCH_ROOT}/..)
target_include_directories(
extension_threadpool
PUBLIC
${EXECUTORCH_ROOT}/backends/xnnpack/third-party/cpuinfo/include
${EXECUTORCH_ROOT}/backends/xnnpack/third-party/pthreadpool/include
PUBLIC ${EXECUTORCH_ROOT}/backends/xnnpack/third-party/cpuinfo/include
${EXECUTORCH_ROOT}/backends/xnnpack/third-party/pthreadpool/include
)
target_compile_options(extension_threadpool PUBLIC ${_common_compile_options})

Expand Down
Loading