gnu: mongodb: Use system wiredtiger when available.
* gnu/packages/databases.scm (mongodb)[inputs]: Add wiredtiger on 64-bit systems. [arguments]: When using wiredtiger, use system wiredtiger.
This commit is contained in:
parent
29cfbfca43
commit
319b52c382
|
@ -392,6 +392,10 @@ applications.")
|
||||||
(inputs
|
(inputs
|
||||||
`(("openssl" ,openssl)
|
`(("openssl" ,openssl)
|
||||||
("pcre" ,pcre)
|
("pcre" ,pcre)
|
||||||
|
,@(match (%current-system)
|
||||||
|
((or "x86_64-linux" "aarch64-linux" "mips64el-linux")
|
||||||
|
`(("wiredtiger" ,wiredtiger)))
|
||||||
|
(_ `()))
|
||||||
("yaml-cpp" ,yaml-cpp)
|
("yaml-cpp" ,yaml-cpp)
|
||||||
("zlib" ,zlib)
|
("zlib" ,zlib)
|
||||||
("snappy" ,snappy)
|
("snappy" ,snappy)
|
||||||
|
@ -411,7 +415,7 @@ applications.")
|
||||||
(%current-system)))
|
(%current-system)))
|
||||||
'("i686-linux" "armhf-linux"))
|
'("i686-linux" "armhf-linux"))
|
||||||
``"--wiredtiger=off"
|
``"--wiredtiger=off"
|
||||||
``"--wiredtiger=on")
|
``"--use-system-wiredtiger")
|
||||||
;; 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
|
||||||
|
|
Loading…
Reference in New Issue