guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Romain GARBAGE
Subject: [bug#69729] [PATCH 08/41] gnu: jags: Switch to openblas.
Date: Mon, 11 Mar 2024 12:06:49 +0100

* 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 --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
                (base32
                 "0aa2w4g5057vn1qjp954s2kwxfmy1h7p5yn56fyi7sz9nmaq69gr"))))
     (build-system gnu-build-system)
+    (arguments
+     (list #:configure-flags
+           #~(list "--with-lapack=-lopenblas"
+              "--with-blas=-lopenblas")))
     (home-page "https://mcmc-jags.sourceforge.net/";)
     (native-inputs
-     (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)
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]