mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
* Fix bug listed in http://math-atlas.sourceforge.net/errata.html#RMAAT .
* Bump portrevision. * Fix pkg-descr. Still do not pass portlint though. Submitted by: bf <bf2006a@yahoo.com>
This commit is contained in:
parent
409149d56c
commit
deced0b16f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=206813
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= atlas
|
||||
PORTVERSION= 3.8.0
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
|
11
math/atlas/files/patch-interfaces+blas+C+src+cblas_cgemm.c
Normal file
11
math/atlas/files/patch-interfaces+blas+C+src+cblas_cgemm.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- interfaces/blas/C/src/cblas_cgemm.c.orig 2008-01-16 09:19:46.679079259 -0500
|
||||
+++ interfaces/blas/C/src/cblas_cgemm.c 2008-01-16 09:26:48.761814634 -0500
|
||||
@@ -148,7 +148,7 @@
|
||||
if (A == B && M == N && TA != TB && lda == ldb && *bet == 0.0 &&
|
||||
bet[1] == 0.0 && TA != CblasConjTrans && TB != CblasConjTrans)
|
||||
{
|
||||
- ATL_csyrk(CblasUpper, TA, N, K, alpha, A, lda, beta, C, ldc);
|
||||
+ ATL_csyrk(CblasUpper, (Order == CblasColMajor)?TA:TB, N, K, alpha, A, lda, beta, C, ldc);
|
||||
ATL_csyreflect(CblasUpper, N, C, ldc);
|
||||
return;
|
||||
}
|
11
math/atlas/files/patch-interfaces+blas+C+src+cblas_dgemm.c
Normal file
11
math/atlas/files/patch-interfaces+blas+C+src+cblas_dgemm.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- interfaces/blas/C/src/cblas_dgemm.c.orig 2008-01-16 09:20:04.249403699 -0500
|
||||
+++ interfaces/blas/C/src/cblas_dgemm.c 2008-01-16 09:28:30.250360804 -0500
|
||||
@@ -146,7 +146,7 @@
|
||||
*/
|
||||
if (A == B && M == N && TA != TB && lda == ldb && beta == 0.0)
|
||||
{
|
||||
- ATL_dsyrk(CblasUpper, TA, N, K, alpha, A, lda, beta, C, ldc);
|
||||
+ ATL_dsyrk(CblasUpper, (Order == CblasColMajor)?TA:TB, N, K, alpha, A, lda, beta, C, ldc);
|
||||
ATL_dsyreflect(CblasUpper, N, C, ldc);
|
||||
return;
|
||||
}
|
11
math/atlas/files/patch-interfaces+blas+C+src+cblas_sgemm.c
Normal file
11
math/atlas/files/patch-interfaces+blas+C+src+cblas_sgemm.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- interfaces/blas/C/src/cblas_sgemm.c.orig 2008-01-16 09:20:16.739501184 -0500
|
||||
+++ interfaces/blas/C/src/cblas_sgemm.c 2008-01-16 09:29:45.572899283 -0500
|
||||
@@ -146,7 +146,7 @@
|
||||
*/
|
||||
if (A == B && M == N && TA != TB && lda == ldb && beta == 0.0)
|
||||
{
|
||||
- ATL_ssyrk(CblasUpper, TA, N, K, alpha, A, lda, beta, C, ldc);
|
||||
+ ATL_ssyrk(CblasUpper, (Order == CblasColMajor)?TA:TB, N, K, alpha, A, lda, beta, C, ldc);
|
||||
ATL_ssyreflect(CblasUpper, N, C, ldc);
|
||||
return;
|
||||
}
|
11
math/atlas/files/patch-interfaces+blas+C+src+cblas_zgemm.c
Normal file
11
math/atlas/files/patch-interfaces+blas+C+src+cblas_zgemm.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- interfaces/blas/C/src/cblas_zgemm.c.orig 2008-01-16 09:20:22.356646659 -0500
|
||||
+++ interfaces/blas/C/src/cblas_zgemm.c 2008-01-16 09:31:52.424584623 -0500
|
||||
@@ -148,7 +148,7 @@
|
||||
if (A == B && M == N && TA != TB && lda == ldb && *bet == 0.0 &&
|
||||
bet[1] == 0.0 && TA != CblasConjTrans && TB != CblasConjTrans)
|
||||
{
|
||||
- ATL_zsyrk(CblasUpper, TA, N, K, alpha, A, lda, beta, C, ldc);
|
||||
+ ATL_zsyrk(CblasUpper, (Order == CblasColMajor)?TA:TB, N, K, alpha, A, lda, beta, C, ldc);
|
||||
ATL_zsyreflect(CblasUpper, N, C, ldc);
|
||||
return;
|
||||
}
|
@ -13,7 +13,7 @@ the usual -lblas. Corresponding pure C versions of the ATLAS libraries are
|
||||
also included, in libcblas and libptcblas.
|
||||
|
||||
The ATLAS-enhanced LAPACK routines are also provided.
|
||||
To link software with this library instead of the standard LAPACK, use
|
||||
To link software with this library instead of the standard LAPACK, for example, use
|
||||
-L/usr/local/lib/gcc-4.2.3 -L/usr/local/lib/gcc-4.2.3/gcc/i386-portbld-freebsd7.0/4.2.3 -lalapack -lf77blas -lcblas -latlas -lgfortranbegin -lgfortran -lm, or
|
||||
-L/usr/local/lib/gcc-4.2.3 -L/usr/local/lib/gcc-4.2.3/gcc/i386-portbld-freebsd7.0/4.2.3 -lalapack_r -lptf77blas -lptcblas -latlas -lgfortranbegin -lgfortran
|
||||
-lm for the threaded library, in place of the usual -llapack.
|
||||
|
Loading…
Reference in New Issue
Block a user