summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVanessasaurus <814322+vsoch@users.noreply.github.com>2021-04-16 01:29:42 -0600
committerGitHub <noreply@github.com>2021-04-16 09:29:42 +0200
commite6de04d149f27e1ac1004087f9865f522d780ddd (patch)
tree0c766d63388d158e403bd48a0bb0ed6e3c02bc74 /lib
parent5d420544833360b437663ac29b3f010fb89d0f93 (diff)
downloadspack-e6de04d149f27e1ac1004087f9865f522d780ddd.tar.gz
spack-e6de04d149f27e1ac1004087f9865f522d780ddd.tar.bz2
spack-e6de04d149f27e1ac1004087f9865f522d780ddd.tar.xz
spack-e6de04d149f27e1ac1004087f9865f522d780ddd.zip
docs: spack does not have a variant debug for libelf (#23021)
Signed-off-by: vsoch <vsoch@users.noreply.github.com> Co-authored-by: vsoch <vsoch@users.noreply.github.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/basic_usage.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/spack/docs/basic_usage.rst b/lib/spack/docs/basic_usage.rst
index 738b4c579b..a8a45b65cb 100644
--- a/lib/spack/docs/basic_usage.rst
+++ b/lib/spack/docs/basic_usage.rst
@@ -963,7 +963,7 @@ Variants are named options associated with a particular package. They are
optional, as each package must provide default values for each variant it
makes available. Variants can be specified using
a flexible parameter syntax ``name=<value>``. For example,
-``spack install libelf debug=True`` will install libelf built with debug
+``spack install mercury debug=True`` will install mercury built with debug
flags. The names of particular variants available for a package depend on
what was provided by the package author. ``spack info <package>`` will
provide information on what build variants are available.
@@ -971,11 +971,11 @@ provide information on what build variants are available.
For compatibility with earlier versions, variants which happen to be
boolean in nature can be specified by a syntax that represents turning
options on and off. For example, in the previous spec we could have
-supplied ``libelf +debug`` with the same effect of enabling the debug
+supplied ``mercury +debug`` with the same effect of enabling the debug
compile time option for the libelf package.
Depending on the package a variant may have any default value. For
-``libelf`` here, ``debug`` is ``False`` by default, and we turned it on
+``mercury`` here, ``debug`` is ``False`` by default, and we turned it on
with ``debug=True`` or ``+debug``. If a variant is ``True`` by default
you can turn it off by either adding ``-name`` or ``~name`` to the spec.