diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-05-29 16:49:48 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-06-03 23:25:43 +0200 |
commit | cac41001864ca503a7812b7f2a3b312435fb4ec4 (patch) | |
tree | a4907e4ab6daf6b9a08afb880049acfe6e1a3fee /cmake | |
parent | eb76698300c8611eddc2756aa5dbc57cdae2e21d (diff) | |
download | mariadb-git-cac41001864ca503a7812b7f2a3b312435fb4ec4.tar.gz |
cmake: shut up repeated NUMA status messages
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/numa.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake/numa.cmake b/cmake/numa.cmake index cdc31229da8..d24318634c3 100644 --- a/cmake/numa.cmake +++ b/cmake/numa.cmake @@ -3,7 +3,7 @@ MACRO (MYSQL_CHECK_NUMA) STRING(TOLOWER "${WITH_NUMA}" WITH_NUMA_LOWERCASE) IF(NOT WITH_NUMA) - MESSAGE(STATUS "WITH_NUMA=OFF: NUMA memory allocation policy disabled") + MESSAGE_ONCE(numa "WITH_NUMA=OFF: NUMA memory allocation policy disabled") ELSEIF(NOT WITH_NUMA_LOWERCASE STREQUAL "auto" AND NOT WITH_NUMA_LOWERCASE STREQUAL "on") MESSAGE(FATAL_ERROR "Wrong value for WITH_NUMA") @@ -34,11 +34,11 @@ MACRO (MYSQL_CHECK_NUMA) ENDIF() IF(WITH_NUMA_LOWERCASE STREQUAL "auto" AND HAVE_LIBNUMA) - MESSAGE(STATUS "WITH_NUMA=AUTO: NUMA memory allocation policy enabled") + MESSAGE_ONCE(numa "WITH_NUMA=AUTO: NUMA memory allocation policy enabled") ELSEIF(WITH_NUMA_LOWERCASE STREQUAL "auto" AND NOT HAVE_LIBNUMA) - MESSAGE(STATUS "WITH_NUMA=AUTO: NUMA memory allocation policy disabled") + MESSAGE_ONCE(numa "WITH_NUMA=AUTO: NUMA memory allocation policy disabled") ELSEIF(HAVE_LIBNUMA) - MESSAGE(STATUS "WITH_NUMA=ON: NUMA memory allocation policy enabled") + MESSAGE_ONCE(numa "WITH_NUMA=ON: NUMA memory allocation policy enabled") ELSE() # Forget it in cache, abort the build. UNSET(WITH_NUMA CACHE) |