* Migrate to gfortran.
* Bump port revision. * Use gfortran compiled atlas/blas/lapack. Approved by: portmgr(kris)
This commit is contained in:
parent
12f36d1809
commit
fd1bfc37ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182616
1 changed files with 17 additions and 4 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= hpl
|
PORTNAME= hpl
|
||||||
PORTVERSION= 1.0a
|
PORTVERSION= 1.0a
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= benchmarks
|
CATEGORIES= benchmarks
|
||||||
MASTER_SITES= http://www.netlib.org/benchmark/hpl/ \
|
MASTER_SITES= http://www.netlib.org/benchmark/hpl/ \
|
||||||
ftp://ftp.hipecs.hokudai.ac.jp/netlib/benchmark/hpl/
|
ftp://ftp.hipecs.hokudai.ac.jp/netlib/benchmark/hpl/
|
||||||
|
@ -25,11 +26,23 @@ FC= ${LOCALBASE}/bin/mpicc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||||
|
WANT_FORTRAN= yes #dummy but future use
|
||||||
|
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
||||||
|
FC= gfortran42
|
||||||
|
F77= gfortran42
|
||||||
|
MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
|
||||||
|
|
||||||
.if defined(WITH_BLAS)
|
.include <bsd.port.pre.mk>
|
||||||
LIB_DEPENDS+= blas.1:${PORTSDIR}/math/blas
|
|
||||||
|
.if exists(${LOCALBASE}/lib/libatlas.a) && !defined(WITH_BLAS)
|
||||||
|
WITH_ATLAS= yes
|
||||||
.else
|
.else
|
||||||
LIB_DEPENDS+= cblas.1:${PORTSDIR}/math/atlas
|
WITH_BLAS= yes
|
||||||
|
.endif
|
||||||
|
.if defined(WITH_ATLAS)
|
||||||
|
LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
|
||||||
|
.else
|
||||||
|
LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
|
@ -112,4 +125,4 @@ do-install:
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
Loading…
Reference in a new issue