import openblas-0.3.10-2.el8
This commit is contained in:
		
							parent
							
								
									3a29b8be00
								
							
						
					
					
						commit
						5a735ea468
					
				
							
								
								
									
										13
									
								
								SOURCES/openblas-0.3.10-lapacke-macro.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								SOURCES/openblas-0.3.10-lapacke-macro.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,13 @@ | |||||||
|  | diff --git a/lapack-netlib/LAPACKE/src/lapacke_zgesvdq.c b/lapack-netlib/LAPACKE/src/lapacke_zgesvdq.c
 | ||||||
|  | index f58a5c4..4928b1b 100644
 | ||||||
|  | --- a/lapack-netlib/LAPACKE/src/lapacke_zgesvdq.c
 | ||||||
|  | +++ b/lapack-netlib/LAPACKE/src/lapacke_zgesvdq.c
 | ||||||
|  | @@ -71,7 +71,7 @@ lapack_int LAPACKE_zgesvdq( int matrix_layout, char joba, char jobp,
 | ||||||
|  |          goto exit_level_0; | ||||||
|  |      } | ||||||
|  |      liwork = iwork_query; | ||||||
|  | -    lcwork = LAPACK_C2INT(cwork_query);
 | ||||||
|  | +    lcwork = LAPACK_Z2INT(cwork_query);
 | ||||||
|  |      lrwork = (lapack_int)rwork_query; | ||||||
|  |      /* Allocate memory for work arrays */ | ||||||
|  |      iwork = (lapack_int*)LAPACKE_malloc( sizeof(lapack_int) * liwork ); | ||||||
| @ -15,7 +15,7 @@ | |||||||
| 
 | 
 | ||||||
| Name:           openblas | Name:           openblas | ||||||
| Version:        0.3.10 | Version:        0.3.10 | ||||||
| Release:        1%{?dist} | Release:        2%{?dist} | ||||||
| Summary:        An optimized BLAS library based on GotoBLAS2 | Summary:        An optimized BLAS library based on GotoBLAS2 | ||||||
| Group:          Development/Libraries | Group:          Development/Libraries | ||||||
| License:        BSD | License:        BSD | ||||||
| @ -37,6 +37,8 @@ Patch5:         openblas-0.3.10-power-optimize.patch | |||||||
| Patch6:         openblas-0.3.10-zarch-gcc-version-detection.patch | Patch6:         openblas-0.3.10-zarch-gcc-version-detection.patch | ||||||
| # https://github.com/xianyi/OpenBLAS/pull/2672 | # https://github.com/xianyi/OpenBLAS/pull/2672 | ||||||
| Patch7:         openblas-0.3.10-concurrency.patch | Patch7:         openblas-0.3.10-concurrency.patch | ||||||
|  | # https://github.com/Reference-LAPACK/lapack/pull/458 | ||||||
|  | Patch8:         openblas-0.3.10-lapacke-macro.patch | ||||||
| 
 | 
 | ||||||
| BuildRequires:  gcc | BuildRequires:  gcc | ||||||
| BuildRequires:  gcc-gfortran | BuildRequires:  gcc-gfortran | ||||||
| @ -239,6 +241,7 @@ cd OpenBLAS-%{version} | |||||||
| %patch5 -p1 -b .power-optimize | %patch5 -p1 -b .power-optimize | ||||||
| %patch6 -p1 -b .zarch-gcc-version-detection | %patch6 -p1 -b .zarch-gcc-version-detection | ||||||
| %patch7 -p1 -b .concurrency | %patch7 -p1 -b .concurrency | ||||||
|  | %patch8 -p1 -b .lapacke-macro | ||||||
| 
 | 
 | ||||||
| # Fix source permissions | # Fix source permissions | ||||||
| find -name \*.f -exec chmod 644 {} \; | find -name \*.f -exec chmod 644 {} \; | ||||||
| @ -681,6 +684,10 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig | |||||||
| %endif | %endif | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Wed Oct 21 2020 Nikola Forró <nforro@redhat.com> - 0.3.10-2 | ||||||
|  | - Fix macro used in LAPACKE_zgesvdq | ||||||
|  |   related: #1847435 | ||||||
|  | 
 | ||||||
| * Tue Oct 20 2020 Nikola Forró <nforro@redhat.com> - 0.3.10-1 | * Tue Oct 20 2020 Nikola Forró <nforro@redhat.com> - 0.3.10-1 | ||||||
| - Rebase to version 0.3.10 | - Rebase to version 0.3.10 | ||||||
|   resolves: #1847435 |   resolves: #1847435 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user