New command flag: spack install --dependencies-only#1603
New command flag: spack install --dependencies-only#1603tgamblin merged 3 commits intospack:developfrom
Conversation
|
@citibeth: this has test errors. |
… UI remains the same. 2. install_self kwarg added to do_install(). Enables installation of a package's dependencies without installing the package itself. 3. Added `spack install --dependencies-only <package>` command.
1b2828b to
246dec7
Compare
|
I just rebased, should be ready to merge. |
| keep_stage=False, | ||
| ignore_deps=False, | ||
| install_deps=True, | ||
| install_self=True, |
There was a problem hiding this comment.
Sorry if I am late at being picky here, but I find the API of do_install growing quite unintuitive. Now we may call a do_install that does no install at all, while the semantic needed for this PR could have been obtained directly in the install command traversing the DAG with or without root and calling an unmodified version of do_install from there.
|
I think this is worth a larger discussion on another Issues thread or the On Wed, Oct 5, 2016 at 2:52 PM, Massimiliano Culpo <[email protected]
|
…the changes in behavior pulled in spack#1603
…the changes in behavior pulled in spack#1603
* Removes the extra argument from Package.do_install while maintaining the changes in behavior pulled in #1603 * install : removed -i and -d shorthands (breaks backward compatibility) * Change ':' to ','
) * Removes the extra argument from Package.do_install while maintaining the changes in behavior pulled in spack#1603 * install : removed -i and -d shorthands (breaks backward compatibility) * Change ':' to ','
This allows Spack to install just a package's dependencies, without installing the package itself. Useful for non-standard packages, such as
modele, which can't be installed with a simplespack install.