diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2019-01-09 03:48:55 +0100 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-01-08 20:48:55 -0600 |
commit | efe3e905a394ea9a70fe615a52baa5a488e866b1 (patch) | |
tree | d7b4edd56c74d3dbaa6a7c7587db7ae00fa8bdb3 /var | |
parent | e3a2c94d60ba9197bd799956d9a930be6c5b7bb9 (diff) | |
download | spack-efe3e905a394ea9a70fe615a52baa5a488e866b1.tar.gz spack-efe3e905a394ea9a70fe615a52baa5a488e866b1.tar.bz2 spack-efe3e905a394ea9a70fe615a52baa5a488e866b1.tar.xz spack-efe3e905a394ea9a70fe615a52baa5a488e866b1.zip |
OpenMPI: Add Development Version (#10257)
Add the development version of OpenMPI from the git repo
in `master`.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/openmpi/package.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py index 5eda1d0658..6219604078 100644 --- a/var/spack/repos/builtin/packages/openmpi/package.py +++ b/var/spack/repos/builtin/packages/openmpi/package.py @@ -60,6 +60,9 @@ class Openmpi(AutotoolsPackage): homepage = "http://www.open-mpi.org" url = "https://www.open-mpi.org/software/ompi/v4.0/downloads/openmpi-4.0.0.tar.bz2" list_url = "http://www.open-mpi.org/software/ompi/" + git = "https://github.com/open-mpi/ompi.git" + + version('develop', branch='master') # Current version('4.0.0', sha256='2f0b8a36cfeb7354b45dda3c5425ef8393c9b04115570b615213faaa3f97366b') # libmpi.so.40.20.0 @@ -226,6 +229,12 @@ class Openmpi(AutotoolsPackage): if sys.platform != 'darwin': depends_on('numactl') + depends_on('autoconf', type='build', when='@develop') + depends_on('automake', type='build', when='@develop') + depends_on('libtool', type='build', when='@develop') + depends_on('m4', type='build', when='@develop') + depends_on('perl', type='build', when='@develop') + depends_on('hwloc') # ompi@:3.0.0 doesn't support newer hwloc releases: # "configure: error: OMPI does not currently support hwloc v2 API" @@ -336,6 +345,11 @@ class Openmpi(AutotoolsPackage): 'OpenMPI requires both C and Fortran compilers!' ) + @when('@develop') + def autoreconf(self, spec, prefix): + perl = which('perl') + perl('autogen.pl') + def configure_args(self): spec = self.spec config_args = [ |