diff options
author | David Gardner <gardner48@llnl.gov> | 2017-11-09 05:04:03 -0800 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2017-11-09 14:04:03 +0100 |
commit | d9fc26b2a56c5a12c473bf60e547d1afaf7ae322 (patch) | |
tree | df41d23f9dff5fb6055f22f89a23aa083fe74206 | |
parent | 24bb3c61de6aff0972f8f568e86a81df8778add4 (diff) | |
download | spack-d9fc26b2a56c5a12c473bf60e547d1afaf7ae322.tar.gz spack-d9fc26b2a56c5a12c473bf60e547d1afaf7ae322.tar.bz2 spack-d9fc26b2a56c5a12c473bf60e547d1afaf7ae322.tar.xz spack-d9fc26b2a56c5a12c473bf60e547d1afaf7ae322.zip |
add sundials 3.1.0 (#6230)
-rw-r--r-- | var/spack/repos/builtin/packages/sundials/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/sundials/package.py b/var/spack/repos/builtin/packages/sundials/package.py index 2dd05bf127..16cbcbe34f 100644 --- a/var/spack/repos/builtin/packages/sundials/package.py +++ b/var/spack/repos/builtin/packages/sundials/package.py @@ -39,6 +39,7 @@ class Sundials(CMakePackage): # Versions # ========================================================================== + version('3.1.0', '1a84ca41c7f71067e03d519ddbcd9dae') version('3.0.0', '5163a44cedd7398bddda442ba00313b8') version('2.7.0', 'c304631b9bc82877d7b0e9f4d4fd94d3') version('2.6.2', '3deeb0ede9f514184c6bd83ecab77d95') @@ -355,12 +356,14 @@ class Sundials(CMakePackage): def post_install(self): """Run after install to fix install name of dynamic libraries on Darwin to have full path and install the LICENSE file.""" + spec = self.spec prefix = self.spec.prefix if (sys.platform == 'darwin'): fix_darwin_install_name(prefix.lib) - install('LICENSE', prefix) + if spec.satisfies('@:3.0.0'): + install('LICENSE', prefix) @run_after('install') def filter_compilers(self): |