Small patch for netlib-lapack. (#8854)

This commit is contained in:
Sergey Kosukhin 2018-08-02 01:55:07 +02:00 committed by Adam J. Stewart
parent 23b6850849
commit abfb16af78
2 changed files with 18 additions and 0 deletions

View file

@ -65,6 +65,11 @@ class NetlibLapack(CMakePackage):
# containing the fix is released and added to Spack.
patch('undefined_declarations.patch', when='@3.8.0:')
# https://github.com/Reference-LAPACK/lapack/pull/268
# TODO: update 'when' once the version of lapack
# containing the fix is released and added to Spack.
patch('testing.patch', when='@3.7.0:')
# virtual dependency
provides('blas', when='~external-blas')
provides('lapack')

View file

@ -0,0 +1,13 @@
diff --git a/TESTING/LIN/alahd.f b/TESTING/LIN/alahd.f
index 8f4cd58d..6a4946e0 100644
--- a/TESTING/LIN/alahd.f
+++ b/TESTING/LIN/alahd.f
@@ -1036,7 +1036,7 @@
9929 FORMAT( ' Test ratios (1-3: ', A1, 'TZRZF):' )
9920 FORMAT( 3X, ' 7-10: same as 3-6', 3X, ' 11-14: same as 3-6' )
9921 FORMAT( ' Test ratios:', / ' (1-2: ', A1, 'GELS, 3-6: ', A1,
- $ 'GELSY, 7-10: ', A1, 'GELSS, 11-14: ', A1, 'GELSD, 15-16: '
+ $ 'GELSY, 7-10: ', A1, 'GELSS, 11-14: ', A1, 'GELSD, 15-16: ',
$ A1, 'GETSLS)')
9928 FORMAT( 7X, 'where ALPHA = ( 1 + SQRT( 17 ) ) / 8' )
9927 FORMAT( 3X, I2, ': ABS( Largest element in L )', / 12X,