ADIOS2: Campaign Variant (#43906)

With v2.10+, ADIOS added a campaign manager. This is auto-enabled
if SQLite3 is found.

Add explicit control for it now and disables it by default, to avoid
picking up system dependencies or bloating by default the ADIOS2
dependencies. Also, not yet fully mature to be used by default:
https://github.com/ornladios/ADIOS2/issues/4148
This commit is contained in:
Axel Huebl 2024-05-01 15:50:45 -07:00 committed by GitHub
parent d21aa1cc12
commit 5d846a69d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,6 +82,7 @@ class Adios2(CMakePackage, CudaPackage, ROCmPackage):
when="+shared",
description="Enable the DataMan engine for WAN transports",
)
variant("campaign", default=False, when="@2.10:", description="Enable campaign management")
variant("dataspaces", default=False, when="@2.5:", description="Enable support for DATASPACES")
variant("ssc", default=True, when="@:2.7", description="Enable the SSC staging engine")
variant("hdf5", default=False, description="Enable the HDF5 engine")
@ -173,6 +174,8 @@ class Adios2(CMakePackage, CudaPackage, ROCmPackage):
depends_on("hdf5~mpi", when="+hdf5~mpi")
depends_on("hdf5+mpi", when="+hdf5+mpi")
depends_on("sqlite@3", when="+campaign")
depends_on("libpressio", when="+libpressio")
depends_on("c-blosc", when="+blosc")
depends_on("c-blosc2", when="+blosc2")
@ -251,6 +254,7 @@ def cmake_args(self):
from_variant("ADIOS2_USE_Blosc", "blosc"),
from_variant("ADIOS2_USE_Blosc2", "blosc2"),
from_variant("ADIOS2_USE_BZip2", "bzip2"),
from_variant("ADIOS2_USE_Campaign", "campaign"),
from_variant("ADIOS2_USE_DataMan", "dataman"),
from_variant("ADIOS2_USE_DataSpaces", "dataspaces"),
from_variant("ADIOS2_USE_Fortran", "fortran"),