status of migration to gfortran42 2007.1.12: currently all ports using fortran are unstable.

maho.nakata at gmail.com maho.nakata at gmail.com
Fri Jan 12 08:56:03 UTC 2007


News:

Kris approved that migration to gfortran 
> Unless the changes are too extensive, please proceed.
so I'll proceed.

* currently all ports using fortran are unstable. please wait until I announce
about it....

current status of migration
wait ... wait for commit approval
source ... f90/f77 sources exist
link   ... only exist link against f90/f77 complied libraries
gfortran ... used compiler is gfortran42 
f77     ...  used compiler is g77 (there are some compilation problem with gfortran)

ports                   maintainer           Used Fortran  committed    f77/f90?
science/at              ports at FreeBSD.org    gfortran        yes          source 
math/superlu_mt         ports at FreeBSD.org    gfortran        yes          source 
math/metis-edf          ports at FreeBSD.org    gfortran        yes          source 
math/nsc2ke             ports at FreeBSD.org    gfortran        yes          source 
math/linpack            ports at FreeBSD.org    gfortran        yes          source 
math/octave-devel       maho at FreeBSD.org     gfortran        yes          source (*)
math/jags      eric+fbports at vangyzen.net     gfortran        yes          source 
math/libRmath  eric+fbports at vangyzen.net     gfortran        yes          source 
science/elmerfront     ports at FreeBSD.org     gfortran        yes          source 
science/elmer-fem       ports at FreeBSD.org    gfortran        yes          source 
math/R             eric+fbports at vangyzen.net gfortran        yes          source 
science/elmer-hutiter   ports at FreeBSD.org    gfortran        yes          source 
math/sdpa               maho at FreeBSD.org     gfortran        yes          link
math/sdpara             maho at FreeBSD.org     gfortran        yes          link
science/elmer-eio       ports at FreeBSD.org    gfortran        yes          source 
math/scalapack          maho at FreeBSD.org     gfortran        yes          source
math/blacs              maho at FreeBSD.org     gfortran        yes          source
math/blocksolve95       ports at FreeBSD.org    gfortran        yes          source 
math/lapack++           maho at FreeBSD.org     gfortran        yes          source
math/lapack95           maho at FreeBSD.org     gfortran        yes          source
math/suitesparse        maho at FreeBSD.org     gfortran        yes          source
science/mpqc            maho at FreeBSD.org     gfortran        yes          link
science/2dhf            maho at FreeBSD.org     gfortran        yes          source 
cad/calculix            maho at FreeBSD.org     gfortran        yes          source 
math/arpack             ports at FreeBSD.org    gfortran        yes          source 
math/taucs              ports at FreeBSD.org    gfortran        yes          source 
math/metis              ports at FreeBSD.org    gfortran        yes          source 
net/openmpi             brooks at FreeBSD.org   gfortran        yes          source 
biology/psi88           ports at FreeBSD.org    f77             yes          source 
benchmarks/himenobench  maho at FreeBSD.org     gfortran        yes          source 
biology/ortep3          ports at FreeBSD.org    gfortran        yes          source 
biology/molden          ports at FreeBSD.org    gfortran        yes          source 
astro/cfitsio           ports at FreeBSD.org    gfortran        yes          source 
math/blas               stas at FreeBSD.org     gfortran        yes          source 
math/atlas              maho at FreeBSD.org     gfortran        yes          source 
math/atlas-devel        maho at FreeBSD.org     gfortran        yes          source 
math/lapack             jmz at FreeBSD.org      gfortran        yes          source 
net/mpich2              thierry at FreeBSD.org  gfortran        yes          source
--------------------------------------------------------------------

* Migrate to gfortran42
WANT_FORTRAN=	yes #dummy but future use
BUILD_DEPENDS+=	gfortran42:${PORTSDIR}/lang/gcc42
FC=		gfortran42
F77=		gfortran42

* Linking blas/lapack or atlas
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
WITH_ATLAS=     yes
.endif
.if defined(WITH_ATLAS)
LIB_DEPENDS+=   atlas.2:${PORTSDIR}/math/atlas
BLAS=		-lf77blas -latlas
LAPACK=		-lalapack
.else
LIB_DEPENDS+=   blas.2:${PORTSDIR}/math/blas
LIB_DEPENDS+=   lapack.4:${PORTSDIR}/math/lapack
BLAS=		-lblas
LAPACK=		-llapack
.endif

* Useful for other stuffs for gfortran related libaries when link against -lblas with C/C++ programs 
this corresponds to when some program want to link against libg2c of libf2c with GNU f77.

FORTRANLIBDIR=  `${DIRNAME} \`gfortran42 -print-libgcc-file-name\``
FORTRANLIBDIR2= `${DIRNAME} \`gfortran42 -print-libgcc-file-name\``/../../../
FORTRANLIBS=    -lgfortranbegin -lgfortran

thanks,
-- NAKATA, Maho (maho at FreeBSD.org)
_______________________________________________
freebsd-ports at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"



More information about the freebsd-ports mailing list