diff options
author | G-Ragghianti <33492707+G-Ragghianti@users.noreply.github.com> | 2019-09-27 19:02:34 -0500 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-09-27 17:02:34 -0700 |
commit | 61d41eea7f913f9beb8128e5191697aad1734c07 (patch) | |
tree | 86a397ddf108a56ffa7d79282271744546119aa6 | |
parent | fc99eddb124b4bcc887eaa3d2c22d5fe2ef42893 (diff) | |
download | spack-61d41eea7f913f9beb8128e5191697aad1734c07.tar.gz spack-61d41eea7f913f9beb8128e5191697aad1734c07.tar.bz2 spack-61d41eea7f913f9beb8128e5191697aad1734c07.tar.xz spack-61d41eea7f913f9beb8128e5191697aad1734c07.zip |
New package: libibumad (#12886)
-rw-r--r-- | var/spack/repos/builtin/packages/libibumad/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libibumad/package.py b/var/spack/repos/builtin/packages/libibumad/package.py new file mode 100644 index 0000000000..4d5a683677 --- /dev/null +++ b/var/spack/repos/builtin/packages/libibumad/package.py @@ -0,0 +1,27 @@ + +# 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 Libibumad(CMakePackage): + """This package installs the user-space libraries and headers for libibumad. + This is a subset of the linux-rdma distribution.""" + + homepage = "https://github.com/linux-rdma/" + url = "https://github.com/linux-rdma/rdma-core/archive/v25.0.tar.gz" + + version('25.0', sha256='d735bd091d13e8a68ce650e432b5bdc934fc7f1d5fb42a6045278a5b3f7fe48b') + + depends_on('libnl') + + def build(self, spec, prefix): + with working_dir(join_path(self.build_directory, 'libibumad')): + make() + + def install(self, spec, prefix): + with working_dir(join_path(self.build_directory, 'libibumad')): + make('install') |