diff options
author | QuellynSnead <quellyn@lanl.gov> | 2023-05-24 10:09:48 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-24 11:09:48 -0500 |
commit | 175da4a88a6525959e35d4d8b055c83785dd5273 (patch) | |
tree | 9bf4ca5ef89ea2e69bead37d9b3f659b8a7a8162 | |
parent | 73fc1ef11c213e23f8bb1ffb61d1766a64de4385 (diff) | |
download | spack-175da4a88a6525959e35d4d8b055c83785dd5273.tar.gz spack-175da4a88a6525959e35d4d8b055c83785dd5273.tar.bz2 spack-175da4a88a6525959e35d4d8b055c83785dd5273.tar.xz spack-175da4a88a6525959e35d4d8b055c83785dd5273.zip |
paraview (protobuf failure) #37437 (#37440)
When attempting to build paraview@5.10.1 using a recent Intel
compiler (Classic or OneAPI) or the IBM XL compiler, the build
fails if the version of protobuf used is > 3.18
-rw-r--r-- | var/spack/repos/builtin/packages/paraview/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/paraview/package.py b/var/spack/repos/builtin/packages/paraview/package.py index 9759097ed7..312abed8f3 100644 --- a/var/spack/repos/builtin/packages/paraview/package.py +++ b/var/spack/repos/builtin/packages/paraview/package.py @@ -217,6 +217,12 @@ class Paraview(CMakePackage, CudaPackage, ROCmPackage): depends_on("netcdf-c") depends_on("pegtl") depends_on("protobuf@3.4:") + # Paraview 5.10 can't build with protobuf > 3.18 + # https://github.com/spack/spack/issues/37437 + depends_on("protobuf@3.4:3.18", when="@:5.10%oneapi") + depends_on("protobuf@3.4:3.18", when="@:5.10%intel@2021:") + depends_on("protobuf@3.4:3.18", when="@:5.10%xl") + depends_on("protobuf@3.4:3.18", when="@:5.10%xl_r") depends_on("libxml2") depends_on("lz4") depends_on("xz") |