summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-05-18 16:16:20 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2015-05-18 16:16:20 -0700
commitf813d823a14f25a8f06c2f0bb7ba88db33c0af68 (patch)
treecb7be41ae3142157bd18e4f7d00107cc624ee1d2 /bin
parent09151785b3353c0169a6c41771cd471c5207d2cf (diff)
parentf68e64d738054a01b38fd6840fc7932c0912a85c (diff)
downloadspack-f813d823a14f25a8f06c2f0bb7ba88db33c0af68.tar.gz
spack-f813d823a14f25a8f06c2f0bb7ba88db33c0af68.tar.bz2
spack-f813d823a14f25a8f06c2f0bb7ba88db33c0af68.tar.xz
spack-f813d823a14f25a8f06c2f0bb7ba88db33c0af68.zip
Merge branch 'features/optional-deps' into develop
This includes: - Much better variant support (+debug/-debug) - Optional dependency support (depends_on(... , when='<condition>') - New config file format (YAML in ~/.spack) - New Spec format (YAML in $prefix/.spack/spec.yaml)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/spack b/bin/spack
index 2e0ee0b3cf..354754594e 100755
--- a/bin/spack
+++ b/bin/spack
@@ -107,6 +107,10 @@ def main():
tty.set_debug(args.debug)
spack.debug = args.debug
+ if spack.debug:
+ import spack.util.debug as debug
+ debug.register_interrupt_handler()
+
spack.spack_working_dir = working_dir
if args.mock:
from spack.packages import PackageDB