math/atlas: build full lapack
Some symbols had been eliminated with the previous release. PR: 268422 Reported by: alt2600 (at) icloud.com
This commit is contained in:
parent
5917b0418a
commit
2ee2df44b2
@ -1,5 +1,6 @@
|
|||||||
PORTNAME= atlas
|
PORTNAME= atlas
|
||||||
PORTVERSION= 3.10.3
|
PORTVERSION= 3.10.3
|
||||||
|
PORTREVISION= 1
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
MASTER_SITES= SF/math-${PORTNAME}/Stable/${PORTVERSION}
|
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 \
|
BINARY_ALIAS= make=${LOCALBASE}/bin/gmake \
|
||||||
gcc=${CC} gfortran=${FC} f77=${FC}
|
gcc=${CC} gfortran=${FC} f77=${FC}
|
||||||
|
|
||||||
pre-everything:
|
pre-everything::
|
||||||
@${CAT} ${FILESDIR}/tuning-message
|
@${CAT} ${FILESDIR}/tuning-message
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
@ -137,14 +138,17 @@ do-build:
|
|||||||
FFLAGS="-pipe $${F77FLAGS}" ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} \
|
FFLAGS="-pipe $${F77FLAGS}" ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} \
|
||||||
ARCH="${AR}" lapacklib ; \
|
ARCH="${AR}" lapacklib ; \
|
||||||
TIMEFLAG=`${MAKE} -f ${WRKSRC}/saved_flags -V TIMEFLAG` ; \
|
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 ; \
|
${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 ; \
|
${MAKE} -C ${PORTSDIR}/math/lapack clean ; \
|
||||||
${ECHO_CMD} "Configuring ${opt} ATLAS:" ; \
|
${ECHO_CMD} "Configuring ${opt} ATLAS:" ; \
|
||||||
${SETENV} ${CONFIGURE_ENV} ../configure --cc="${CC}" --cflags="${CFLAGS}" \
|
${SETENV} ${CONFIGURE_ENV} ../configure --cc="${CC}" --cflags="${CFLAGS}" \
|
||||||
--prefix="${PREFIX}" -v 2 $${TIMEFLAG} ${ARCHDEFFLAG} \
|
--prefix="${PREFIX}" -v 2 $${TIMEFLAG} ${ARCHDEFFLAG} \
|
||||||
-Ss flapack "${WRKSRC}/${opt}/liblapack_${opt}.a" \
|
-Ss flapack "${WRKSRC}/${opt}/liblapack_${opt}.a" \
|
||||||
-Ss f77lib " " -Ss pmake "${MAKE_CMD} ${_MAKE_JOBS}" \
|
-Ss f77lib " " -Ss pmake "${MAKE_CMD} ${_MAKE_JOBS}" \
|
||||||
|
-Si lapackref 1 -D c -DATL_FULL_LAPACK \
|
||||||
-Fa alg "${${opt:tu}_FLAGS} " -b ${POINTER} ; \
|
-Fa alg "${${opt:tu}_FLAGS} " -b ${POINTER} ; \
|
||||||
if [ "x${WITH_ARCHDEF}" != "x" ] ; then \
|
if [ "x${WITH_ARCHDEF}" != "x" ] ; then \
|
||||||
if [ "x${ARCHDEF}" != "xNONE" ] ; then \
|
if [ "x${ARCHDEF}" != "xNONE" ] ; then \
|
||||||
|
Loading…
Reference in New Issue
Block a user