diff options
author | Richarda Butler <39577672+RikkiButler20@users.noreply.github.com> | 2023-01-23 16:42:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-24 00:42:08 +0000 |
commit | a4b8753456706e2727daa45b32d120ce825099be (patch) | |
tree | 1d69e4c74426405489749b186ac2a92bd6e45a32 /lib | |
parent | f3e76694003a6800a185a8f15eae3d1d6a3514aa (diff) | |
download | spack-a4b8753456706e2727daa45b32d120ce825099be.tar.gz spack-a4b8753456706e2727daa45b32d120ce825099be.tar.bz2 spack-a4b8753456706e2727daa45b32d120ce825099be.tar.xz spack-a4b8753456706e2727daa45b32d120ce825099be.zip |
Update: spack help --spec (#35115)
* Update variant & compiler propagation
* Add the info for non boolean variants
* Add example for multi variants
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/cmd/help.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/spack/spack/cmd/help.py b/lib/spack/spack/cmd/help.py index 47415681ec..5db43654a8 100644 --- a/lib/spack/spack/cmd/help.py +++ b/lib/spack/spack/cmd/help.py @@ -39,12 +39,19 @@ spec expression syntax: compiler flags: @g{cflags="flags"} cppflags, cflags, cxxflags, fflags, ldflags, ldlibs + @g{cflags=="flags"} propagate flags to package dependencies + cppflags, cflags, cxxflags, fflags, + ldflags, ldlibs variants: @B{+variant} enable <variant> + @B{++variant} propagate enable <variant> @r{-variant} or @r{~variant} disable <variant> + @r{--variant} or @r{~~variant} propagate disable <variant> @B{variant=value} set non-boolean <variant> to <value> + @B{variant==value} propagate non-boolean <variant> to <value> @B{variant=value1,value2,value3} set multi-value <variant> values + @B{variant==value1,value2,value3} propagate multi-value <variant> values architecture variants: @m{platform=platform} linux, darwin, cray, etc. @@ -68,6 +75,8 @@ spec expression syntax: hdf5 @c{@1.8:} @g{%gcc} hdf5 1.8 or higher built with gcc hdf5 @B{+mpi} hdf5 with mpi enabled hdf5 @r{~mpi} hdf5 with mpi disabled + hdf5 @B{++mpi} hdf5 with mpi enabled and propagates + hdf5 @r{~~mpi} hdf5 with mpi disabled and propagates hdf5 @B{+mpi} ^mpich hdf5 with mpi, using mpich hdf5 @B{+mpi} ^openmpi@c{@1.7} hdf5 with mpi, using openmpi 1.7 boxlib @B{dim=2} boxlib built for 2 dimensions |