diff options
author | Greg Becker <becker33@llnl.gov> | 2019-07-17 13:46:56 -0500 |
---|---|---|
committer | Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> | 2019-07-17 11:46:56 -0700 |
commit | 5cf88781854ad68ebd07c99aa97860b444c3a479 (patch) | |
tree | fe9d55114a61391ea283991aefe3bfd1304588ee /lib | |
parent | c9b6c78d3af51fb37a8def237139132499866d97 (diff) | |
download | spack-5cf88781854ad68ebd07c99aa97860b444c3a479.tar.gz spack-5cf88781854ad68ebd07c99aa97860b444c3a479.tar.bz2 spack-5cf88781854ad68ebd07c99aa97860b444c3a479.tar.xz spack-5cf88781854ad68ebd07c99aa97860b444c3a479.zip |
feature: Allow developers to use Spack for partial builds (#12006)
Added new diy option.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/cmd/diy.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/diy.py b/lib/spack/spack/cmd/diy.py index a78a3fc80b..20e2206657 100644 --- a/lib/spack/spack/cmd/diy.py +++ b/lib/spack/spack/cmd/diy.py @@ -39,6 +39,9 @@ def setup_parser(subparser): '-q', '--quiet', action='store_true', dest='quiet', help="do not display verbose build output while installing") subparser.add_argument( + '-u', '--until', type=str, dest='until', default=None, + help="phase to stop after when installing (default None)") + subparser.add_argument( 'spec', nargs=argparse.REMAINDER, help="specs to use for install. must contain package AND version") @@ -90,4 +93,5 @@ def diy(self, args): install_deps=not args.ignore_deps, verbose=not args.quiet, keep_stage=True, # don't remove source dir for DIY. - dirty=args.dirty) + dirty=args.dirty, + stop_at=args.until) |