summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Payerle <payerle@umd.edu>2021-02-18 13:08:48 -0500
committerGitHub <noreply@github.com>2021-02-18 18:08:48 +0000
commitb448b639e6a16548469edf33813615195cc2c013 (patch)
tree9febb7a268b75975b3fa0347ebf3d435a1bcc783 /lib
parent3364e5550ffa7f4af1728ae3b97d2be5781041a3 (diff)
downloadspack-b448b639e6a16548469edf33813615195cc2c013.tar.gz
spack-b448b639e6a16548469edf33813615195cc2c013.tar.bz2
spack-b448b639e6a16548469edf33813615195cc2c013.tar.xz
spack-b448b639e6a16548469edf33813615195cc2c013.zip
Documentation fix: build_system configure_args for #21760 (#21761)
Corrects the signature for configure_args (and therefore configure_vars) in documentation on RPackage build system to match the code See issue #21760
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/build_systems/rpackage.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/docs/build_systems/rpackage.rst b/lib/spack/docs/build_systems/rpackage.rst
index 5a9dd28259..486fd95b69 100644
--- a/lib/spack/docs/build_systems/rpackage.rst
+++ b/lib/spack/docs/build_systems/rpackage.rst
@@ -297,8 +297,8 @@ like so:
.. code-block:: python
- def configure_args(self, spec, prefix):
- mpi_name = spec['mpi'].name
+ def configure_args(self):
+ mpi_name = self.spec['mpi'].name
# The type of MPI. Supported values are:
# OPENMPI, LAM, MPICH, MPICH2, or CRAY