[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: mongodb: Build without wiredtiger on 32-bit systems.
From: |
Efraim Flashner |
Subject: |
01/03: gnu: mongodb: Build without wiredtiger on 32-bit systems. |
Date: |
Sun, 26 Nov 2017 07:16:17 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 29cfbfca4389f6b10e99eb6b5b615e8c12e3f2da
Author: Efraim Flashner <address@hidden>
Date: Sat Nov 25 22:54:57 2017 +0200
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.
---
gnu/packages/databases.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 8a199be..c187c00 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