2019-01-01 14:04:23 +08:00
|
|
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2018-09-15 06:48:40 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2018-09-15 06:48:40 +08:00
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
|
|
|
class Argobots(AutotoolsPackage):
|
|
|
|
"""Argobots, which was developed as a part of the Argo project, is
|
|
|
|
a lightweight runtime system that supports integrated computation
|
|
|
|
and data movement with massive concurrency. It will directly
|
|
|
|
leverage the lowest-level constructs in the hardware and OS:
|
|
|
|
lightweight notification mechanisms, data movement engines, memory
|
|
|
|
mapping, and data placement strategies. It consists of an
|
|
|
|
execution model and a memory model."""
|
|
|
|
|
|
|
|
homepage = "http://www.argobots.org/"
|
|
|
|
url = "https://github.com/pmodels/argobots/releases/download/v1.0b1/argobots-1.0b1.tar.gz"
|
2018-11-15 11:39:35 +08:00
|
|
|
git = "https://github.com/pmodels/argobots.git"
|
2019-11-21 10:04:46 +08:00
|
|
|
maintainers = ['shintaro-iwasaki']
|
2018-09-15 06:48:40 +08:00
|
|
|
|
2019-11-21 10:04:46 +08:00
|
|
|
version("master", branch="master")
|
|
|
|
version("1.0rc2", sha256="7496b8bd39930a548b01aa3b1fe8f8b582c272600ef6a05ddc4398cf21dc12a2")
|
2019-10-11 13:44:41 +08:00
|
|
|
version("1.0rc1", sha256="2dc4487556dce602655a6535f501136f0edc3575708029c80b1af6dccd069ce7")
|
|
|
|
version("1.0b1", sha256="480b85b0e8db288400088a57c2dc5639f556843b06b0492841920c38348a2a3e")
|
|
|
|
version("1.0a1", sha256="bef93e06026ddeba8809474923176803e64d08e1425672cd7c5b424c797d5d9d")
|
2018-11-15 11:39:35 +08:00
|
|
|
|
|
|
|
variant("valgrind", default=False, description="Enable Valgrind")
|
|
|
|
|
2019-12-04 02:09:15 +08:00
|
|
|
depends_on("m4", type=("build"), when="@master")
|
|
|
|
depends_on("autoconf", type=("build"), when="@master")
|
|
|
|
depends_on("automake", type=("build"), when="@master")
|
|
|
|
depends_on("libtool", type=("build"), when="@master")
|
2018-11-15 11:39:35 +08:00
|
|
|
depends_on("valgrind", when="+valgrind")
|
|
|
|
|
|
|
|
def configure_args(self):
|
|
|
|
args = ["--enable-perf-opt"]
|
|
|
|
if '+valgrind' in self.spec:
|
|
|
|
args.append('--enable-valgrind')
|
|
|
|
else:
|
|
|
|
args.append('--disable-valgrind')
|
|
|
|
|
|
|
|
return args
|