Patch for 'netlib-lapack'. (#8677)

This commit is contained in:
Sergey Kosukhin 2018-07-11 15:52:21 +02:00 committed by Adam J. Stewart
parent 391d89a853
commit 6479ec6def
2 changed files with 31 additions and 0 deletions

View File

@ -60,6 +60,11 @@ class NetlibLapack(CMakePackage):
patch('ibm-xl.patch', when='@3.7: %xl')
patch('ibm-xl.patch', when='@3.7: %xl_r')
# https://github.com/Reference-LAPACK/lapack/issues/228
# TODO: update 'when' once the version of lapack
# containing the fix is released and added to Spack.
patch('undefined_declarations.patch', when='@3.8.0:')
# virtual dependency
provides('blas', when='~external-blas')
provides('lapack')

View File

@ -0,0 +1,26 @@
diff --git a/SRC/dsytrf_aa_2stage.f b/SRC/dsytrf_aa_2stage.f
index 2991305..f5f06cc 100644
--- a/SRC/dsytrf_aa_2stage.f
+++ b/SRC/dsytrf_aa_2stage.f
@@ -191,7 +191,7 @@
EXTERNAL LSAME, ILAENV
* ..
* .. External Subroutines ..
- EXTERNAL XERBLA, DCOPY, DLACGV, DLACPY,
+ EXTERNAL XERBLA, DCOPY, DLACPY,
$ DLASET, DGBTRF, DGEMM, DGETRF,
$ DSYGST, DSWAP, DTRSM
* ..
diff --git a/SRC/ssytrf_aa_2stage.f b/SRC/ssytrf_aa_2stage.f
index be6809d..a929749 100644
--- a/SRC/ssytrf_aa_2stage.f
+++ b/SRC/ssytrf_aa_2stage.f
@@ -191,7 +191,7 @@
EXTERNAL LSAME, ILAENV
* ..
* .. External Subroutines ..
- EXTERNAL XERBLA, SCOPY, SLACGV, SLACPY,
+ EXTERNAL XERBLA, SCOPY, SLACPY,
$ SLASET, SGBTRF, SGEMM, SGETRF,
$ SSYGST, SSWAP, STRSM
* ..