diff options
author | Sam GutiƩrrez <samuelkgutierrez@users.noreply.github.com> | 2018-08-22 13:21:30 -0600 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-08-22 14:21:30 -0500 |
commit | 66971f6ac8a0086c53dfb09280ac31a01aac420d (patch) | |
tree | 50ae696266ec56cdd62196c5add296296b152602 /var | |
parent | 0b2a4aea6db46fdccfc5c5879991d8b768ef9c57 (diff) | |
download | spack-66971f6ac8a0086c53dfb09280ac31a01aac420d.tar.gz spack-66971f6ac8a0086c53dfb09280ac31a01aac420d.tar.bz2 spack-66971f6ac8a0086c53dfb09280ac31a01aac420d.tar.xz spack-66971f6ac8a0086c53dfb09280ac31a01aac420d.zip |
libfabric: Add develop version option. (#9074)
Add develop version option to libfabric, conditionally bringing in
additional build dependencies: m4, autoconf, automake, libtool.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/libfabric/package.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libfabric/package.py b/var/spack/repos/builtin/packages/libfabric/package.py index cc5601436f..404b1826ee 100644 --- a/var/spack/repos/builtin/packages/libfabric/package.py +++ b/var/spack/repos/builtin/packages/libfabric/package.py @@ -31,7 +31,9 @@ class Libfabric(AutotoolsPackage): homepage = "https://libfabric.org/" url = "https://github.com/ofiwg/libfabric/releases/download/v1.6.1/libfabric-1.6.1.tar.gz" + git = "https://github.com/ofiwg/libfabric.git" + version('develop', branch='master') version('1.6.1', 'ff78dc9fcbf273a119c737a4e1df46d1') version('1.6.0', '91d63ab3c0b9724a4db660019f928cab') version('1.5.3', '1fe07e972fe487c6a3e44c0fb68b49a2') @@ -63,6 +65,16 @@ class Libfabric(AutotoolsPackage): depends_on('psm', when='fabrics=psm') depends_on('ucx', when='fabrics=mlx') + depends_on('m4', when='@develop', type='build') + depends_on('autoconf', when='@develop', type='build') + depends_on('automake', when='@develop', type='build') + depends_on('libtool', when='@develop', type='build') + + @when('@develop') + def autoreconf(self, spec, prefix): + bash = which('bash') + bash('./autogen.sh') + def configure_args(self): args = [] |