From 7456a0348f7b51c6bee54d14bde86f7b91485e10 Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Thu, 24 Jun 2021 14:55:01 -0600 Subject: OPENMPI: fixes to enable building of ompi master (#24391) yes I know this name isn't popular but that's the way it is right now. master and the upcoming v5.0.x release branch use git submodules. Signed-off-by: Howard Pritchard --- var/spack/repos/builtin/packages/openmpi/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py index 9dac13eb99..799256632e 100644 --- a/var/spack/repos/builtin/packages/openmpi/package.py +++ b/var/spack/repos/builtin/packages/openmpi/package.py @@ -33,7 +33,7 @@ class Openmpi(AutotoolsPackage): executables = ['^ompi_info$'] - version('master', branch='master') + version('master', branch='master', submodules=True) # Current version('4.1.1', sha256='e24f7a778bd11a71ad0c14587a7f5b00e68a71aa5623e2157bafee3d44c07cda') # libmpi.so.40.30.1 @@ -598,7 +598,7 @@ class Openmpi(AutotoolsPackage): 'OpenMPI requires both C and Fortran compilers!' ) - @when('@develop') + @when('@master') def autoreconf(self, spec, prefix): perl = which('perl') perl('autogen.pl') -- cgit v1.2.3-60-g2f50