summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/argobots/package.py1
-rw-r--r--var/spack/repos/builtin/packages/margo/package.py50
2 files changed, 51 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/argobots/package.py b/var/spack/repos/builtin/packages/argobots/package.py
index edb1f970f3..7ceca52c70 100644
--- a/var/spack/repos/builtin/packages/argobots/package.py
+++ b/var/spack/repos/builtin/packages/argobots/package.py
@@ -20,6 +20,7 @@ class Argobots(AutotoolsPackage):
git = "https://github.com/pmodels/argobots.git"
version("develop", branch="master")
+ version("1.0rc1", "729c018f3353976cb79c07ecaa13319d")
version("1.0b1", "5eeab7b2c639d08bbea22db3026cdf39")
version("1.0a1", "9d29d57d14d718f93b505178f6ba3e08")
diff --git a/var/spack/repos/builtin/packages/margo/package.py b/var/spack/repos/builtin/packages/margo/package.py
new file mode 100644
index 0000000000..928066d1a0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/margo/package.py
@@ -0,0 +1,50 @@
+# Copyright 2013-2019 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 import *
+
+
+class Margo(AutotoolsPackage):
+ """Argobots bindings to the Mercury RPC API"""
+
+ homepage = "https://xgitlab.cels.anl.gov/sds/margo"
+ url = "https://xgitlab.cels.anl.gov/sds/margo/-/archive/v0.4.3/margo-v0.4.3.tar.gz"
+ git = "https://xgitlab.cels.anl.gov/sds/margo.git"
+
+ maintainers = ['fbudin69500', 'chuckatkins']
+
+ version('develop', branch='master')
+ version('0.4.3', sha256='61a634d6983bee2ffa06e1e2da4c541cb8f56ddd9dd9f8e04e8044fb38657475')
+
+ variant('shared', default=True,
+ description='Build shared libraries instead of static libraries')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+ depends_on('pkgconfig', type='build')
+
+ depends_on('mercury')
+ depends_on('argobots@1.0rc1:')
+
+ build_directory = 'spack-build'
+
+ def configure_args(self):
+ spec = self.spec
+ args = []
+
+ if '+shared' in spec:
+ args.append('--enable-shared')
+ args.append('--disable-static')
+ else:
+ args.append('--enable-static')
+ args.append('--disable-shared')
+
+ return args
+
+ def autoreconf(self, spec, prefix):
+ sh = which('sh')
+ sh('./prepare.sh')