-
Notifications
You must be signed in to change notification settings - Fork 864
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11820 from jsquyres/pr/generate-mpirun-man-page
Include PRTE RST content in mpirun.1 man page
- Loading branch information
Showing
16 changed files
with
636 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,7 @@ | |
Jeff Squyres <[email protected]> <[email protected]> | ||
Jeff Squyres <[email protected]> --quiet <--quiet> | ||
Jeff Squyres <[email protected]> | ||
Jeff Squyres <[email protected]> | ||
|
||
George Bosilca <[email protected]> <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
|
||
set -euxo pipefail | ||
|
||
# The ReadTheDocs build process does not run autogen/configure/make. | ||
# Hence, we have to copy the PRRTE RST files (from the 3rd-party/prrte | ||
# tree) to our docs/ tree manually. | ||
|
||
# Ensure that we're in the RTD CI environment | ||
|
||
if [[ "${READTHEDOCS:-no}" == "no" ]]; then | ||
echo "This script is only intended to be run in the ReadTheDocs CI environment" | ||
exit 1 | ||
fi | ||
|
||
SCHIZO_SRC_DIR=3rd-party/prrte/src/mca/schizo/ompi | ||
SCHIZO_TARGET_DIR=docs/schizo-ompi-rst-content | ||
|
||
PRRTE_RST_SRC_DIR=3rd-party/prrte/src/docs/prrte-rst-content | ||
PRRTE_RST_TARGET_DIR=docs/prrte-rst-content | ||
|
||
# Copy the OMPI schizo file from PRRTE | ||
|
||
cp -rp $SCHIZO_SRC_DIR $SCHIZO_TARGET_DIR | ||
|
||
# Only copy the PRRTE RST source files in prrte-rst-content that are | ||
# referenced by ".. include::" in the schizo-ompi-cli.rst file. We do | ||
# this because Sphinx complains if there are .rst files that are not | ||
# referenced. :-( | ||
|
||
mkdir -p $PRRTE_RST_TARGET_DIR | ||
files=`fgrep '.. include::' $SCHIZO_TARGET_DIR/schizo-ompi-cli.rstxt | awk '{ print $3 }'` | ||
for file in $files; do | ||
filename=`basename $file` | ||
cp -pf $PRRTE_RST_SRC_DIR/$filename $PRRTE_RST_TARGET_DIR | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.