diff options
author | Paul Ferrell <51765748+Paul-Ferrell@users.noreply.github.com> | 2021-03-01 17:06:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 16:06:34 -0800 |
commit | 88f7a00f2db0bbbdbdd4f69c2f0ca44bb1b6d752 (patch) | |
tree | 6aa514fe40f7187d02c2c671dfd68a2fae1ad1cb | |
parent | b2e0bc1ae711059385449a41a82408224f8b77ce (diff) | |
download | spack-88f7a00f2db0bbbdbdd4f69c2f0ca44bb1b6d752.tar.gz spack-88f7a00f2db0bbbdbdd4f69c2f0ca44bb1b6d752.tar.bz2 spack-88f7a00f2db0bbbdbdd4f69c2f0ca44bb1b6d752.tar.xz spack-88f7a00f2db0bbbdbdd4f69c2f0ca44bb1b6d752.zip |
Paraview compatibility with PugiXML varies by version. (#21732)
-rw-r--r-- | var/spack/repos/builtin/packages/paraview/package.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/paraview/package.py b/var/spack/repos/builtin/packages/paraview/package.py index c8ac19fd68..4813868755 100644 --- a/var/spack/repos/builtin/packages/paraview/package.py +++ b/var/spack/repos/builtin/packages/paraview/package.py @@ -124,12 +124,16 @@ class Paraview(CMakePackage, CudaPackage): depends_on('netcdf-c') depends_on('pegtl') depends_on('protobuf@3.4:') - depends_on('pugixml') depends_on('libxml2') depends_on('lz4') depends_on('lzma') depends_on('zlib') + # Older builds of pugi export their symbols differently, + # and pre-5.9 is unable to handle that. + depends_on('pugixml@:1.10', when='@:5.8.99') + depends_on('pugixml', when='@5.9:') + # Can't contretize with python2 and py-setuptools@45.0.0: depends_on('py-setuptools@:44.99.99', when='+python') # Can't contretize with python2 and py-pillow@7.0.0: |