jags: lapack fix (#6764)
* jags: fixing openblas thows a lapack error when compiling. atlas works. other lapack providers may work. also adding tags * changing blas/lapack reference * removing openblas conflict * jags: whitespace cleanup for flake8
This commit is contained in:
parent
6922ea5889
commit
353870fe50
@ -30,6 +30,8 @@ class Jags(AutotoolsPackage):
|
||||
Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC)
|
||||
simulation not wholly unlike BUGS"""
|
||||
|
||||
tags = ['mcmc', 'Gibbs sampler']
|
||||
|
||||
homepage = "http://mcmc-jags.sourceforge.net/"
|
||||
url = "https://downloads.sourceforge.net/project/mcmc-jags/JAGS/4.x/Source/JAGS-4.2.0.tar.gz"
|
||||
|
||||
@ -39,6 +41,6 @@ class Jags(AutotoolsPackage):
|
||||
depends_on('lapack')
|
||||
|
||||
def configure_args(self):
|
||||
args = ['--with-blas=-L%s' % self.spec['blas'].prefix.lib,
|
||||
'--with-lapack=-L%s' % self.spec['lapack'].prefix.lib]
|
||||
args = ['--with-blas=%s' % self.spec['blas'].libs.ld_flags,
|
||||
'--with-lapack=%s' % self.spec['lapack'].libs.ld_flags]
|
||||
return args
|
||||
|
Loading…
Reference in New Issue
Block a user