diff options
author | Olivier Cessenat <cessenat@gmail.com> | 2021-02-24 21:45:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-24 15:45:53 -0500 |
commit | 92a4576644f6640f79ed1c5d791cf9ac63795fd0 (patch) | |
tree | b019eef352e8001611c3998a8d6469c67599ad60 | |
parent | d153978fc7abe14f78178620fcc4679af97c4ddf (diff) | |
download | spack-92a4576644f6640f79ed1c5d791cf9ac63795fd0.tar.gz spack-92a4576644f6640f79ed1c5d791cf9ac63795fd0.tar.bz2 spack-92a4576644f6640f79ed1c5d791cf9ac63795fd0.tar.xz spack-92a4576644f6640f79ed1c5d791cf9ac63795fd0.zip |
Silo: fix build errors with +silex on ubuntu18.04(#21877)
-rw-r--r-- | var/spack/repos/builtin/packages/silo/package.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/silo/package.py b/var/spack/repos/builtin/packages/silo/package.py index 2f4fb371e0..d69a73669b 100644 --- a/var/spack/repos/builtin/packages/silo/package.py +++ b/var/spack/repos/builtin/packages/silo/package.py @@ -28,12 +28,14 @@ class Silo(AutotoolsPackage): variant('mpi', default=True, description='Compile with MPI Compatibility') + depends_on('mpi', when='+mpi') depends_on('hdf5@:1.10.999', when='@:4.10.2') depends_on('hdf5~mpi', when='~mpi') - depends_on('mpi', when='+mpi') depends_on('hdf5+mpi', when='+mpi') - depends_on('qt~framework@4.8:4.9', when='+silex') + depends_on('qt+gui~framework@4.8:4.9', when='+silex') depends_on('libx11', when='+silex') + # Xmu dependency is required on Ubuntu 18-20 + depends_on('libxmu', when='+silex') depends_on('readline') depends_on('zlib') |