Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
76cb3eb7
Commit
76cb3eb7
authored
9 years ago
by
Todd Gamblin
Browse files
Options
Downloads
Patches
Plain Diff
Add help on specs to top of spack -h
parent
50970b72
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/spack
+15
-1
15 additions, 1 deletion
bin/spack
with
15 additions
and
1 deletion
bin/spack
+
15
−
1
View file @
76cb3eb7
...
...
@@ -49,13 +49,27 @@ except OSError:
# clean up the scope and start using spack package instead.
del
SPACK_FILE
,
SPACK_PREFIX
,
SPACK_LIB_PATH
import
llnl.util.tty
as
tty
from
llnl.util.tty.color
import
*
import
spack
from
spack.error
import
SpackError
from
external
import
argparse
# Command parsing
parser
=
argparse
.
ArgumentParser
(
description
=
'
Spack: the Supercomputing PACKage Manager.
'
)
formatter_class
=
argparse
.
RawTextHelpFormatter
,
description
=
"
Spack: the Supercomputing PACKage Manager.
"
+
colorize
(
"""
spec expressions:
PACKAGE [CONSTRAINTS]
CONSTRAINTS:
@c{@version}
@g{%compiler @compiler_version}
@B{+variant}
@r{-variant} or @r{~variant}
@m{=architecture}
[^DEPENDENCY [CONSTRAINTS] ...]
"""
))
parser
.
add_argument
(
'
-d
'
,
'
--debug
'
,
action
=
'
store_true
'
,
help
=
"
Write out debug logs during compile
"
)
parser
.
add_argument
(
'
-k
'
,
'
--insecure
'
,
action
=
'
store_true
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment