summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/hdf5-vol-log/package.py
blob: fda6ed0c5a56c9b3d103ee7b50f27d266f90cf28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 2013-2022 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 Hdf5VolLog(AutotoolsPackage):
    """Log-based VOL - an HDF5 VOL Plugin that stores HDF5 datasets in a log-based
    storage layout."""

    homepage = "https://github.com/DataLib-ECP/vol-log-based"
    url = "https://github.com/DataLib-ECP/vol-log-based"
    git = "https://github.com/DataLib-ECP/vol-log-based.git"
    maintainers = ["hyoklee", "lrknox"]

    version("master-1.1", branch="master")

    version("1.3.0", tag="logvol.1.3.0")
    version("1.2.0", tag="logvol.1.2.0")
    version("1.1.0", tag="logvol.1.1.0")

    depends_on("hdf5@1.13.2:")
    depends_on("autoconf", type="build")
    depends_on("automake", type="build")
    depends_on("libtool", type="build")
    depends_on("m4", type="build")

    def configure_args(self):
        args = []

        args.append("--enable-shared")
        args.append("--enable-zlib")

        return args