diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-07-16 14:44:55 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-07-16 14:44:55 +0800 |
commit | be8beaf8ef56bf1eed2c715041a7af753ab727f0 (patch) | |
tree | 89b2a77a0b72b1a60f77e0b4f8d3a96c3601640d /science/mpqc/Makefile | |
parent | a85a33fce6dccee06ea17ee1ac83b8d202d01827 (diff) | |
download | freebsd-ports-gnome-be8beaf8ef56bf1eed2c715041a7af753ab727f0.tar.gz freebsd-ports-gnome-be8beaf8ef56bf1eed2c715041a7af753ab727f0.tar.zst freebsd-ports-gnome-be8beaf8ef56bf1eed2c715041a7af753ab727f0.zip |
fix broken and make some enhancement
1. using math/atlas(added lapack, blas flags for other choices of lapack,
blas package)
It improves the performance for few percent.
2. override CFLAGS, FFLAGS for C++, C, FORTRAN compiler
3. override CC, F77, C++ for other choices of C++, C, FORTRAN compiler
4. support for parallel computing using MPI.
pass maintainership to submitter
PR: 40631
Submitted by: Nakata Maho <chat95@mbox.kyoto-inet.or.jp> (new maintainer)
No Response from: original maintainer (mail bounce)
Diffstat (limited to 'science/mpqc/Makefile')
-rw-r--r-- | science/mpqc/Makefile | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/science/mpqc/Makefile b/science/mpqc/Makefile index 0280e5c08764..b1124e3d2ccd 100644 --- a/science/mpqc/Makefile +++ b/science/mpqc/Makefile @@ -10,19 +10,26 @@ PORTVERSION= 2.1.1 CATEGORIES= science MASTER_SITES= http://aros.ca.sandia.gov/~cljanss/mpqc/distrib/ -MAINTAINER= batman@udel.edu +MAINTAINER= chat95@mbox.kyoto-inet.or.jp -LIB_DEPENDS= blas:${PORTSDIR}/math/blas \ - lapack:${PORTSDIR}/math/lapack +LIB_DEPENDS= lapack:${PORTSDIR}/math/lapack \ + atlas:${PORTSDIR}/math/atlas USE_BISON= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-libdirs=-L${LOCALBASE}/lib +USE_AUTOCONF= yes +CONFIGURE_ARGS= --with-libdirs=-L${PREFIX}/lib \ + --with-blas="-lf77blas -latlas" \ + --with-lapack="-lalapack -lcblas" \ + --with-coptflags="${CFLAGS}" \ + --with-cxxoptflags="${CFLAGS}" \ + --with-f77optflags="${FFLAGS}" USE_PERL5= yes USE_GMAKE= yes ALL_TARGET= # empty -post-patch: - @${PERL} -pi -e "s,-lpthreads,${PTHREAD_LIBS},g" ${WRKSRC}/configure +pre-configure: + @${ECHO} "You can override and CFLAGS on the command line." + @${ECHO} "Following is a recommended one." + @${ECHO} "make CFLAGS=\"-malign-double -fexpensive-optimizations -O4 -ffast-math -funroll-loops\"" .include <bsd.port.mk> |