summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2013-02-21 19:27:27 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2013-02-21 19:27:27 -0800
commitbd59689fdcfd1e64a8e0926c6e9c0a4d1513f2e1 (patch)
tree126f0686a1f772d1f72ac3404392f8d1037112a3 /bin
parentb39165b999b8e90754e07601526d472fc7c74e61 (diff)
downloadspack-bd59689fdcfd1e64a8e0926c6e9c0a4d1513f2e1.tar.gz
spack-bd59689fdcfd1e64a8e0926c6e9c0a4d1513f2e1.tar.bz2
spack-bd59689fdcfd1e64a8e0926c6e9c0a4d1513f2e1.tar.xz
spack-bd59689fdcfd1e64a8e0926c6e9c0a4d1513f2e1.zip
Minor changes; loosened up parallel build for dwarf.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/spack b/bin/spack
index 53b4cf3dac..03cc802b8c 100755
--- a/bin/spack
+++ b/bin/spack
@@ -21,6 +21,7 @@ parser = argparse.ArgumentParser(
description='Spack: the Supercomputing PACKage Manager.')
parser.add_argument('-V', '--version', action='version', version="%s" % spack.spack_version)
parser.add_argument('-v', '--verbose', action='store_true', dest='verbose')
+parser.add_argument('-d', '--debug', action='store_true', dest='debug')
# each command module implements a parser() function, to which we pass its
# subparser for setup.
@@ -35,6 +36,7 @@ args = parser.parse_args()
# Set up environment based on args.
spack.verbose = args.verbose
+spack.debug = args.debug
# Try to load the particular command asked for and run it
command = spack.cmd.get_command(args.command)