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
efc93eb3
Commit
efc93eb3
authored
Sep 07, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos in cmake -DWITH_ATOMIC_OPS=xxx
parent
0835f574
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
configure.cmake
configure.cmake
+5
-5
No files found.
configure.cmake
View file @
efc93eb3
...
...
@@ -960,7 +960,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
IF
(
WITH_ATOMIC_OPS STREQUAL
"up"
)
SET
(
MY_ATOMIC_MODE_DUMMY 1 CACHE BOOL
"Assume single-CPU mode, no concurrency"
)
ELSEIF
(
WITH_ATOMIC_OPS STREQUAL
"rwlocks"
)
SET
(
MY_ATOMIC_MODE_RWLOCK 1 CACHE BOOL
"Use pthread rwlocks for atomic ops"
)
SET
(
MY_ATOMIC_MODE_RWLOCK
S
1 CACHE BOOL
"Use pthread rwlocks for atomic ops"
)
ELSEIF
(
WITH_ATOMIC_OPS STREQUAL
"smp"
)
ELSEIF
(
NOT WITH_ATOMIC_OPS
)
CHECK_CXX_SOURCE_COMPILES
(
"
...
...
@@ -992,12 +992,12 @@ ELSE()
ENDIF
()
ENDIF
()
SET
(
WITH_ATOMIC_
LOCKS
"
${
WITH_ATOMIC_LOCK
S
}
"
CACHE STRING
"Implement atomic operations using pthread rwlocks
or atomic CPU
instructions for multi-processor
or uniprocessor
SET
(
WITH_ATOMIC_
OPS
"
${
WITH_ATOMIC_OP
S
}
"
CACHE STRING
"Implement atomic operations using pthread rwlocks (rwlocks);
or atomic CPU
instructions for multi-processor
(smp) or uniprocessor (up)
configuration. By default gcc built-in sync functions are used,
if available and 'smp' configuration otherwise."
)
MARK_AS_ADVANCED
(
WITH_ATOMIC_
LOCK
S MY_ATOMIC_MODE_RWLOCK MY_ATOMIC_MODE_DUMMY
)
MARK_AS_ADVANCED
(
WITH_ATOMIC_
OP
S MY_ATOMIC_MODE_RWLOCK MY_ATOMIC_MODE_DUMMY
)
IF
(
WITH_VALGRIND
)
SET
(
HAVE_valgrind 1
)
...
...
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