git: 2ee2df44b2f2 - main - math/atlas: build full lapack
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Dec 2022 11:13:22 UTC
The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=2ee2df44b2f26bc84893f13b592e8ef2e55da4ed commit 2ee2df44b2f26bc84893f13b592e8ef2e55da4ed Author: alt2600@icloud.com <alt2600@icloud.com> AuthorDate: 2022-12-19 17:10:03 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2022-12-20 10:25:21 +0000 math/atlas: build full lapack Some symbols had been eliminated with the previous release. PR: 268422 Reported by: alt2600 (at) icloud.com --- math/atlas/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/math/atlas/Makefile b/math/atlas/Makefile index 8689488cdf25..bb2a915a9da9 100644 --- a/math/atlas/Makefile +++ b/math/atlas/Makefile @@ -1,5 +1,6 @@ PORTNAME= atlas PORTVERSION= 3.10.3 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= math MASTER_SITES= SF/math-${PORTNAME}/Stable/${PORTVERSION} @@ -75,7 +76,7 @@ MAKE_ENV+= MAKE=${GMAKE} PATH="${WRKDIR}/.bin:${PATH}" BINARY_ALIAS= make=${LOCALBASE}/bin/gmake \ gcc=${CC} gfortran=${FC} f77=${FC} -pre-everything: +pre-everything:: @${CAT} ${FILESDIR}/tuning-message pre-configure: @@ -137,14 +138,17 @@ do-build: FFLAGS="-pipe $${F77FLAGS}" ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} \ ARCH="${AR}" lapacklib ; \ TIMEFLAG=`${MAKE} -f ${WRKSRC}/saved_flags -V TIMEFLAG` ; \ - ${MKDIR} ${WRKSRC}/${opt} ; cd ${WRKSRC}/${opt} ; \ + ${MKDIR} ${WRKSRC}/${opt}/lib ; cd ${WRKSRC}/${opt} ; \ ${MV} $${LW}/liblapack.a liblapack_${opt}.a ; \ + ${AR} -dv liblapack_${opt}.a lsame.o xerbla.o csrot.o zdrot.o ; \ + ${CP} liblapack_${opt}.a lib/liblapack.a ; \ ${MAKE} -C ${PORTSDIR}/math/lapack clean ; \ ${ECHO_CMD} "Configuring ${opt} ATLAS:" ; \ ${SETENV} ${CONFIGURE_ENV} ../configure --cc="${CC}" --cflags="${CFLAGS}" \ --prefix="${PREFIX}" -v 2 $${TIMEFLAG} ${ARCHDEFFLAG} \ -Ss flapack "${WRKSRC}/${opt}/liblapack_${opt}.a" \ -Ss f77lib " " -Ss pmake "${MAKE_CMD} ${_MAKE_JOBS}" \ + -Si lapackref 1 -D c -DATL_FULL_LAPACK \ -Fa alg "${${opt:tu}_FLAGS} " -b ${POINTER} ; \ if [ "x${WITH_ARCHDEF}" != "x" ] ; then \ if [ "x${ARCHDEF}" != "xNONE" ] ; then \