mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
MongoDB: Force mmapv1 to be compiled in
According to the default configuration file, mmapv1 is the default storage engine. However, MongoDB 3.2.5 introduced a change that disables it on non-x86 builds. This commit forces mmapv1 to be compiled in so that everything works properly.
This commit is contained in:
parent
01bb5017e8
commit
b3a7cb5250
1 changed files with 6 additions and 1 deletions
|
@ -10,9 +10,12 @@
|
|||
# - patches
|
||||
# - specify mmapv1 as the default storage engine in mongodb.conf
|
||||
|
||||
# ALARM: Thomas P. <tpxp@live.fr>
|
||||
# - force mmapv1 to be compiled in the build
|
||||
|
||||
pkgname=mongodb
|
||||
pkgver=3.2.6
|
||||
pkgrel=1
|
||||
pkgrel=1.1
|
||||
pkgdesc='A high-performance, open source, schema-free document-oriented database'
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.mongodb.org'
|
||||
|
@ -54,6 +57,8 @@ _scons_args=(
|
|||
--use-sasl-client
|
||||
--ssl
|
||||
--disable-warnings-as-errors
|
||||
--mmapv1=on
|
||||
# Force mmapv1 to be compiled in - By default mmapv1 is disabled due to this commit : https://github.com/mongodb/mongo/commit/ff8061cd1d97e99f141b02a7fe36e83f302b909c
|
||||
# --use-system-asio # https://jira.mongodb.org/browse/SERVER-21839
|
||||
# --use-system-v8 # Doesn't compile
|
||||
# --use-system-tcmalloc # Disabled as upstream suggests in https://jira.mongodb.org/browse/SERVER-17447?focusedCommentId=841890&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-841890
|
||||
|
|
Loading…
Reference in a new issue