diff options
author | Michael Kuhn <suraia@ikkoku.de> | 2017-06-13 15:06:44 +0200 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-06-13 08:06:44 -0500 |
commit | 181fd95057018b4e26d3fcbc76dd8d84f56cd3eb (patch) | |
tree | f21a191bb75fc52309a69649d64a57581ee7a0b1 /var | |
parent | d450e4a93baefcd0c2995ba1c4080c8215864628 (diff) | |
download | spack-181fd95057018b4e26d3fcbc76dd8d84f56cd3eb.tar.gz spack-181fd95057018b4e26d3fcbc76dd8d84f56cd3eb.tar.bz2 spack-181fd95057018b4e26d3fcbc76dd8d84f56cd3eb.tar.xz spack-181fd95057018b4e26d3fcbc76dd8d84f56cd3eb.zip |
Fix building shared libraries for gmp (#4464)
If specific compiler flags are set, gmp will not build a shared library,
causing failures further down the line.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/gmp/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gmp/package.py b/var/spack/repos/builtin/packages/gmp/package.py index b318273b0b..023ecd6069 100644 --- a/var/spack/repos/builtin/packages/gmp/package.py +++ b/var/spack/repos/builtin/packages/gmp/package.py @@ -38,8 +38,15 @@ class Gmp(AutotoolsPackage): version('6.0.0a', 'b7ff2d88cae7f8085bd5006096eed470') version('6.0.0', '6ef5869ae735db9995619135bd856b84') + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') depends_on('m4', type='build') + # gmp's configure script seems to be broken; it sometimes misdetects + # shared library support. Regenerating it fixes the issue. + force_autoreconf = True + def configure_args(self): args = ['--enable-cxx'] # This flag is necessary for the Intel build to pass `make check` |