blob: c22dcce1c445c24c8f245f97242d82e576f15b97 (
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
|
# 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 LibpressioAdios2(CMakePackage):
"""An IO plugin to read/write ADIOS2 files for LibPressio"""
homepage = "https://github.com/robertu94/libpressio_adios2"
url = "https://github.com/robertu94/libpressio_adios2/archive/refs/tags/0.0.1.tar.gz"
maintainers("robertu94")
version("0.0.2", sha256="8ab4b5a0dd8038d52f54aa9b5a67b83a8f7cd096db4c5a413fe0c6caf678e402")
version("0.0.1", sha256="ab9c7e26114e8d81f8ad8aca703855079cd3441f9b72e01d9b4aeb0c57ce0746")
depends_on("libpressio@0.85.0:+mpi", when="@0.0.2")
depends_on("libpressio@0.60.0:+mpi")
depends_on("adios2@2.8.0:+mpi")
def cmake_args(self):
args = [
self.define("BUILD_TESTING", self.run_tests),
self.define("LIBPRESSIO_ADIOS2_WERROR", False),
]
return args
|