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
This commit is contained in:
QuellynSnead 2023-05-24 10:09:48 -06:00 committed by GitHub
parent 73fc1ef11c
commit 175da4a88a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")