From e6de04d149f27e1ac1004087f9865f522d780ddd Mon Sep 17 00:00:00 2001 From: Vanessasaurus <814322+vsoch@users.noreply.github.com> Date: Fri, 16 Apr 2021 01:29:42 -0600 Subject: docs: spack does not have a variant debug for libelf (#23021) Signed-off-by: vsoch Co-authored-by: vsoch --- lib/spack/docs/basic_usage.rst | 6 +++--- 1 file 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=``. 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 `` 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. -- cgit v1.2.3-70-g09d2