diff options
author | lukebroskop <luke.roskop@hpe.com> | 2021-09-08 14:34:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 13:34:39 -0600 |
commit | f9314d38b0bec2df16e58312fad0cbb01fad7696 (patch) | |
tree | c39d60734e605d8648fc503f39455fa8a315db44 /var | |
parent | e47f0d486c91d4b9687cbc98ea83442f3b8c21c1 (diff) | |
download | spack-f9314d38b0bec2df16e58312fad0cbb01fad7696.tar.gz spack-f9314d38b0bec2df16e58312fad0cbb01fad7696.tar.bz2 spack-f9314d38b0bec2df16e58312fad0cbb01fad7696.tar.xz spack-f9314d38b0bec2df16e58312fad0cbb01fad7696.zip |
mpip: fix package to depends on libunwind when +libunwind (#24007)
Added a dependency for mpip@3.5: when the libunwind is set to true (which is the default)
and '~setjmp' is set to False (which is also the default) to avoid a configure
time error from not finding libunwind.
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/mpip/package.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/mpip/package.py b/var/spack/repos/builtin/packages/mpip/package.py index e705bda43d..bfeb7af6ff 100644 --- a/var/spack/repos/builtin/packages/mpip/package.py +++ b/var/spack/repos/builtin/packages/mpip/package.py @@ -59,9 +59,8 @@ class Mpip(AutotoolsPackage): depends_on('python@:2', when='@3.4.1', type='build') depends_on('mpi') - # Ideally would use libunwind, but provide backtrace and - # setjmp functionality, if needed - # depends_on('unwind') + # '+setjmp' adds '--disable-libunwind' to the confiure args + depends_on('unwind', when='@3.5: +libunwind ~setjmp') @when('@3.5:') def configure_args(self): |