Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
453ad8df
Commit
453ad8df
authored
8 years ago
by
Barry Smith
Committed by
Todd Gamblin
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
var/spack/repos/builtin/packages/netlib-lapack/package.py
+11
-1
11 additions, 1 deletion
var/spack/repos/builtin/packages/netlib-lapack/package.py
with
11 additions
and
1 deletion
var/spack/repos/builtin/packages/netlib-lapack/package.py
+
11
−
1
View file @
453ad8df
#############################################################################
#
#############################################################################
# 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
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment