Skip to content
Snippets Groups Projects
Commit 453ad8df authored by Barry Smith's avatar Barry Smith Committed by Todd Gamblin
Browse files

Get netlib-lapack to compile with Intel and add deprecated routines (#2103)

Funded-by: IDEAS
Project: IDEAS/xSDK
Time: .4 hours
parent 509bbd70
No related branches found
No related tags found
No related merge requests found
############################################################################## #############################################################################
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC. # Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory. # Produced at the Lawrence Livermore National Laboratory.
# #
...@@ -90,6 +90,16 @@ def install_one(self, spec, prefix, shared): ...@@ -90,6 +90,16 @@ def install_one(self, spec, prefix, shared):
if spec.satisfies('@3.6.0:'): if spec.satisfies('@3.6.0:'):
cmake_args.extend(['-DCBLAS=ON']) # always build CBLAS 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: if '+external-blas' in spec:
cmake_args.extend([ cmake_args.extend([
'-DUSE_OPTIMIZED_BLAS:BOOL=ON', '-DUSE_OPTIMIZED_BLAS:BOOL=ON',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment