diff options
author | George Hartzell <hartzell@alerce.com> | 2017-02-03 14:35:16 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-02-03 14:35:16 -0800 |
commit | acb9281dbf41c30535d18a9adb432e218b1f22b3 (patch) | |
tree | 01676986b92d491222924729aacc84504108b2a3 /var | |
parent | 6c1b19f394ec3ef8959deb9d63e1cdd3a3a3f2c1 (diff) | |
download | spack-acb9281dbf41c30535d18a9adb432e218b1f22b3.tar.gz spack-acb9281dbf41c30535d18a9adb432e218b1f22b3.tar.bz2 spack-acb9281dbf41c30535d18a9adb432e218b1f22b3.tar.xz spack-acb9281dbf41c30535d18a9adb432e218b1f22b3.zip |
Different versions of cmake need diff vers of openssl (#2993)
* Different versions of cmake need diff vers of openssl. See Issue https://github.com/LLNL/spack/issues/2990 for background.
Versions of cmake through 3.6.9 seem to need OpenSSL up to 1.0.99. Later
versions can use the current release (thanks to @citibeth for
[digging up details](https://cmake.org/pipermail/cmake/2016-November/064631.html)).
@davydden suggested this change.
Without it I *am not* able to build `cmake@3.6.1` on CentOS 7 and I *am*
able to build `cmake@3.7.2`.
Tested with `cmake@3.7.2` and `cmake@3.6.1` on CentOS 7.
With this change I am able to build both `cmake@3.6.1` and `cmake@3.7.2`
on CentOS 7.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/cmake/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cmake/package.py b/var/spack/repos/builtin/packages/cmake/package.py index 276db137ad..4ff9615016 100644 --- a/var/spack/repos/builtin/packages/cmake/package.py +++ b/var/spack/repos/builtin/packages/cmake/package.py @@ -63,7 +63,8 @@ class Cmake(Package): depends_on('qt', when='+qt') depends_on('python@2.7.11:', when='+doc', type='build') depends_on('py-sphinx', when='+doc', type='build') - depends_on('openssl', when='+openssl') + depends_on("openssl", when='+openssl') + depends_on("openssl@:1.0.99", when='@:3.6.9+openssl') depends_on('ncurses', when='+ncurses') # Cannot build with Intel, should be fixed in 3.6.2 |