Skip to content
Snippets Groups Projects
Commit c8a89d84 authored by Denis Davydov's avatar Denis Davydov Committed by Todd Gamblin
Browse files

atlas: fix lapack stage path (#2371)

* atlas: fix lapack stage path

* atlas: add a few links to other package managers
parent d8fd5835
No related branches found
No related tags found
No related merge requests found
...@@ -71,7 +71,10 @@ def patch(self): ...@@ -71,7 +71,10 @@ def patch(self):
# TODO: using, say, MSRs. Or move this to a variant. # TODO: using, say, MSRs. Or move this to a variant.
def install(self, spec, prefix): 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 = [] options = []
if '+shared' in spec: if '+shared' in spec:
options.extend([ options.extend([
...@@ -92,10 +95,8 @@ def install(self, spec, prefix): ...@@ -92,10 +95,8 @@ def install(self, spec, prefix):
# Lapack resource to provide full lapack build. Note that # Lapack resource to provide full lapack build. Note that
# ATLAS only provides a few LAPACK routines natively. # ATLAS only provides a few LAPACK routines natively.
lapack_stage = self.stage[1] options.append('--with-netlib-lapack-tarfile=%s' %
lapack_tarfile = os.path.basename(lapack_stage.fetcher.url) self.stage[1].archive_file)
lapack_tarfile_path = join_path(lapack_stage.path, lapack_tarfile)
options.append('--with-netlib-lapack-tarfile=%s' % lapack_tarfile_path)
with working_dir('spack-build', create=True): with working_dir('spack-build', create=True):
configure = Executable('../configure') configure = Executable('../configure')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment