You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No docs without a properly installed sphinx (with modules).
The logic to install the dpc was missing a protection around the case
where sphinx was installed but the modules required for OMPI were not. I
slightly change the order of operations to ensure that we never try to
install the docs if there were not available (aka not from a tarball) or
not properly generated.
Signed-off-by: George Bosilca <gbosilca@nvidia.com>
Copy file name to clipboardExpand all lines: oac_setup_sphinx.m4
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@ dnl -*- autoconf -*-
2
2
dnl
3
3
dnl Copyright (c) 2020-2022 Cisco Systems, Inc. All rights reserved.
4
4
dnl Copyright (c) 2024 Jeffrey M. Squyres. All rights reserved.
5
+
dnl Copyright (c) 2025 NVIDIA Corporation. All rights reserved.
5
6
dnl
6
7
dnl $COPYRIGHT$
7
8
dnl
@@ -41,14 +42,9 @@ AC_DEFUN([OAC_SETUP_SPHINX],[
41
42
[AS_HELP_STRING([--enable-sphinx],
42
43
[Force configure to fail if Sphinx is not found (Sphinx is used to build the HTML docs and man pages). This option is likely only useful for developers; end users who are building from distribution tarballs do ***not*** need to have Sphinx installed])])
43
44
44
-
# Quick check to see if we have already-built docs (e.g., if we're
45
-
# in a tarball vs. a fresh git clone).
46
-
AC_MSG_CHECKING([if pre-built docs are available])
47
-
AS_IF([test -f "$1"],
48
-
[oac_install_docs=1
49
-
AC_MSG_RESULT([yes])],
50
-
[oac_install_docs=0
51
-
AC_MSG_RESULT([no])])
45
+
# By default assume we don't have to install. We'll update as we find
46
+
# either a sane building environment or pre-built documentation (from a tarball).
47
+
oac_install_docs=0
52
48
53
49
# To generate HTML docs + man pages, we need Sphinx. If we have
54
50
# Sphinx, then we're able to both build and install the docs
0 commit comments