mongodb: build with mmapv1 suport for 32bit platforms (#4157)
This commit is contained in:
parent
1afd706ab4
commit
7bf493df19
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mongodb'
|
# Template file for 'mongodb'
|
||||||
pkgname=mongodb
|
pkgname=mongodb
|
||||||
version=3.2.6
|
version=3.2.6
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="mongodb-src-r${version}"
|
wrksrc="mongodb-src-r${version}"
|
||||||
hostmakedepends="scons"
|
hostmakedepends="scons"
|
||||||
makedepends="boost-devel pcre-devel snappy-devel libressl-devel libpcap-devel
|
makedepends="boost-devel pcre-devel snappy-devel libressl-devel libpcap-devel
|
||||||
|
@ -37,8 +37,10 @@ do_configure() {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
|
# Choose storage engine
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64*|aarch64*) _scons_args="--wiredtiger=on --use-system-wiredtiger";;
|
x86_64*|aarch64*) _scons_args="--wiredtiger=on --use-system-wiredtiger";;
|
||||||
|
i686*|arm*) _scons_args="--wiredtiger=off --mmapv1=on";;
|
||||||
*) _scons_args="--wiredtiger=off";;
|
*) _scons_args="--wiredtiger=off";;
|
||||||
esac
|
esac
|
||||||
scons core tools ${makejobs} \
|
scons core tools ${makejobs} \
|
||||||
|
|
Loading…
Reference in New Issue