Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
cac41001
Commit
cac41001
authored
May 29, 2018
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: shut up repeated NUMA status messages
parent
eb766983
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cmake/numa.cmake
cmake/numa.cmake
+4
-4
No files found.
cmake/numa.cmake
View file @
cac41001
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment