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
ecd65884
Commit
ecd65884
authored
May 19, 2021
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show pmem detection in cmake
parent
b2340cdd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
cmake/FindPMEM.cmake
cmake/FindPMEM.cmake
+9
-0
storage/innobase/CMakeLists.txt
storage/innobase/CMakeLists.txt
+1
-1
No files found.
cmake/FindPMEM.cmake
View file @
ecd65884
if
(
PMEM_LIBRARIES
)
set
(
PMEM_FOUND TRUE
)
return
()
endif
()
if
(
DEFINED PMEM_LIBRARIES
)
set
(
PMEM_FOUND FALSE
)
return
()
endif
()
find_path
(
PMEM_INCLUDE_DIR NAMES libpmem.h
)
find_path
(
PMEM_INCLUDE_DIR NAMES libpmem.h
)
find_library
(
PMEM_LIBRARIES NAMES pmem
)
find_library
(
PMEM_LIBRARIES NAMES pmem
)
...
...
storage/innobase/CMakeLists.txt
View file @
ecd65884
...
@@ -337,7 +337,7 @@ SET(INNOBASE_SOURCES
...
@@ -337,7 +337,7 @@ SET(INNOBASE_SOURCES
ut/ut0wqueue.cc
)
ut/ut0wqueue.cc
)
OPTION
(
WITH_PMEM
"Support redo log in persistent memory"
OFF
)
OPTION
(
WITH_PMEM
"Support redo log in persistent memory"
OFF
)
FIND_PACKAGE
(
PMEM
QUIET
)
FIND_PACKAGE
(
PMEM
)
IF
(
PMEM_FOUND
)
IF
(
PMEM_FOUND
)
INCLUDE_DIRECTORIES
(
${
PMEM_INCLUDES
}
)
INCLUDE_DIRECTORIES
(
${
PMEM_INCLUDES
}
)
ADD_COMPILE_FLAGS
(
log/log0log.cc COMPILE_FLAGS
"-DHAVE_PMEM"
)
ADD_COMPILE_FLAGS
(
log/log0log.cc COMPILE_FLAGS
"-DHAVE_PMEM"
)
...
...
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