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
e5fc6cb7
Commit
e5fc6cb7
authored
Dec 01, 2009
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build errors
parent
18c0d0fc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
11 deletions
+21
-11
cmake/dtrace.cmake
cmake/dtrace.cmake
+7
-1
mysys/CMakeLists.txt
mysys/CMakeLists.txt
+3
-3
plugin/semisync/CMakeLists.txt
plugin/semisync/CMakeLists.txt
+8
-4
sql/CMakeLists.txt
sql/CMakeLists.txt
+3
-3
No files found.
cmake/dtrace.cmake
View file @
e5fc6cb7
...
...
@@ -86,7 +86,13 @@ MACRO (DTRACE_INSTRUMENT target)
-P
${
CMAKE_SOURCE_DIR
}
/cmake/dtrace_prelink.cmake
WORKING_DIRECTORY
${
objdir
}
)
SET_TARGET_PROPERTIES
(
${
target
}
PROPERTIES LINK_FLAGS
"
${
outfile
}
"
)
GET_TARGET_PROPERTY
(
target_link_flags
${
target
}
LINK_FLAGS
)
IF
(
NOT target_link_flags
)
SET
(
target_link_flags
)
ENDIF
()
SET_TARGET_PROPERTIES
(
${
target
}
PROPERTIES LINK_FLAGS
"
${
target_link_flags
}
${
outfile
}
"
)
ENDIF
()
ENDIF
()
ENDMACRO
()
mysys/CMakeLists.txt
View file @
e5fc6cb7
...
...
@@ -48,10 +48,10 @@ IF(CMAKE_COMPILER_IS_GNUCC AND NOT HAVE_CXX_NEW)
ADD_DEFINITIONS
(
-DUSE_MYSYS_NEW
)
ENDIF
()
IF
(
CMAKE_
C_COMPILER MATCHES SunPro
)
IF
(
CMAKE_
SYSTEM_NAME MATCHES
"SunOS"
AND CMAKE_C_COMPILER_ID MATCHES
"SunPro"
)
# Inline assembly template for rdtsc
SET_SOURCE_FILE_PROPERTIES
(
my_rdtsc.c
PROPERTIES COMPILE_FLAGS
${
CMAKE_CURRENT_SOURCE_DIR
}
/my_timer_cycles.il
)
SET_SOURCE_FILE
S
_PROPERTIES
(
my_rdtsc.c
PROPERTIES COMPILE_FLAGS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/my_timer_cycles.il"
)
ENDIF
()
IF
(
HAVE_LARGE_PAGES
)
...
...
plugin/semisync/CMakeLists.txt
View file @
e5fc6cb7
...
...
@@ -15,11 +15,15 @@
SET
(
SEMISYNC_MASTER_SOURCES semisync.cc semisync_master.cc semisync_master_plugin.cc
SET
(
SEMISYNC_MASTER_SOURCES
semisync.cc semisync_master.cc semisync_master_plugin.cc
semisync.h semisync_master.h
)
MYSQL_ADD_PLUGIN
(
semisync_master
${
SEMISYNC_MASTER_SOURCES
}
MODULE_ONLY MODULE_OUTPUT_NAME
"semisync_master"
)
MYSQL_ADD_PLUGIN
(
semisync_master
${
SEMISYNC_MASTER_SOURCES
}
MODULE_ONLY MODULE_OUTPUT_NAME
"semisync_master"
)
SET
(
SEMISYNC_SLAVE_SOURCES semisync.cc semisync_slave.cc semisync_slave_plugin.cc semisync.h semisync_slave.h
)
MYSQL_ADD_PLUGIN
(
semisync_slave
${
SEMISYNC_MASTER_SOURCES
}
MODULE_ONLY MODULE_OUTPUT_NAME
"semisync_slave"
)
SET
(
SEMISYNC_SLAVE_SOURCES semisync.cc semisync_slave.cc
semisync_slave_plugin.cc semisync.h semisync_slave.h
)
MYSQL_ADD_PLUGIN
(
semisync_slave
${
SEMISYNC_SLAVE_SOURCES
}
MODULE_ONLY MODULE_OUTPUT_NAME
"semisync_slave"
)
sql/CMakeLists.txt
View file @
e5fc6cb7
...
...
@@ -96,8 +96,7 @@ IF(MSVC)
OUTPUT mysqld_dummy.cc
COMMAND cmake ARGS -E touch mysqld_dummy.cc
VERBATIM
)
SET
(
MYSQLD_CORE_LIBS
${
MYSQLD_CORE_LIBS
}
sql
)
SET
(
SQL_LIB sql
)
ELSE
()
ADD_EXECUTABLE
(
mysqld
${
SQL_SOURCE
}
)
DTRACE_INSTRUMENT
(
mysqld
)
...
...
@@ -129,7 +128,8 @@ ENDIF()
SET_TARGET_PROPERTIES
(
mysqld PROPERTIES ENABLE_EXPORTS TRUE
)
SET_TARGET_PROPERTIES
(
mysqld PROPERTIES OUTPUT_NAME mysqld
${
MYSQLD_EXE_SUFFIX
}
)
TARGET_LINK_LIBRARIES
(
mysqld
${
MYSQLD_STATIC_PLUGIN_LIBS
}
sql mysys dbug strings vio regex
${
MYSQLD_CORE_LIBS
}
TARGET_LINK_LIBRARIES
(
mysqld
${
MYSQLD_STATIC_PLUGIN_LIBS
}
mysys dbug strings vio regex
${
SQL_LIB
}
${
LIBWRAP_LIBRARY
}
${
ZLIB_LIBRARY
}
${
SSL_LIBRARIES
}
)
INSTALL
(
TARGETS mysqld DESTINATION bin
)
INSTALL_DEBUG_SYMBOLS
(
mysqld
)
...
...
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