aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-11-25 22:54:57 +0200
committerEfraim Flashner <efraim@flashner.co.il>2017-11-26 14:16:04 +0200
commit29cfbfca4389f6b10e99eb6b5b615e8c12e3f2da (patch)
treefc1645cf7c19d590c65420e4ab51dc1e0bacf549 /gnu/packages
parentf1c49e75f4c96388d280e81afa599f43dd6a3f35 (diff)
downloadpatches-29cfbfca4389f6b10e99eb6b5b615e8c12e3f2da.tar
patches-29cfbfca4389f6b10e99eb6b5b615e8c12e3f2da.tar.gz
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/databases.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 8a199be6e7..c187c002f1 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -99,6 +99,7 @@
#: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 @@ applications.")
(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