summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/adios2/package.py
blob: 89d1a8d81c03c80239065b66f261f290d72f2e7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2024 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 Adios2(Package):
    """This packagae has the variants shared and
    bzip2, both defaulted to True"""

    homepage = "https://example.com"
    url = "https://example.com/adios2.tar.gz"

    version("2.9.1", sha256="ddfa32c14494250ee8a48ef1c97a1bf6442c15484bbbd4669228a0f90242f4f9")

    variant("shared", default=True, description="Build shared libraries")
    variant("bzip2", default=True, description="Enable BZip2 compression")

    depends_on("bzip2")