summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2016-12-11 20:48:23 +0100
committerTodd Gamblin <tgamblin@llnl.gov>2016-12-11 11:48:23 -0800
commitc8a89d84b53fd4473c6c064e5c4aaed6ab8e9a8e (patch)
tree29c04605c12a8ed417f86558ae75ac0db3b6383f /var
parentd8fd5835b6ba0a6de757fe4aa63fa97bdbd15f83 (diff)
downloadspack-c8a89d84b53fd4473c6c064e5c4aaed6ab8e9a8e.tar.gz
spack-c8a89d84b53fd4473c6c064e5c4aaed6ab8e9a8e.tar.bz2
spack-c8a89d84b53fd4473c6c064e5c4aaed6ab8e9a8e.tar.xz
spack-c8a89d84b53fd4473c6c064e5c4aaed6ab8e9a8e.zip
atlas: fix lapack stage path (#2371)
* atlas: fix lapack stage path * atlas: add a few links to other package managers
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/atlas/package.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/atlas/package.py b/var/spack/repos/builtin/packages/atlas/package.py
index 89b61b3ecb..51f0fced2b 100644
--- a/var/spack/repos/builtin/packages/atlas/package.py
+++ b/var/spack/repos/builtin/packages/atlas/package.py
@@ -71,7 +71,10 @@ class Atlas(Package):
# TODO: using, say, MSRs. Or move this to a variant.
def install(self, spec, prefix):
-
+ # reference to other package managers
+ # https://github.com/hpcugent/easybuild-easyblocks/blob/master/easybuild/easyblocks/a/atlas.py
+ # https://github.com/macports/macports-ports/blob/master/math/atlas/Portfile
+ # https://github.com/Homebrew/homebrew-science/pull/3571
options = []
if '+shared' in spec:
options.extend([
@@ -92,10 +95,8 @@ class Atlas(Package):
# Lapack resource to provide full lapack build. Note that
# ATLAS only provides a few LAPACK routines natively.
- lapack_stage = self.stage[1]
- lapack_tarfile = os.path.basename(lapack_stage.fetcher.url)
- lapack_tarfile_path = join_path(lapack_stage.path, lapack_tarfile)
- options.append('--with-netlib-lapack-tarfile=%s' % lapack_tarfile_path)
+ options.append('--with-netlib-lapack-tarfile=%s' %
+ self.stage[1].archive_file)
with working_dir('spack-build', create=True):
configure = Executable('../configure')