aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/machine-learning.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-11-25 20:36:44 +0100
committerMarius Bakke <mbakke@fastmail.com>2018-11-25 20:38:34 +0100
commit1e92d311c3e43827a76f5bc9a43def7f7690f8c1 (patch)
treec00e599e6dc4ba3e9e4a314ff4065ba83cba8a27 /gnu/packages/machine-learning.scm
parent18142e23e8ee55d996d9d4ed1113f3d13e81f234 (diff)
downloadpatches-1e92d311c3e43827a76f5bc9a43def7f7690f8c1.tar
patches-1e92d311c3e43827a76f5bc9a43def7f7690f8c1.tar.gz
gnu: randomjungle: Do not build static binaries.
* gnu/packages/patches/randomjungle-disable-static-build.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/machine-learning.scm (randomjungle)[source](patches): Add it. [arguments]: Add "--disable-static" to #:configure-flags.
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r--gnu/packages/machine-learning.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 4b2447ece0..7b9b28a2eb 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -333,13 +333,15 @@ algorithm.")
(uri (string-append
"http://www.imbs-luebeck.de/imbs/sites/default/files/u59/"
"randomjungle-" version ".tar_.gz"))
+ (patches (search-patches "randomjungle-disable-static-build.patch"))
(sha256
(base32
"12c8rf30cla71swx2mf4ww9mfd8jbdw5lnxd7dxhyw1ygrvg6y4w"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
- (list (string-append "--with-boost="
+ (list "--disable-static"
+ (string-append "--with-boost="
(assoc-ref %build-inputs "boost")))
#:phases
(modify-phases %standard-phases