diff mbox series

[bug#69729,08/41] gnu: jags: Switch to openblas.

Message ID 20240311110750.16327-9-romain.garbage@inria.fr
State New
Headers show
Series Improve performance in lapack dependent packages. | expand

Commit Message

Romain GARBAGE March 11, 2024, 11:06 a.m. UTC
* gnu/packages/statistics.scm (jags) [inputs]: Switch input
dependency from lapack to openblas.
[arguments]: Add configure flags.

Change-Id: Iea0efef5c70a5284f6859c1424fd4523edcf2bac
 gnu/packages/statistics.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff mbox series


diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 0d9f593614..3a70f5f997 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -180,9 +180,13 @@  (define-public jags
     (build-system gnu-build-system)
+    (arguments
+     (list #:configure-flags
+           #~(list "--with-lapack=-lopenblas"
+              "--with-blas=-lopenblas")))
     (home-page "https://mcmc-jags.sourceforge.net/")
-     (list gfortran lapack))
+     (list gfortran openblas))
     (synopsis "Gibbs sampler")
     (description "JAGS is Just Another Gibbs Sampler.  It is a program for
 analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC)