gnu: mongodb: Build without wiredtiger on 32-bit systems.

* gnu/packages/databases.scm (mongodb)[arguments]: Add a configure-flag
to build without wiredtiger support on 32-bit systems.
This commit is contained in:
Efraim Flashner 2017-11-25 22:54:57 +02:00
parent f1c49e75f4
commit 29cfbfca43
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -99,6 +99,7 @@ (define-module (gnu packages databases)
#:use-module (guix build-system cmake)
#:use-module (guix build-system r)
#:use-module (guix utils)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26)
#:use-module (ice-9 match))
@ -405,6 +406,12 @@ (define-public mongodb
(let ((common-options
`(;; "--use-system-tcmalloc" TODO: Missing gperftools
"--use-system-pcre"
;; wiredtiger is 64-bit only
,,(if (any (cute string-prefix? <> (or (%current-target-system)
(%current-system)))
'("i686-linux" "armhf-linux"))
``"--wiredtiger=off"
``"--wiredtiger=on")
;; TODO
;; build/opt/mongo/db/fts/unicode/string.o failed: Error 1
;; --use-system-boost