diff options
author | Erik Schnetter <schnetter@gmail.com> | 2016-03-22 19:17:39 +0100 |
---|---|---|
committer | Denis Davydov <davydden@gmail.com> | 2016-03-22 19:18:04 +0100 |
commit | 7618dc504cb58e115a0a95b130bcfc485cd8341d (patch) | |
tree | e508b6b6545aedb59cdf4360707bb97911fd779a | |
parent | e32eb7e990119288e0bbffe1786b5cd20547e0ad (diff) | |
download | spack-7618dc504cb58e115a0a95b130bcfc485cd8341d.tar.gz spack-7618dc504cb58e115a0a95b130bcfc485cd8341d.tar.bz2 spack-7618dc504cb58e115a0a95b130bcfc485cd8341d.tar.xz spack-7618dc504cb58e115a0a95b130bcfc485cd8341d.zip |
temporary fix Hypre for OSX by building static lib by default
-rw-r--r-- | var/spack/repos/builtin/packages/hypre/package.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/hypre/package.py b/var/spack/repos/builtin/packages/hypre/package.py index 242ee100d7..8d93d48d1f 100644 --- a/var/spack/repos/builtin/packages/hypre/package.py +++ b/var/spack/repos/builtin/packages/hypre/package.py @@ -1,5 +1,5 @@ from spack import * -import os +import os, sys class Hypre(Package): """Hypre is a library of high performance preconditioners that @@ -12,7 +12,8 @@ class Hypre(Package): version('2.10.1', 'dc048c4cabb3cd549af72591474ad674') version('2.10.0b', '768be38793a35bb5d055905b271f5b8e') - variant('shared', default=True, description="Build shared library version (disables static library)") + # hypre does not know how to build shared libraries on Darwin + variant('shared', default=sys.platform!='darwin', description="Build shared library version (disables static library)") depends_on("mpi") depends_on("blas") |