summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-11-06 20:50:14 -0800
committerGitHub <noreply@github.com>2016-11-06 20:50:14 -0800
commit08477f6624e91a0bb1d8a6736af534b77d0075ba (patch)
treec8651af0a431dcbc7369304fbcef17e29d3f4d7e
parent49b1c0df2b8d760b467bce44164c66463d58b1a0 (diff)
downloadspack-08477f6624e91a0bb1d8a6736af534b77d0075ba.tar.gz
spack-08477f6624e91a0bb1d8a6736af534b77d0075ba.tar.bz2
spack-08477f6624e91a0bb1d8a6736af534b77d0075ba.tar.xz
spack-08477f6624e91a0bb1d8a6736af534b77d0075ba.zip
Don't automatically spider remote list_urls before making stage. (#2263)
- This might be useful but we don't want to do it unconditionally.
-rw-r--r--lib/spack/spack/package.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py
index df40d34d33..b238e39be5 100644
--- a/lib/spack/spack/package.py
+++ b/lib/spack/spack/package.py
@@ -703,12 +703,7 @@ class PackageBase(object):
# Construct a path where the stage should build..
s = self.spec
stage_name = "%s-%s-%s" % (s.name, s.version, s.dag_hash())
-
- # Check list_url alternative archive URLs
- dynamic_fetcher = fs.from_list_url(self)
- alternate_fetchers = [dynamic_fetcher] if dynamic_fetcher else None
- stage = Stage(fetcher, mirror_path=mp, name=stage_name, path=self.path,
- alternate_fetchers=alternate_fetchers)
+ stage = Stage(fetcher, mirror_path=mp, name=stage_name, path=self.path)
return stage
def _make_stage(self):