summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-03-04 09:34:42 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-03-04 09:34:42 -0800
commit30e45df8a52ba1232d740ea74485006dc32330e4 (patch)
tree688352d9b8e7146ac79b3ad3b0a1120825515d08 /var
parente23dd3e3bba526a3f8adb32053f4704e97796967 (diff)
downloadspack-30e45df8a52ba1232d740ea74485006dc32330e4.tar.gz
spack-30e45df8a52ba1232d740ea74485006dc32330e4.tar.bz2
spack-30e45df8a52ba1232d740ea74485006dc32330e4.tar.xz
spack-30e45df8a52ba1232d740ea74485006dc32330e4.zip
Updates to atlas packages.
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/atlas/package.py16
-rw-r--r--var/spack/packages/lapack-atlas/package.py16
-rw-r--r--var/spack/packages/lapack/package.py22
3 files changed, 3 insertions, 51 deletions
diff --git a/var/spack/packages/atlas/package.py b/var/spack/packages/atlas/package.py
index f9bf59343c..7ee85f7f16 100644
--- a/var/spack/packages/atlas/package.py
+++ b/var/spack/packages/atlas/package.py
@@ -1,19 +1,3 @@
-# FIXME:
-# This is a template package file for Spack. We've conveniently
-# put "FIXME" labels next to all the things you'll want to change.
-#
-# Once you've edited all the FIXME's, delete this whole message,
-# save this file, and test out your package like this:
-#
-# spack install atlas
-#
-# You can always get back here to change things with:
-#
-# spack edit atlas
-#
-# See the spack documentation for more information on building
-# packages.
-#
from spack import *
from spack.util.executable import Executable
import os
diff --git a/var/spack/packages/lapack-atlas/package.py b/var/spack/packages/lapack-atlas/package.py
index bdcad22b09..209b02cb94 100644
--- a/var/spack/packages/lapack-atlas/package.py
+++ b/var/spack/packages/lapack-atlas/package.py
@@ -1,19 +1,3 @@
-# FIXME:
-# This is a template package file for Spack. We've conveniently
-# put "FIXME" labels next to all the things you'll want to change.
-#
-# Once you've edited all the FIXME's, delete this whole message,
-# save this file, and test out your package like this:
-#
-# spack install atlas
-#
-# You can always get back here to change things with:
-#
-# spack edit atlas
-#
-# See the spack documentation for more information on building
-# packages.
-#
from spack import *
from spack.util.executable import Executable
import os
diff --git a/var/spack/packages/lapack/package.py b/var/spack/packages/lapack/package.py
index 94c05d6173..b1a41442aa 100644
--- a/var/spack/packages/lapack/package.py
+++ b/var/spack/packages/lapack/package.py
@@ -1,19 +1,3 @@
-# FIXME:
-# This is a template package file for Spack. We've conveniently
-# put "FIXME" labels next to all the things you'll want to change.
-#
-# Once you've edited all the FIXME's, delete this whole message,
-# save this file, and test out your package like this:
-#
-# spack install lapack
-#
-# You can always get back here to change things with:
-#
-# spack edit lapack
-#
-# See the spack documentation for more information on building
-# packages.
-#
from spack import *
class Lapack(Package):
@@ -37,9 +21,9 @@ class Lapack(Package):
depends_on('atlas')
def install(self, spec, prefix):
- atlas_blas = spec['atlas'].prefix.lib + '/libf77blas.a'
- atlas_lib = spec['atlas'].prefix.lib + "/libatlas.a"
- cmake(".", '-DBLAS_LIBRARIES='+atlas_blas + ";" + atlas_lib, *std_cmake_args)
+ atlas_libs = ['libf77blas.a', 'libatlas.a']
+ atlas_libs = [join_path(spec['atlas'].prefix.lib, lib,) for lib in atlas_libs]
+ cmake(".", '-DBLAS_LIBRARIES=' + ";".join(atlas_libs), *std_cmake_args)
make()
make("install")