summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Scheibel <scheibel1@llnl.gov>2016-03-24 19:45:10 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2016-03-24 19:45:10 -0700
commit6423eab917f6914cfce253315c9063762e6ae749 (patch)
tree154cc67a8ab6f50ef4c61e4cd2b952b07d4e640d
parent142d1f5cbc098a4e8a0046148400bb2f40e839bc (diff)
downloadspack-6423eab917f6914cfce253315c9063762e6ae749.tar.gz
spack-6423eab917f6914cfce253315c9063762e6ae749.tar.bz2
spack-6423eab917f6914cfce253315c9063762e6ae749.tar.xz
spack-6423eab917f6914cfce253315c9063762e6ae749.zip
implemented cache_local method for DIY stage (as a noop)
-rw-r--r--lib/spack/spack/stage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/spack/spack/stage.py b/lib/spack/spack/stage.py
index 9f2619f43e..e8239d27be 100644
--- a/lib/spack/spack/stage.py
+++ b/lib/spack/spack/stage.py
@@ -503,6 +503,8 @@ class DIYStage(object):
# No need to destroy DIY stage.
pass
+ def cache_local(self):
+ tty.msg("Sources for DIY stages are not cached")
def _get_mirrors():
"""Get mirrors from spack configuration."""