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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e41bca00
Commit
e41bca00
authored
Sep 18, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support statically linked jemalloc. use that for release builds
parent
33656e04
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
10 deletions
+21
-10
cmake/build_configurations/mysql_release.cmake
cmake/build_configurations/mysql_release.cmake
+1
-1
cmake/jemalloc.cmake
cmake/jemalloc.cmake
+16
-5
debian/dist/Debian/control
debian/dist/Debian/control
+2
-2
debian/dist/Ubuntu/control
debian/dist/Ubuntu/control
+2
-2
No files found.
cmake/build_configurations/mysql_release.cmake
View file @
e41bca00
...
...
@@ -123,7 +123,7 @@ IF(UNIX)
SET
(
WITH_EXTRA_CHARSETS all CACHE STRING
""
)
IF
(
CMAKE_SYSTEM_NAME STREQUAL
"Linux"
)
SET
(
WITH_JEMALLOC
"
yes
"
CACHE STRING
""
)
SET
(
WITH_JEMALLOC
"
static
"
CACHE STRING
""
)
IF
(
NOT IGNORE_AIO_CHECK
)
# Ensure aio is available on Linux (required by InnoDB)
...
...
cmake/jemalloc.cmake
View file @
e41bca00
...
...
@@ -12,12 +12,23 @@ MACRO (CHECK_JEMALLOC)
SET
(
WITH_JEMALLOC
"yes"
)
ENDIF
()
IF
(
WITH_JEMALLOC STREQUAL
"yes"
OR WITH_JEMALLOC STREQUAL
"auto"
)
CHECK_LIBRARY_EXISTS
(
jemalloc malloc_stats_print
""
HAVE_JEMALLOC
)
IF
(
WITH_JEMALLOC STREQUAL
"yes"
OR WITH_JEMALLOC STREQUAL
"auto"
OR
WITH_JEMALLOC STREQUAL
"static"
)
IF
(
WITH_JEMALLOC STREQUAL
"static"
)
SET
(
libname jemalloc_pic
)
SET
(
CMAKE_REQUIRED_LIBRARIES pthread dl m
)
ELSE
()
SET
(
libname jemalloc
)
ENDIF
()
CHECK_LIBRARY_EXISTS
(
${
libname
}
malloc_stats_print
""
HAVE_JEMALLOC
)
SET
(
CMAKE_REQUIRED_LIBRARIES
)
IF
(
HAVE_JEMALLOC
)
SET
(
LIBJEMALLOC
jemalloc
)
ELSEIF
(
WITH_JEMALLOC STREQUAL
"yes
"
)
MESSAGE
(
FATAL_ERROR
"
jemalloc
is not found"
)
SET
(
LIBJEMALLOC
${
libname
}
)
ELSEIF
(
NOT WITH_JEMALLOC STREQUAL
"auto
"
)
MESSAGE
(
FATAL_ERROR
"
${
libname
}
is not found"
)
ENDIF
()
ENDIF
()
ENDMACRO
()
debian/dist/Debian/control
View file @
e41bca00
...
...
@@ -146,7 +146,7 @@ Description: MariaDB database client binaries
Package
:
mariadb
-
server
-
core
-
5.5
Architecture
:
any
Depends
:
${
shlibs
:
Depends
},
${
misc
:
Depends
},
libmariadbclient18
(>=
${
binary
:
Version
})
,
libjemalloc1
(>=
3.0.0
)
Depends
:
${
shlibs
:
Depends
},
${
misc
:
Depends
},
libmariadbclient18
(>=
${
binary
:
Version
})
Provides
:
mysql
-
server
-
core
,
mysql
-
server
-
core
-
5.1
,
mysql
-
server
-
core
-
5.5
Conflicts
:
mariadb
-
server
-
5.1
(<<
5.1.60
),
mariadb
-
server
-
5.2
(<<
5.2.10
),
...
...
@@ -191,7 +191,7 @@ Architecture: any
Suggests
:
tinyca
,
mailx
,
mariadb
-
test
Recommends
:
libhtml
-
template
-
perl
Pre
-
Depends
:
mariadb
-
common
,
adduser
(>=
3.40
),
debconf
Depends
:
mariadb
-
client
-
5.5
(>=
${
source
:
Version
}),
libdbi
-
perl
,
perl
(>=
5.6
),
${
shlibs
:
Depends
},
${
misc
:
Depends
},
psmisc
,
passwd
,
lsb
-
base
(>=
3.0
-
10
),
mariadb
-
server
-
core
-
5.5
(>=
${
binary
:
Version
})
,
libjemalloc1
(>=
3.0.0
)
Depends
:
mariadb
-
client
-
5.5
(>=
${
source
:
Version
}),
libdbi
-
perl
,
perl
(>=
5.6
),
${
shlibs
:
Depends
},
${
misc
:
Depends
},
psmisc
,
passwd
,
lsb
-
base
(>=
3.0
-
10
),
mariadb
-
server
-
core
-
5.5
(>=
${
binary
:
Version
})
Provides
:
mariadb
-
server
,
mysql
-
server
,
virtual
-
mysql
-
server
Conflicts
:
mariadb
-
server
(<<
${
source
:
Version
}),
mysql
-
server
(<<
${
source
:
Version
}),
mysql
-
server
-
4.1
,
mysql
-
server
-
5.0
,
mysql
-
server
-
5.1
,
mysql
-
server
-
5.5
,
...
...
debian/dist/Ubuntu/control
View file @
e41bca00
...
...
@@ -146,7 +146,7 @@ Description: MariaDB database client binaries
Package
:
mariadb
-
server
-
core
-
5.5
Architecture
:
any
Depends
:
${
shlibs
:
Depends
},
${
misc
:
Depends
},
libmariadbclient18
(>=
${
binary
:
Version
})
,
libjemalloc1
(>=
3.0.0
)
Depends
:
${
shlibs
:
Depends
},
${
misc
:
Depends
},
libmariadbclient18
(>=
${
binary
:
Version
})
Provides
:
mysql
-
server
-
core
,
mysql
-
server
-
core
-
5.1
,
mysql
-
server
-
core
-
5.5
Conflicts
:
mysql
-
server
-
5.0
,
mysql
-
server
-
core
-
5.0
,
mysql
-
server
-
core
-
5.1
,
mysql
-
server
-
core
-
5.5
,
...
...
@@ -185,7 +185,7 @@ Architecture: any
Suggests
:
tinyca
,
mailx
,
mariadb
-
test
Recommends
:
libhtml
-
template
-
perl
Pre
-
Depends
:
mariadb
-
common
,
adduser
(>=
3.40
),
debconf
Depends
:
mariadb
-
client
-
5.5
(>=
${
source
:
Version
}),
libdbi
-
perl
,
perl
(>=
5.6
),
${
shlibs
:
Depends
},
${
misc
:
Depends
},
psmisc
,
passwd
,
lsb
-
base
(>=
3.0
-
10
),
mariadb
-
server
-
core
-
5.5
(>=
${
binary
:
Version
})
,
libjemalloc1
(>=
3.0.0
)
Depends
:
mariadb
-
client
-
5.5
(>=
${
source
:
Version
}),
libdbi
-
perl
,
perl
(>=
5.6
),
${
shlibs
:
Depends
},
${
misc
:
Depends
},
psmisc
,
passwd
,
lsb
-
base
(>=
3.0
-
10
),
mariadb
-
server
-
core
-
5.5
(>=
${
binary
:
Version
})
Provides
:
mariadb
-
server
,
mysql
-
server
,
virtual
-
mysql
-
server
Conflicts
:
mariadb
-
server
(<<
${
source
:
Version
}),
mysql
-
server
(<<
${
source
:
Version
}),
mysql
-
server
-
4.1
,
mysql
-
server
-
5.0
,
mysql
-
server
-
5.1
,
mysql
-
server
-
5.5
,
...
...
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