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
28a8d40c
Commit
28a8d40c
authored
Sep 23, 2013
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tokudb made compilig.
parent
b0d98371
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
storage/tokudb/CMakeLists.txt
storage/tokudb/CMakeLists.txt
+1
-1
storage/tokudb/ft-index/ft/CMakeLists.txt
storage/tokudb/ft-index/ft/CMakeLists.txt
+2
-2
storage/tokudb/ft-index/src/CMakeLists.txt
storage/tokudb/ft-index/src/CMakeLists.txt
+1
-1
storage/tokudb/ft-index/src/tests/CMakeLists.txt
storage/tokudb/ft-index/src/tests/CMakeLists.txt
+1
-1
storage/tokudb/ft-index/utils/CMakeLists.txt
storage/tokudb/ft-index/utils/CMakeLists.txt
+1
-1
No files found.
storage/tokudb/CMakeLists.txt
View file @
28a8d40c
...
...
@@ -46,7 +46,7 @@ SET(TOKUDB_PLUGIN_DYNAMIC "ha_tokudb")
SET
(
TOKUDB_SOURCES ha_tokudb.cc
)
MYSQL_ADD_PLUGIN
(
tokudb
${
TOKUDB_SOURCES
}
STORAGE_ENGINE MODULE_ONLY
COMPONENT
"tokudb-engine"
LINK_LIBRARIES tokufractaltree_static tokuportability_static
z
stdc++
)
LINK_LIBRARIES tokufractaltree_static tokuportability_static
${
ZLIB_LIBRARY
}
stdc++
)
SET
(
CMAKE_MODULE_LINKER_FLAGS_RELEASE
"
${
CMAKE_MODULE_LINKER_FLAGS_RELEASE
}
-flto -fuse-linker-plugin"
)
IF
(
INSTALL_SYSCONF2DIR
)
...
...
storage/tokudb/ft-index/ft/CMakeLists.txt
View file @
28a8d40c
...
...
@@ -87,14 +87,14 @@ add_dependencies(ft_static install_tdb_h generate_log_code build_lzma)
## link with lzma (which should be static) and link dependers with zlib
target_link_libraries
(
ft LINK_PRIVATE util_static lzma
${
LIBTOKUPORTABILITY
}
)
target_link_libraries
(
ft LINK_PUBLIC
z
)
target_link_libraries
(
ft LINK_PUBLIC
${
ZLIB_LIBRARY
}
)
target_link_libraries
(
ft_static LINK_PRIVATE lzma
)
## build the bins in this directory
foreach
(
tool tokuftdump tdb_logprint tdb-recover ftverify
)
add_executable
(
${
tool
}
${
tool
}
.cc
)
add_dependencies
(
${
tool
}
install_tdb_h
)
target_link_libraries
(
${
tool
}
ft_static util_static
z
lzma
${
LIBTOKUPORTABILITY
}
_static
${
CMAKE_THREAD_LIBS_INIT
}
${
EXTRA_SYSTEM_LIBS
}
)
target_link_libraries
(
${
tool
}
ft_static util_static
${
ZLIB_LIBRARY
}
lzma
${
LIBTOKUPORTABILITY
}
_static
${
CMAKE_THREAD_LIBS_INIT
}
${
EXTRA_SYSTEM_LIBS
}
)
add_space_separated_property
(
TARGET
${
tool
}
COMPILE_FLAGS -fvisibility=hidden
)
endforeach
(
tool
)
...
...
storage/tokudb/ft-index/src/CMakeLists.txt
View file @
28a8d40c
...
...
@@ -19,7 +19,7 @@ set(tokudb_srcs
add_library
(
${
LIBTOKUDB
}
SHARED
${
tokudb_srcs
}
)
add_dependencies
(
${
LIBTOKUDB
}
install_tdb_h generate_log_code
)
target_link_libraries
(
${
LIBTOKUDB
}
LINK_PRIVATE locktree_static ft_static util_static lzma
${
LIBTOKUPORTABILITY
}
)
target_link_libraries
(
${
LIBTOKUDB
}
LINK_PUBLIC
z
)
target_link_libraries
(
${
LIBTOKUDB
}
LINK_PUBLIC
${
ZLIB_LIBRARY
}
)
## make the static library
add_library
(
tokudb_static_conv STATIC
${
tokudb_srcs
}
)
...
...
storage/tokudb/ft-index/src/tests/CMakeLists.txt
View file @
28a8d40c
...
...
@@ -360,7 +360,7 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
## #5138 only reproduces when using the static library.
list
(
REMOVE_ITEM tdb_bins test-5138.tdb
)
add_executable
(
test-5138.tdb test-5138.cc
)
target_link_libraries
(
test-5138.tdb
${
LIBTOKUDB
}
_static
z
${
LIBTOKUPORTABILITY
}
_static
${
CMAKE_THREAD_LIBS_INIT
}
${
EXTRA_SYSTEM_LIBS
}
)
target_link_libraries
(
test-5138.tdb
${
LIBTOKUDB
}
_static
${
ZLIB_LIBRARY
}
${
LIBTOKUPORTABILITY
}
_static
${
CMAKE_THREAD_LIBS_INIT
}
${
EXTRA_SYSTEM_LIBS
}
)
set_property
(
TARGET test-5138.tdb APPEND PROPERTY
COMPILE_DEFINITIONS
"USE_TDB;IS_TDB=1;TOKUDB=1"
)
add_space_separated_property
(
TARGET test-5138.tdb COMPILE_FLAGS -fvisibility=hidden
)
...
...
storage/tokudb/ft-index/utils/CMakeLists.txt
View file @
28a8d40c
...
...
@@ -5,7 +5,7 @@ foreach(util ${utils})
add_executable
(
${
util
}
${
util
}
.cc
)
set_target_properties
(
${
util
}
PROPERTIES
COMPILE_DEFINITIONS
"IS_TDB=1;USE_TDB=1;TDB_IS_STATIC=1"
)
target_link_libraries
(
${
util
}
${
LIBTOKUDB
}
_static ft_static
z
lzma
${
LIBTOKUPORTABILITY
}
_static
${
CMAKE_THREAD_LIBS_INIT
}
${
EXTRA_SYSTEM_LIBS
}
)
target_link_libraries
(
${
util
}
${
LIBTOKUDB
}
_static ft_static
${
ZLIB_LIBRARY
}
lzma
${
LIBTOKUPORTABILITY
}
_static
${
CMAKE_THREAD_LIBS_INIT
}
${
EXTRA_SYSTEM_LIBS
}
)
add_space_separated_property
(
TARGET
${
util
}
COMPILE_FLAGS -fvisibility=hidden
)
...
...
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