adios2: add mgard variant (#39405)

This commit is contained in:
Vicente Bolea 2023-08-12 11:38:33 -04:00 committed by GitHub
parent 6c5d125cb0
commit 533821e46f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,7 @@ class Adios2(CMakePackage, CudaPackage):
variant("zfp", default=True, description="Enable ZFP compression")
variant("png", default=True, when="@2.4:", description="Enable PNG compression")
variant("sz", default=True, description="Enable SZ compression")
variant("mgard", default=True, when="@2.8:", description="Enable MGARD compression")
# Rransport engines
variant("sst", default=True, description="Enable the SST staging engine")
@ -136,6 +137,7 @@ class Adios2(CMakePackage, CudaPackage):
depends_on("libpng@1.6:", when="+png")
depends_on("zfp@0.5.1:0.5", when="+zfp")
depends_on("sz@2.0.2.0:", when="+sz")
depends_on("mgard", when="+mgard")
extends("python", when="+python")
depends_on("python@2.7:2.8,3.5:", when="@:2.4.0 +python", type=("build", "run"))