Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
sds-repo
Commits
b0be152c
Commit
b0be152c
authored
Aug 31, 2017
by
Rob Latham
Browse files
SSG package
parent
5e25cb40
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/ssg/package.py
0 → 100644
View file @
b0be152c
from
spack
import
*
class
Ssg
(
AutotoolsPackage
):
"""SSG is a group membership microservice based on the Mercury RPC system.
It provides mechanisms for bootstrapping sets of Mercury processes into
logical groups and for managing the membership of these process groups over
time. At a high-level, each group collectively maintains a group view,
which is just a mapping from group member identifiers to Mercury address
information"""
homepage
=
"https://xgitlab.cels.anl.gov/sds/ssg"
version
(
'master'
,
git
=
'https://xgitlab.cels.anl.gov/sds/ssg.git'
)
variant
(
'mpi'
,
default
=
False
,
description
=
'Build with MPI support'
)
depends_on
(
'mpi'
,
when
=
'+mpi'
)
depends_on
(
'mercury'
)
depends_on
(
'argobots'
)
depends_on
(
'margo'
)
depends_on
(
'abtsnoozer'
)
depends_on
(
'libev'
)
def
configure_args
(
self
):
spec
=
self
.
spec
extra_args
=
[]
if
'+mpi'
in
spec
:
extra_args
.
extend
([
"--enable-mpi"
,
"CC=%s"
%
spec
[
'mpi'
].
mpicc
])
return
extra_args
def
install
(
self
,
spec
,
prefix
):
# FIXME: Unknown build system
make
()
make
(
'install'
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment