ARMCI-MPI: add new package (#43813)
Signed-off-by: Jeff Hammond <jeff.science@gmail.com> Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
parent
0f502bb6c3
commit
3e1474dbbb
1 changed files with 43 additions and 0 deletions
43
var/spack/repos/builtin/packages/armci-mpi/package.py
Normal file
43
var/spack/repos/builtin/packages/armci-mpi/package.py
Normal file
|
@ -0,0 +1,43 @@
|
|||
# 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 ArmciMpi(AutotoolsPackage):
|
||||
"""ARMCI-MPI is an implementation of the ARMCI library used by Global Arrays.
|
||||
MPI-3 one-sided communication is used to implement ARMCI.
|
||||
"""
|
||||
|
||||
homepage = "https://github.com/pmodels/armci-mpi"
|
||||
url = "https://github.com/pmodels/armci-mpi/archive/refs/tags/v0.4.tar.gz"
|
||||
|
||||
maintainers("jeffhammond")
|
||||
|
||||
license("BSD-3-Clause", checked_by="jeffhammond")
|
||||
|
||||
version("0.4", sha256="bcc3bb189b23bf653dcc69bc469eb86eae5ebc5ad94ab5f83e52ddbdbbebf1b1")
|
||||
version(
|
||||
"0.3.1-beta", sha256="f3eaa8f365fb55123ecd9ced401086b0732e37e4df592b27916d71a67ab34fe9"
|
||||
)
|
||||
|
||||
variant("shared", default=True, description="Builds a shared version of the library")
|
||||
variant("progress", default=False, description="Enable asynchronous progress")
|
||||
|
||||
depends_on("autoconf", type="build")
|
||||
depends_on("automake", type="build")
|
||||
depends_on("libtool", type="build")
|
||||
depends_on("m4", type="build")
|
||||
|
||||
depends_on("mpi")
|
||||
|
||||
def autoreconf(self, spec, prefix):
|
||||
autoreconf("--install", "--verbose", "--force")
|
||||
|
||||
def configure_args(self):
|
||||
args = ["--enable-g"]
|
||||
args.extend(self.enable_or_disable("shared"))
|
||||
args.extend(self.with_or_without("progress"))
|
||||
return args
|
Loading…
Reference in a new issue