aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Hughes <robert.hughes@arm.com>2019-11-15 09:04:17 +0000
committerDerek Lamberti <derek.lamberti@arm.com>2019-11-15 13:10:56 +0000
commit721b82f257afae0170a60ba355efceef6cff2355 (patch)
tree8beb627dee8979e284210024c1bd329821174325 /src
parentdb1a2834b4e9d74ed538943634212eccbd4a789b (diff)
downloadarmnn-721b82f257afae0170a60ba355efceef6cff2355.tar.gz
Print CMake messages on stdout rather than stderr
The default version of message("...") print to stderr, which is inappropriate for informational messages such as the ones we are printing in these cases. Using message(STATUS "...") makes these messages appear on stdout instead which is more appropriate. Change-Id: I02f41e6b4948e6938566f06d7164444bd5b8199e Signed-off-by: Robert Hughes <robert.hughes@arm.com>
Diffstat (limited to 'src')
-rw-r--r--src/backends/backends.cmake4
-rw-r--r--src/backends/cl/backend.cmake2
-rw-r--r--src/backends/neon/backend.cmake2
-rw-r--r--src/backends/reference/backend.cmake2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/backends/backends.cmake b/src/backends/backends.cmake
index 473de48030..aca3b63ca9 100644
--- a/src/backends/backends.cmake
+++ b/src/backends/backends.cmake
@@ -10,13 +10,13 @@ file(GLOB backendIncludes ${PROJECT_SOURCE_DIR}/src/backends/*/backend.cmake)
# 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()
diff --git a/src/backends/cl/backend.cmake b/src/backends/cl/backend.cmake
index eb62147335..9484b9476d 100644
--- a/src/backends/cl/backend.cmake
+++ b/src/backends/cl/backend.cmake
@@ -10,5 +10,5 @@ if(ARMCOMPUTECL)
list(APPEND armnnLibraries armnnClBackendWorkloads)
list(APPEND armnnUnitTestLibraries armnnClBackendUnitTests)
else()
- message("CL backend is disabled")
+ message(STATUS "CL backend is disabled")
endif()
diff --git a/src/backends/neon/backend.cmake b/src/backends/neon/backend.cmake
index c8ff4880b0..801ba7c1f3 100644
--- a/src/backends/neon/backend.cmake
+++ b/src/backends/neon/backend.cmake
@@ -10,5 +10,5 @@ if(ARMCOMPUTENEON)
list(APPEND armnnLibraries armnnNeonBackendWorkloads)
list(APPEND armnnUnitTestLibraries armnnNeonBackendUnitTests)
else()
- message("NEON backend is disabled")
+ message(STATUS "NEON backend is disabled")
endif()
diff --git a/src/backends/reference/backend.cmake b/src/backends/reference/backend.cmake
index 01a4ee132b..e8654d8741 100644
--- a/src/backends/reference/backend.cmake
+++ b/src/backends/reference/backend.cmake
@@ -10,5 +10,5 @@ if(ARMNNREF)
list(APPEND armnnLibraries armnnRefBackendWorkloads)
list(APPEND armnnUnitTestLibraries armnnRefBackendUnitTests)
else()
- message("Reference backend is disabled")
+ message(STATUS "Reference backend is disabled")
endif()