diff options
author | Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> | 2024-07-01 10:28:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-01 10:28:26 -0700 |
commit | 61d6fc70e87032aa4ee4ebd00aaf8e3bef776e97 (patch) | |
tree | 017376e4f26bd536babf25ffda0983f2b87ebf2e /lib | |
parent | 7c65655c7e086b57bcb05d8b4d6c04e49183b1fd (diff) | |
download | spack-61d6fc70e87032aa4ee4ebd00aaf8e3bef776e97.tar.gz spack-61d6fc70e87032aa4ee4ebd00aaf8e3bef776e97.tar.bz2 spack-61d6fc70e87032aa4ee4ebd00aaf8e3bef776e97.tar.xz spack-61d6fc70e87032aa4ee4ebd00aaf8e3bef776e97.zip |
Docs: include cmake spec property for the command (#44956)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/docs/packaging_guide.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/docs/packaging_guide.rst b/lib/spack/docs/packaging_guide.rst index 7a66601189..629b87e8e0 100644 --- a/lib/spack/docs/packaging_guide.rst +++ b/lib/spack/docs/packaging_guide.rst @@ -5589,7 +5589,8 @@ compiler configuration. This is accomplished by setting the package's Setting the property to ``True`` ensures access to the compiler through canonical environment variables (e.g., ``CC``, ``CXX``, ``FC``, ``F77``). It also gives access to build dependencies like ``cmake`` through their - ``spec objects`` (e.g., ``self.spec["cmake"].prefix.bin.cmake``). + ``spec objects`` (e.g., ``self.spec["cmake"].prefix.bin.cmake`` for the + path or ``self.spec["cmake"].command`` for the ``Executable`` instance). Be sure to add the property at the top of the package class under other properties like the ``homepage``. |