Skip to content

Commit

Permalink
Make diy generate verbose build output by default.
Browse files Browse the repository at this point in the history
- added -q option to shut it up
  • Loading branch information
tgamblin committed Mar 8, 2016
1 parent a1be45d commit df84677
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/spack/spack/cmd/diy.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ def setup_parser(subparser):
subparser.add_argument(
'--skip-patch', action='store_true',
help="Skip patching for the DIY build.")
subparser.add_argument(
'-q', '--quiet', action='store_true', dest='quiet',
help="Do not display verbose build output while installing.")
subparser.add_argument(
'spec', nargs=argparse.REMAINDER,
help="specs to use for install. Must contain package AND verison.")
Expand Down Expand Up @@ -92,4 +95,5 @@ def diy(self, args):
package.do_install(
keep_prefix=args.keep_prefix,
ignore_deps=args.ignore_deps,
verbose=not args.quiet,
keep_stage=True) # don't remove source dir for DIY.

0 comments on commit df84677

Please sign in to comment.