File tree Expand file tree Collapse file tree 3 files changed +16
-9
lines changed
examples/arm/executor_runner Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,9 @@ endif()
133
133
# The arm_executor_runner executable
134
134
add_executable (arm_executor_runner )
135
135
136
- target_sources (arm_executor_runner PRIVATE arm_executor_runner.cpp arm_perf_monitor.cpp )
136
+ target_sources (
137
+ arm_executor_runner PRIVATE arm_executor_runner.cpp arm_perf_monitor.cpp
138
+ )
137
139
138
140
# Include the target's bare-metal linker script
139
141
ethosu_eval_link_options (arm_executor_runner )
Original file line number Diff line number Diff line change @@ -21,12 +21,16 @@ set(EXECUTORCH_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../..)
21
21
22
22
include (${EXECUTORCH_ROOT} /build/Test.cmake )
23
23
24
- set (_test_srcs
25
- thread_parallel_test.cpp ../thread_parallel.cpp
26
- )
24
+ set (_test_srcs thread_parallel_test.cpp ../thread_parallel.cpp )
27
25
28
26
et_cxx_test (
29
- extension_parallel_test SOURCES ${_test_srcs} EXTRA_LIBS pthreadpool cpuinfo extension_threadpool
27
+ extension_parallel_test
28
+ SOURCES
29
+ ${_test_srcs}
30
+ EXTRA_LIBS
31
+ pthreadpool
32
+ cpuinfo
33
+ extension_threadpool
30
34
)
31
35
target_include_directories (
32
36
extension_parallel_test
Original file line number Diff line number Diff line change @@ -20,16 +20,17 @@ if(NOT CMAKE_CXX_STANDARD)
20
20
set (CMAKE_CXX_STANDARD 17 )
21
21
endif ()
22
22
23
- add_library (extension_threadpool threadpool.cpp threadpool_guard.cpp cpuinfo_utils.cpp )
23
+ add_library (
24
+ extension_threadpool threadpool.cpp threadpool_guard.cpp cpuinfo_utils.cpp
25
+ )
24
26
target_link_libraries (
25
27
extension_threadpool PUBLIC executorch_no_prim_ops cpuinfo pthreadpool
26
28
)
27
29
target_include_directories (extension_threadpool PUBLIC ${EXECUTORCH_ROOT} /.. )
28
30
target_include_directories (
29
31
extension_threadpool
30
- PUBLIC
31
- ${EXECUTORCH_ROOT} /backends/xnnpack/third-party/cpuinfo/include
32
- ${EXECUTORCH_ROOT} /backends/xnnpack/third-party/pthreadpool/include
32
+ PUBLIC ${EXECUTORCH_ROOT} /backends/xnnpack/third-party/cpuinfo/include
33
+ ${EXECUTORCH_ROOT} /backends/xnnpack/third-party/pthreadpool/include
33
34
)
34
35
target_compile_options (extension_threadpool PUBLIC ${_common_compile_options} )
35
36
You can’t perform that action at this time.
0 commit comments