Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sds-repo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
sds-repo
Commits
848e6f33
Commit
848e6f33
authored
Nov 20, 2018
by
Matthieu Dorier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed mercury package, which is now upstream
parent
28646cf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
67 deletions
+0
-67
packages/mercury/package.py
packages/mercury/package.py
+0
-67
No files found.
packages/mercury/package.py
deleted
100644 → 0
View file @
28646cf8
##############################################################################
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-647188
#
# For details, see https://github.com/llnl/spack
# Please also see the LICENSE file for our notice and the LGPL.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License (as
# published by the Free Software Foundation) version 2.1, February 1999.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
# conditions of the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
from
spack
import
*
class
Mercury
(
CMakePackage
):
"""Mercury is a C library for implementing RPC, optimized for HPC"""
homepage
=
"https://mercury-hpc.github.io/"
url
=
"https://github.com/mercury-hpc/mercury/archive/0.9.0.tar.gz"
git
=
"https://github.com/mercury-hpc/mercury.git"
version
(
'develop'
,
branch
=
'master'
,
submodules
=
True
)
version
(
'1.0.0'
,
tag
=
'v1.0.0'
,
submodules
=
True
,
preferred
=
True
)
version
(
'0.9.0'
,
tag
=
'v0.9.0'
,
submodules
=
True
)
variant
(
'cci'
,
default
=
False
,
description
=
"Use CCI for network transport"
)
variant
(
'bmi'
,
default
=
False
,
description
=
"Use BMI for network transport"
)
variant
(
'fabric'
,
default
=
True
,
description
=
"Use libfabric for net transport"
)
variant
(
'selfforward'
,
default
=
True
,
description
=
"Mercury will short-circuit operations by forwarding to itself when possible"
)
# if nothing specified, build good ol' BMI
depends_on
(
'cci@master'
,
when
=
"+cci"
,
type
=
(
"build"
,
"link"
,
"run"
))
depends_on
(
'libfabric'
,
when
=
"+fabric"
,
type
=
(
"build"
,
"link"
,
"run"
))
depends_on
(
'libfabric@develop'
,
when
=
"+fabric platform=cray"
,
type
=
(
"build"
,
"link"
,
"run"
))
depends_on
(
'bmi'
,
when
=
"+bmi"
,
type
=
(
"build"
,
"link"
,
"run"
))
depends_on
(
'openpa'
,
type
=
(
"build"
,
"link"
,
"run"
))
def
cmake_args
(
self
):
# as of mercury commit 662423eb360b, the boost preprocessor macros are
# rolled up inside mercury itself, so we can use the boost convienience
# macros without pulling in all of boost
args
=
[
"-DMERCURY_USE_BOOST_PP:BOOL=ON"
,
"-DBUILD_SHARED_LIBS=ON"
]
if
(
self
.
spec
.
variants
[
'cci'
].
value
):
args
.
extend
([
"-DNA_USE_CCI:BOOL=ON"
])
if
(
self
.
spec
.
variants
[
'bmi'
].
value
):
args
.
extend
([
"-DNA_USE_BMI:BOOL=ON"
])
if
(
self
.
spec
.
variants
[
'fabric'
].
value
):
args
.
extend
([
"-DNA_USE_OFI:BOOL=ON"
])
if
(
self
.
spec
.
variants
[
'selfforward'
].
value
):
args
.
extend
([
"-DMERCURY_USE_SELF_FORWARD=ON"
])
return
args
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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