summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>2023-01-12 11:01:35 -0800
committerGitHub <noreply@github.com>2023-01-12 11:01:35 -0800
commitc0b458e38a6b1403227d83966f3200869c18a5d4 (patch)
tree308c0c55939f7beef542d434ec36406e11d1ecce /lib
parentdeef4177f70cf288dfc5314ac5d2e800b2073d09 (diff)
downloadspack-c0b458e38a6b1403227d83966f3200869c18a5d4.tar.gz
spack-c0b458e38a6b1403227d83966f3200869c18a5d4.tar.bz2
spack-c0b458e38a6b1403227d83966f3200869c18a5d4.tar.xz
spack-c0b458e38a6b1403227d83966f3200869c18a5d4.zip
Documentation: Add installation policy to packaging guide (#34878)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/packaging_guide.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/spack/docs/packaging_guide.rst b/lib/spack/docs/packaging_guide.rst
index 27705b3dbf..45f1533e66 100644
--- a/lib/spack/docs/packaging_guide.rst
+++ b/lib/spack/docs/packaging_guide.rst
@@ -34,6 +34,15 @@ ubiquitous in the scientific software community. Second, it's a modern
language and has many powerful features to help make package writing
easy.
+.. warning::
+
+ As a general rule, packages should install the software *from source*.
+ The only exception is for proprietary software (e.g., vendor compilers).
+
+ If a special build system needs to be added in order to support building
+ a package from source, then the associated code and recipe need to be added
+ first.
+
.. _installation_procedure: