# object libs armnn to include in the build
include(src/backends/backends.cmake)
foreach(lib ${armnnLibraries})
- message("Adding object library dependency to armnn: ${lib}")
+ message(STATUS "Adding object library dependency to armnn: ${lib}")
list(APPEND armnn_sources $<TARGET_OBJECTS:${lib}>)
endforeach()
endif()
foreach(lib ${armnnUnitTestLibraries})
- message("Adding object library dependency to UnitTests: ${lib}")
+ message(STATUS "Adding object library dependency to UnitTests: ${lib}")
list(APPEND unittest_sources $<TARGET_OBJECTS:${lib}>)
endforeach()
if(VALGRIND_FOUND)
if(HEAP_PROFILING OR LEAK_CHECKING)
- message("Valgrind is disabled for heap profiling and leak checking builds.")
+ message(STATUS "Valgrind is disabled for heap profiling and leak checking builds.")
else()
# Valgrind works with gperftools version number <= 2.4
target_compile_definitions(UnitTests PRIVATE "WITH_VALGRIND=1")
add_definitions("-DARMNN_LEAK_CHECKING_ENABLED=1")
endif()
else()
- message("Heap profiling and leak checking are disabled for referencetests")
+ message(STATUS "Heap profiling and leak checking are disabled for referencetests")
endif()
else()
# Valgrind only works with gperftools version number <= 2.4
# prefer to include common code first
foreach(includeFile ${commonIncludes})
- message("Including backend common library into the build: ${includeFile}")
+ message(STATUS "Including backend common library into the build: ${includeFile}")
include(${includeFile})
endforeach()
# now backends can depend on common code included first
foreach(includeFile ${backendIncludes})
- message("Including backend into the build: ${includeFile}")
+ message(STATUS "Including backend into the build: ${includeFile}")
include(${includeFile})
endforeach()
list(APPEND armnnLibraries armnnClBackendWorkloads)
list(APPEND armnnUnitTestLibraries armnnClBackendUnitTests)
else()
- message("CL backend is disabled")
+ message(STATUS "CL backend is disabled")
endif()
list(APPEND armnnLibraries armnnNeonBackendWorkloads)
list(APPEND armnnUnitTestLibraries armnnNeonBackendUnitTests)
else()
- message("NEON backend is disabled")
+ message(STATUS "NEON backend is disabled")
endif()
list(APPEND armnnLibraries armnnRefBackendWorkloads)
list(APPEND armnnUnitTestLibraries armnnRefBackendUnitTests)
else()
- message("Reference backend is disabled")
+ message(STATUS "Reference backend is disabled")
endif()