mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-302 lp:988204 MariaDB 5.5.23 binaries don't use libaio
simplify debian/dist/*/rules slightly. move hard-coded config value to cmake files. (the actual fix is -DBUILD_CONFIG=mysql_release)
This commit is contained in:
parent
b14d3adad9
commit
38c4ef63b8
4 changed files with 21 additions and 44 deletions
|
@ -131,6 +131,10 @@ IF (NOT CPACK_GENERATOR)
|
||||||
ENDIF(WIN32)
|
ENDIF(WIN32)
|
||||||
ENDIF(NOT CPACK_GENERATOR)
|
ENDIF(NOT CPACK_GENERATOR)
|
||||||
|
|
||||||
|
IF(DEB)
|
||||||
|
SET(INSTALL_LAYOUT "DEB")
|
||||||
|
ENDIF(DEB)
|
||||||
|
|
||||||
INCLUDE(mysql_version)
|
INCLUDE(mysql_version)
|
||||||
INCLUDE(cpack_rpm)
|
INCLUDE(cpack_rpm)
|
||||||
INCLUDE(cpack_source_ignore_files)
|
INCLUDE(cpack_source_ignore_files)
|
||||||
|
|
|
@ -94,8 +94,19 @@ IF(FEATURE_SET)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
OPTION(ENABLED_LOCAL_INFILE "" ON)
|
OPTION(ENABLED_LOCAL_INFILE "" ON)
|
||||||
SET(WITH_SSL bundled CACHE STRING "")
|
IF(RPM)
|
||||||
SET(WITH_ZLIB bundled CACHE STRING "")
|
SET(WITH_SSL system CACHE STRING "")
|
||||||
|
SET(WITH_ZLIB system CACHE STRING "")
|
||||||
|
ELSEIF(DEB)
|
||||||
|
SET(WITH_SSL system CACHE STRING "")
|
||||||
|
SET(WITH_ZLIB system CACHE STRING "")
|
||||||
|
SET(WITH_LIBWRAP ON)
|
||||||
|
SET(WITH_MAX ON)
|
||||||
|
SET(HAVE_EMBEDDED_PRIVILEGE_CONTROL ON)
|
||||||
|
ELSE()
|
||||||
|
SET(WITH_SSL bundled CACHE STRING "")
|
||||||
|
SET(WITH_ZLIB bundled CACHE STRING "")
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
IF(NOT COMPILATION_COMMENT)
|
IF(NOT COMPILATION_COMMENT)
|
||||||
SET(COMPILATION_COMMENT "MariaDB Server")
|
SET(COMPILATION_COMMENT "MariaDB Server")
|
||||||
|
|
23
debian/dist/Debian/rules
vendored
23
debian/dist/Debian/rules
vendored
|
@ -70,30 +70,11 @@ endif
|
||||||
CXX=$${MYSQL_BUILD_CXX:-g++} \
|
CXX=$${MYSQL_BUILD_CXX:-g++} \
|
||||||
CXXFLAGS=$${MYSQL_BUILD_CXXFLAGS:-"-O2 -fno-omit-frame-pointer -g -pipe -Wall -Wno-uninitialized"} \
|
CXXFLAGS=$${MYSQL_BUILD_CXXFLAGS:-"-O2 -fno-omit-frame-pointer -g -pipe -Wall -Wno-uninitialized"} \
|
||||||
cmake .. \
|
cmake .. \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
||||||
-DINSTALL_SBINDIR=sbin \
|
|
||||||
-DMYSQL_DATADIR=/var/lib/mysql \
|
|
||||||
-DINSTALL_INCLUDEDIR=include/mysql \
|
|
||||||
-DINSTALL_INFODIR=share/info \
|
|
||||||
-DINSTALL_MANDIR=share/man \
|
|
||||||
\
|
|
||||||
-DMYSQL_SERVER_SUFFIX="-$(DEBVERSION)" \
|
-DMYSQL_SERVER_SUFFIX="-$(DEBVERSION)" \
|
||||||
|
-DBUILD_CONFIG=mysql_release \
|
||||||
-DCOMPILATION_COMMENT="mariadb.org binary distribution" \
|
-DCOMPILATION_COMMENT="mariadb.org binary distribution" \
|
||||||
-DSYSTEM_TYPE="debian-linux-gnu" \
|
-DSYSTEM_TYPE="debian-linux-gnu" \
|
||||||
-DINSTALL_LAYOUT=DEB \
|
-DDEB=debian'
|
||||||
\
|
|
||||||
-DENABLED_LOCAL_INFILE=1 \
|
|
||||||
-DWITH_FAST_MUTEXES=1 \
|
|
||||||
\
|
|
||||||
-DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \
|
|
||||||
\
|
|
||||||
-DEXTRA_CHARSETS=all \
|
|
||||||
-DWITH_LIBWRAP=1 \
|
|
||||||
-DWITH_SSL=system \
|
|
||||||
-DWITH_ZLIB=system \
|
|
||||||
-DWITH_EMBEDDED_SERVER=1 \
|
|
||||||
-DHAVE_EMBEDDED_PRIVILEGE_CONTROL=ON \
|
|
||||||
-DWITH_MAX=1'
|
|
||||||
|
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
|
23
debian/dist/Ubuntu/rules
vendored
23
debian/dist/Ubuntu/rules
vendored
|
@ -70,30 +70,11 @@ endif
|
||||||
CXX=$${MYSQL_BUILD_CXX:-g++} \
|
CXX=$${MYSQL_BUILD_CXX:-g++} \
|
||||||
CXXFLAGS=$${MYSQL_BUILD_CXXFLAGS:-"-O2 -fno-omit-frame-pointer -g -pipe -Wall -Wno-uninitialized"} \
|
CXXFLAGS=$${MYSQL_BUILD_CXXFLAGS:-"-O2 -fno-omit-frame-pointer -g -pipe -Wall -Wno-uninitialized"} \
|
||||||
cmake .. \
|
cmake .. \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
||||||
-DINSTALL_SBINDIR=sbin \
|
|
||||||
-DMYSQL_DATADIR=/var/lib/mysql \
|
|
||||||
-DINSTALL_INCLUDEDIR=include/mysql \
|
|
||||||
-DINSTALL_INFODIR=share/info \
|
|
||||||
-DINSTALL_MANDIR=share/man \
|
|
||||||
\
|
|
||||||
-DMYSQL_SERVER_SUFFIX="-$(DEBVERSION)" \
|
-DMYSQL_SERVER_SUFFIX="-$(DEBVERSION)" \
|
||||||
|
-DBUILD_CONFIG=mysql_release \
|
||||||
-DCOMPILATION_COMMENT="mariadb.org binary distribution" \
|
-DCOMPILATION_COMMENT="mariadb.org binary distribution" \
|
||||||
-DSYSTEM_TYPE="debian-linux-gnu" \
|
-DSYSTEM_TYPE="debian-linux-gnu" \
|
||||||
-DINSTALL_LAYOUT=DEB \
|
-DDEB=ubuntu'
|
||||||
\
|
|
||||||
-DENABLED_LOCAL_INFILE=1 \
|
|
||||||
-DWITH_FAST_MUTEXES=1 \
|
|
||||||
\
|
|
||||||
-DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \
|
|
||||||
\
|
|
||||||
-DEXTRA_CHARSETS=all \
|
|
||||||
-DWITH_LIBWRAP=1 \
|
|
||||||
-DWITH_SSL=system \
|
|
||||||
-DWITH_ZLIB=system \
|
|
||||||
-DWITH_EMBEDDED_SERVER=1 \
|
|
||||||
-DHAVE_EMBEDDED_PRIVILEGE_CONTROL=ON \
|
|
||||||
-DWITH_MAX=1'
|
|
||||||
|
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue