summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGreg Becker <becker33@llnl.gov>2019-08-29 10:35:48 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2019-08-29 09:35:48 -0600
commitc8b613d261e6ec6619e0c00c1bc5c65379ceebb7 (patch)
tree8f73245586afcd2ae7d89bb010bc6df475c8508f /lib
parentae70c75e3c2cef172bb19688da997698c2336cc0 (diff)
downloadspack-c8b613d261e6ec6619e0c00c1bc5c65379ceebb7.tar.gz
spack-c8b613d261e6ec6619e0c00c1bc5c65379ceebb7.tar.bz2
spack-c8b613d261e6ec6619e0c00c1bc5c65379ceebb7.tar.xz
spack-c8b613d261e6ec6619e0c00c1bc5c65379ceebb7.zip
fix packaging_guide variant table (#12296)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/packaging_guide.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/spack/docs/packaging_guide.rst b/lib/spack/docs/packaging_guide.rst
index ffaacfd8f1..6c3d7c0602 100644
--- a/lib/spack/docs/packaging_guide.rst
+++ b/lib/spack/docs/packaging_guide.rst
@@ -3856,7 +3856,6 @@ variant names are:
Name Default Description
======= ======== ========================
shared True Build shared libraries
- static True Build static libraries
mpi True Use MPI
python False Build Python extension
======= ======== ========================
@@ -3864,6 +3863,12 @@ variant names are:
If specified in this table, the corresponding default should be used
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
^^^^^^^^^^^^^