From b448b639e6a16548469edf33813615195cc2c013 Mon Sep 17 00:00:00 2001 From: Tom Payerle Date: Thu, 18 Feb 2021 13:08:48 -0500 Subject: 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 --- lib/spack/docs/build_systems/rpackage.rst | 4 ++-- 1 file 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 -- cgit v1.2.3-60-g2f50