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
1 changed files with 7 additions and 0 deletions

View File

@ -99,6 +99,7 @@
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system r) #:use-module (guix build-system r)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26) #:use-module (srfi srfi-26)
#:use-module (ice-9 match)) #:use-module (ice-9 match))
@ -405,6 +406,12 @@ applications.")
(let ((common-options (let ((common-options
`(;; "--use-system-tcmalloc" TODO: Missing gperftools `(;; "--use-system-tcmalloc" TODO: Missing gperftools
"--use-system-pcre" "--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 ;; TODO
;; build/opt/mongo/db/fts/unicode/string.o failed: Error 1 ;; build/opt/mongo/db/fts/unicode/string.o failed: Error 1
;; --use-system-boost ;; --use-system-boost