fix packaging_guide variant table (#12296)

This commit is contained in:
Greg Becker 2019-08-29 10:35:48 -05:00 committed by Todd Gamblin
parent ae70c75e3c
commit c8b613d261

View File

@ -3856,7 +3856,6 @@ variant names are:
Name Default Description Name Default Description
======= ======== ======================== ======= ======== ========================
shared True Build shared libraries shared True Build shared libraries
static True Build static libraries
mpi True Use MPI mpi True Use MPI
python False Build Python extension python False Build Python extension
======= ======== ======================== ======= ======== ========================
@ -3864,6 +3863,12 @@ variant names are:
If specified in this table, the corresponding default should be used If specified in this table, the corresponding default should be used
when declaring a variant. when declaring a variant.
The semantics of the `shared` variant are important. When a package is
built `~shared`, the package guarantees that no shared libraries are
built. When a package is built `+shared`, the package guarantees that
shared libraries are built, but it makes no guarantee about whether
static libraries are built.
^^^^^^^^^^^^^ ^^^^^^^^^^^^^
Version Lists Version Lists
^^^^^^^^^^^^^ ^^^^^^^^^^^^^