add_subdirectory(tools/nnapi_test)
add_subdirectory(tools/tflite_benchmark)
- if(BUILD_NN_RUNTIME)
- set(LIB_RUNTIME runtime)
- add_subdirectory(runtimes/nn)
- endif(BUILD_NN_RUNTIME)
+ add_subdirectory(runtimes)
else("${TARGET_OS}" STREQUAL "android") # General case (non-android build)
add_library(acl_foundation ${ACL_UTIL_SRCS})
target_include_directories(acl_foundation PUBLIC "${ACL_BASE}")
target_include_directories(acl_foundation PUBLIC "${ACL_BASE}/include")
- target_link_libraries(acl_foundation dl pthread)
+ target_link_libraries(acl_foundation dl ${LIB_PTHREAD})
endif(BUILD_ACL_STATIC_LIB)
###
target_include_directories(arm_compute_core PUBLIC "${ACL_BASE}")
target_include_directories(arm_compute_core PUBLIC "${ACL_BASE}/include")
target_include_directories(arm_compute_core PUBLIC "${ACL_BASE}/arm_compute/core/NEON/kernels/assembly")
-target_link_libraries(arm_compute_core dl pthread)
+target_link_libraries(arm_compute_core dl ${LIB_PTHREAD})
install(TARGETS arm_compute_core DESTINATION lib)
list(APPEND ACL_RUNTIME_SRCS ${ACL_RUNTIME_COMMON_SRCS})
if(NOT TARGET arm_compute_core)
add_library(arm_compute_core INTERFACE)
target_include_directories(arm_compute_core INTERFACE ${INCLUDE_DIR})
- target_link_libraries(arm_compute_core INTERFACE dl pthread)
+ target_link_libraries(arm_compute_core INTERFACE dl ${LIB_PTHREAD})
target_link_libraries(arm_compute_core INTERFACE ${CORE_LIBRARY})
if (${TARGET_OS} STREQUAL "tizen")
target_link_libraries(arm_compute_core INTERFACE OpenCL)
target_link_libraries(tensorflow-core INTERFACE -Wl,--whole-archive "${TENSORFLOW_GEN_DIR}/lib/libtensorflow-core.a" -Wl,--no-whole-archive)
target_link_libraries(tensorflow-core INTERFACE "${TENSORFLOW_GEN_DIR}/protobuf/lib/libprotobuf.a")
target_link_libraries(tensorflow-core INTERFACE "${TENSORFLOW_DOWNLOADS_DIR}/nsync/builds/${NSYNC_ARCH}.linux.c++11/libnsync.a")
- target_link_libraries(tensorflow-core INTERFACE pthread dl)
+ target_link_libraries(tensorflow-core INTERFACE ${LIB_PTHREAD} dl)
message(STATUS "Found Tensorflow (lib: ${TENSORFLOW_GEN_DIR}/lib/libtensorflow-core.a")
endif()