diff options
author | las_thoma15 <las_thoma15@iastate.edu> | 2017-08-31 09:37:24 -0500 |
---|---|---|
committer | las_thoma15 <las_thoma15@iastate.edu> | 2017-08-31 09:37:24 -0500 |
commit | cc3d8bacd7982dd190bc1bac54d569499b8d0b1d (patch) | |
tree | 0e6c4ca71034ec511c65951b1c4600754313e4ab /var | |
parent | c1f3ed6f67da1bfcc05346015616dfd0d247fee5 (diff) | |
download | spack-cc3d8bacd7982dd190bc1bac54d569499b8d0b1d.tar.gz spack-cc3d8bacd7982dd190bc1bac54d569499b8d0b1d.tar.bz2 spack-cc3d8bacd7982dd190bc1bac54d569499b8d0b1d.tar.xz spack-cc3d8bacd7982dd190bc1bac54d569499b8d0b1d.zip |
adding config args and virtual dependencies
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/jags/package.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/jags/package.py b/var/spack/repos/builtin/packages/jags/package.py index cccab17bf1..2909f24e9d 100644 --- a/var/spack/repos/builtin/packages/jags/package.py +++ b/var/spack/repos/builtin/packages/jags/package.py @@ -22,7 +22,6 @@ # License along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################## - from spack import * @@ -36,9 +35,10 @@ class Jags(AutotoolsPackage): version('4.2.0', '9e521b3cfb23d3290a8c6bc0b79bf426') - depends_on('m4', type='build') - depends_on('autoconf', type='build') - depends_on('automake', type='build') - depends_on('libtool', type='build') + depends_on('blas') + depends_on('lapack') - depends_on('atlas') + def configure_args(self): + args = ['--with-blas=-L%s' % self.spec['blas'].prefix.lib, + '--with-lapack=-L%s' % self.spec['lapack'].prefix.lib] + return args |