diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2015-01-07 17:45:14 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2015-02-02 11:16:24 -0800 |
commit | 7215aee224150d954e8a5bd6b632b6d8f66948d2 (patch) | |
tree | bee85b94d15ff1b1098bf591e2db4a1f0bfffdab /lib | |
parent | 2c1eda66c4d7a0df8f0a05ad16be38942f54dcee (diff) | |
download | spack-7215aee224150d954e8a5bd6b632b6d8f66948d2.tar.gz spack-7215aee224150d954e8a5bd6b632b6d8f66948d2.tar.bz2 spack-7215aee224150d954e8a5bd6b632b6d8f66948d2.tar.xz spack-7215aee224150d954e8a5bd6b632b6d8f66948d2.zip |
do_install() passes kwargs to dependencies.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py index aa79721266..04f0d842da 100644 --- a/lib/spack/spack/package.py +++ b/lib/spack/spack/package.py @@ -744,7 +744,7 @@ class Package(object): tty.msg("Installing %s" % self.name) if not ignore_deps: - self.do_install_dependencies() + self.do_install_dependencies(**kwargs) start_time = time.time() if not fake_install: @@ -832,10 +832,10 @@ class Package(object): spack.hooks.post_install(self) - def do_install_dependencies(self): + def do_install_dependencies(self, **kwargs): # Pass along paths of dependencies here for dep in self.spec.dependencies.values(): - dep.package.do_install() + dep.package.do_install(**kwargs) @property |