summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelly (KT) Thompson <kgt@lanl.gov>2016-04-04 17:08:19 -0600
committerKelly (KT) Thompson <kgt@lanl.gov>2016-04-04 17:08:19 -0600
commit77b688f4fa197c2b7d1e792e038e51ed52e5be2a (patch)
tree09a95b2046bd576e17411ddf81f8757903a5d64c
parentc0eb5844e536c25165b913f4dc203fe09f8ecc3d (diff)
downloadspack-77b688f4fa197c2b7d1e792e038e51ed52e5be2a.tar.gz
spack-77b688f4fa197c2b7d1e792e038e51ed52e5be2a.tar.bz2
spack-77b688f4fa197c2b7d1e792e038e51ed52e5be2a.tar.xz
spack-77b688f4fa197c2b7d1e792e038e51ed52e5be2a.zip
+ Don't include files submitted with PR#741.
-rw-r--r--var/spack/repos/builtin/packages/netlib-lapack/package.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/netlib-lapack/package.py b/var/spack/repos/builtin/packages/netlib-lapack/package.py
index d1252efb9b..05436332ac 100644
--- a/var/spack/repos/builtin/packages/netlib-lapack/package.py
+++ b/var/spack/repos/builtin/packages/netlib-lapack/package.py
@@ -34,18 +34,15 @@ class NetlibLapack(Package):
def patch(self):
# Fix cblas CMakeLists.txt -- has wrong case for subdirectory name.
- if self.spec.satisfies('@3.6.0:'):
- filter_file('${CMAKE_CURRENT_SOURCE_DIR}/CMAKE/',
- '${CMAKE_CURRENT_SOURCE_DIR}/cmake/', 'CBLAS/CMakeLists.txt', string=True)
+ filter_file('${CMAKE_CURRENT_SOURCE_DIR}/CMAKE/',
+ '${CMAKE_CURRENT_SOURCE_DIR}/cmake/', 'CBLAS/CMakeLists.txt', string=True)
def install_one(self, spec, prefix, shared):
cmake_args = ['-DBUILD_SHARED_LIBS:BOOL=%s' % ('ON' if shared else 'OFF'),
+ '-DCBLAS=ON', # always build CBLAS
'-DCMAKE_BUILD_TYPE:STRING=%s' % ('Debug' if '+debug' in spec else 'Release'),
'-DLAPACKE:BOOL=%s' % ('ON' if '+lapacke' in spec else 'OFF')]
- if spec.satisfies('@3.6.0:'):
- cmake_args.extend(['-DCBLAS=ON']) # always build CBLAS
-
if '+external-blas' in spec:
# TODO : the mechanism to specify the library should be more general,
# TODO : but this allows to have an hook to an external blas
@@ -83,3 +80,6 @@ class NetlibLapack(Package):
if '+shared' in self.spec:
self.spec.blas_shared_lib = join_path(libdir, 'libblas.%s' % dso_suffix)
self.spec.lapack_shared_lib = join_path(libdir, 'liblapack.%s' % dso_suffix)
+
+
+