summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Cessenat <cessenat@gmail.com>2021-02-24 21:45:53 +0100
committerGitHub <noreply@github.com>2021-02-24 15:45:53 -0500
commit92a4576644f6640f79ed1c5d791cf9ac63795fd0 (patch)
treeb019eef352e8001611c3998a8d6469c67599ad60
parentd153978fc7abe14f78178620fcc4679af97c4ddf (diff)
downloadspack-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.py6
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')