mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
* Use gfortran42 only and not gcc42.
* Bump portrevision.
This commit is contained in:
parent
3f62ee0632
commit
8ab34e7539
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182143
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= blacs
|
||||
PORTVERSION= 1.7
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= ftp://ftp.netlib.org/blacs/
|
||||
DISTNAME= BLACS
|
||||
@ -41,8 +41,10 @@ RUN_DEPENDS= ${LOCALBASE}/mpich2/bin/mpirun:${PORTSDIR}/net/mpich2
|
||||
EXTRA_PATCHES+= ${FILESDIR}/Bmake.inc-mpich.diff
|
||||
.endif
|
||||
|
||||
WANT_FORTRAN=yes
|
||||
USE_GCC=4.2+
|
||||
WANT_FORTRAN= yes #dummy but future use
|
||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
||||
FC= gfortran42
|
||||
F77= gfortran42
|
||||
MAKE_ENV= "FC=${FC}" "F77=${F77}"
|
||||
USE_GMAKE=yes
|
||||
F77EXTRAFLAGS= #-w -fno-globals -fugly-complex
|
||||
@ -73,6 +75,7 @@ pre-configure:
|
||||
|
||||
do-build:
|
||||
(cd ${WRKSRC}; make mpi; make tester)
|
||||
# (cd ${WRKSRC}_SHARED; make mpi; make tester)
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/LIB/blacsCinit_MPI-FreeBSD-${DEBUG_LEVEL}.a ${PREFIX}/lib/libblacsc.a
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= blocksolve95
|
||||
PORTVERSION= 3.0
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= math parallel
|
||||
MASTER_SITES= ftp://info.mcs.anl.gov/pub/BlockSolve95/ \
|
||||
ftp://ftp.irisa.fr/pub/mirrors/BlockSolve95/
|
||||
@ -32,8 +32,10 @@ MPIDIR= ${LOCALBASE}/mpich2
|
||||
PETSC_ARCH= freebsd
|
||||
BOPT?= O
|
||||
|
||||
WANT_FORTRAN= yes
|
||||
USE_GCC=4.2+
|
||||
WANT_FORTRAN= yes #dummy but future use
|
||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
||||
FC= gfortran42
|
||||
F77= gfortran42
|
||||
FFLAGS+= -O2
|
||||
|
||||
INCLUDES= BMmsg.h BSdepend.h BSlog.h BSmy_blas.h BSprivate.h BSsparse.h
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= lapack++
|
||||
PORTVERSION= 2.5.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
http://math.nist.gov/lapack++/:doc
|
||||
@ -22,8 +23,7 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
MAINTAINER= maho@FreeBSD.org
|
||||
COMMENT= Linear Algebra PACKage in C++, a wrapper for LAPACK
|
||||
|
||||
WANT_FORTRAN= yes
|
||||
USE_GCC= 4.2+
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
|
||||
WITH_ATLAS= yes
|
||||
@ -35,6 +35,11 @@ LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas
|
||||
LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
|
||||
.endif
|
||||
|
||||
WANT_FORTRAN= yes #dummy but future use
|
||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
||||
FC= gfortran42
|
||||
F77= gfortran42
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
.if defined(WITH_ATLAS)
|
||||
@ -50,6 +55,7 @@ LAPACK_LIB= -L${LOCALBASE}/lib -llapack
|
||||
|
||||
#lapack++ forces to use atlas when detected, so we should disable here.
|
||||
CONFIGURE_ARGS+= --with-blas="${BLAS_LIB}" --with-lapack="${LAPACK_LIB}" --disable-atlas
|
||||
CONFIGURE_ENV+= FC="${FC}" F77="${F77}"
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC} ; ${GMAKE} install)
|
||||
@ -61,4 +67,4 @@ do-install:
|
||||
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapackppman1_1.ps.gz ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= lapack95
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= ftp://ftp.netlib.org/lapack95/
|
||||
DISTNAME= ${PORTNAME}
|
||||
@ -38,8 +38,10 @@ BLAS= -lblas
|
||||
LAPACK= -llapack
|
||||
.endif
|
||||
|
||||
WANT_FORTRAN= yes
|
||||
USE_GCC= 4.2+
|
||||
WANT_FORTRAN= yes #dummy but future use
|
||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
||||
FC= gfortran42
|
||||
F77= gfortran42
|
||||
WRKSRC= ${WRKDIR}/LAPACK95
|
||||
FORTRAN_FIXED=
|
||||
FORTRAN_FREE=# -free
|
||||
|
Loading…
Reference in New Issue
Block a user