From fddaeadff8d83ff6d46364192763a66ed6a21781 Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Mon, 29 May 2023 03:23:42 -0600 Subject: OPENMPI: disable use of sphinx (#37717) Sphinx is used to build Open MPI manpages, etc. as part of the make dist process to create release tarballs. There should be no need/use to do this within Spack. Also some sites have older Sphinx installs which aren't compatible with the needs of the Open MPI documentation. For example, attempts to install openmpi@main fail at NERSC owing to such a situation. Since Spack normally is used to build from release tarballs, in which the docs have already been installed, this should present no issues. This configuration option will be ignored for older than 5.0.0 Open MPI releases. Signed-off-by: Howard Pritchard --- var/spack/repos/builtin/packages/openmpi/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py index 7d2347a39d..89cd303f94 100644 --- a/var/spack/repos/builtin/packages/openmpi/package.py +++ b/var/spack/repos/builtin/packages/openmpi/package.py @@ -905,7 +905,7 @@ class Openmpi(AutotoolsPackage, CudaPackage): def configure_args(self): spec = self.spec - config_args = ["--enable-shared", "--disable-silent-rules"] + config_args = ["--enable-shared", "--disable-silent-rules", "--disable-sphinx"] # All rpath flags should be appended with self.compiler.cc_rpath_arg. # Later, we might need to update share/openmpi/mpic++-wrapper-data.txt -- cgit v1.2.3-60-g2f50