From 29cfbfca4389f6b10e99eb6b5b615e8c12e3f2da Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 25 Nov 2017 22:54:57 +0200 Subject: 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(+) (limited to 'gnu') 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 -- cgit 1.4.1