summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorBarry Smith <bsmith@mcs.anl.gov>2016-10-24 16:25:59 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2016-10-24 14:25:59 -0700
commit453ad8df9d8455cdeebe705d7f5ba50fa128629f (patch)
tree44726d8cdafbfa48f37fe4e0b6b395040783b35b /var
parent509bbd7067c1fb50b27e1cd88a82d0db3038b9c2 (diff)
downloadspack-453ad8df9d8455cdeebe705d7f5ba50fa128629f.tar.gz
spack-453ad8df9d8455cdeebe705d7f5ba50fa128629f.tar.bz2
spack-453ad8df9d8455cdeebe705d7f5ba50fa128629f.tar.xz
spack-453ad8df9d8455cdeebe705d7f5ba50fa128629f.zip
Get netlib-lapack to compile with Intel and add deprecated routines (#2103)
Funded-by: IDEAS Project: IDEAS/xSDK Time: .4 hours
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/netlib-lapack/package.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/netlib-lapack/package.py b/var/spack/repos/builtin/packages/netlib-lapack/package.py
index 874473ba9c..4b03259cbd 100644
--- a/var/spack/repos/builtin/packages/netlib-lapack/package.py
+++ b/var/spack/repos/builtin/packages/netlib-lapack/package.py
@@ -1,4 +1,4 @@
-##############################################################################
+#############################################################################
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
@@ -90,6 +90,16 @@ class NetlibLapack(Package):
if spec.satisfies('@3.6.0:'):
cmake_args.extend(['-DCBLAS=ON']) # always build CBLAS
+ if self.compiler.name == 'intel':
+ # Intel compiler finds serious syntax issues when trying to
+ # build CBLAS and LapackE
+ cmake_args.extend(['-DCBLAS=OFF'])
+ cmake_args.extend(['-DLAPACKE:BOOL=OFF'])
+
+ # deprecated routines are commonly need by, for example, suitesparse
+ # Note that OpenBLAS spack is built with deprecated routines
+ cmake_args.extend(['-DBUILD_DEPRECATED:BOOL=ON'])
+
if '+external-blas' in spec:
cmake_args.extend([
'-DUSE_OPTIMIZED_BLAS:BOOL=ON',