
* ECP-SDK: enable hdf5 VOL adapters - When +hdf5, enable VOL adapters suitable for the SDK. - Each VOL package must prepend to the HDF5_PLUGIN_PATH. - hdf5: 1.13.3 will break existing VOL packages, constrain VOLs related to SDK and add note to keep 1.13.2 available. - hdf5-vol-async: - Do not set HDF5_VOL_CONNECTOR, consumers must opt-in. - Enforce DAG constraints on MPI to require threaded version. - Depend on an explicit version of argbots to relax concretization issues in other spack environments. - paraview: fix compiler flag usage for the 110 ABI (followup to #33617). * ECP Data and ViS: Add constraits for HDF5 VOLS * CI: HDF5 1.14 builds without VisIt * hdf5-vol-async: Update docs string --------- Co-authored-by: Stephen McDowell <stephen.mcdowell@kitware.com>
38 lines
1.1 KiB
Python
38 lines
1.1 KiB
Python
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
from spack.package import *
|
|
|
|
|
|
class Hdf5VolCache(CMakePackage):
|
|
"""Package for HDF5 cache VOL."""
|
|
|
|
homepage = "https://vol-cache.readthedocs.io"
|
|
git = "https://github.com/hpc-io/vol-cache.git"
|
|
|
|
maintainers("hyoklee", "lrknox")
|
|
|
|
version("default", branch="develop")
|
|
version("v1.1", tag="v1.1")
|
|
version("v1.0", tag="v1.0")
|
|
|
|
depends_on("hdf5@1.13: +mpi +threadsafe")
|
|
depends_on("hdf5-vol-async")
|
|
|
|
def setup_run_environment(self, env):
|
|
env.prepend_path("HDF5_PLUGIN_PATH", self.spec.prefix.lib)
|
|
|
|
def cmake_args(self):
|
|
"""Populate cmake arguments for HDF5 VOL."""
|
|
args = [
|
|
self.define("BUILD_SHARED_LIBS", True),
|
|
self.define("BUILD_TESTING", self.run_tests),
|
|
]
|
|
return args
|
|
|
|
def check(self):
|
|
if self.run_tests:
|
|
with working_dir(self.build_directory):
|
|
make("test")
|