diff options
author | Maho Nakata <maho@FreeBSD.org> | 2004-08-16 11:03:07 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2004-08-16 11:03:07 +0000 |
commit | a26dd23859421428b9893d8554c45e7d220bfbc2 (patch) | |
tree | 8ddfd4cf8e0c74c45ca3e64b5c253f0b187f941d /science/mpqc | |
parent | fa59e81f197bb1734342724833261ce900748031 (diff) | |
download | ports-a26dd23859421428b9893d8554c45e7d220bfbc2.tar.gz ports-a26dd23859421428b9893d8554c45e7d220bfbc2.zip |
Notes
Diffstat (limited to 'science/mpqc')
-rw-r--r-- | science/mpqc/Makefile | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/science/mpqc/Makefile b/science/mpqc/Makefile index 869e7ddd44c9..f1ada800a288 100644 --- a/science/mpqc/Makefile +++ b/science/mpqc/Makefile @@ -18,21 +18,39 @@ DISTFILES+= mpqc-man-${PORTVERSION}.tar.gz mpqc-html-${PORTVERSION}.tar.gz MAINTAINER= maho@FreeBSD.org COMMENT= The massively parallel quantum computing library and program +.if defined(USE_ICC) +BUILD_DEPENDS+= ${LOCALBASE}/intel_cc_80/bin/icc:${PORTSDIR}/lang/icc +.endif + LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas USE_BISON= yes GNU_CONFIGURE= yes USE_AUTOCONF_VER=259 +.if defined(USE_ICC) +CC= ${LOCALBASE}/intel_cc_80/bin/icc +CXX= ${LOCALBASE}/intel_cc_80/bin/icpc +CFLAGS= -O3 -tpp7 -xMKW -Vaxlib +CXXFLAGS= -O3 -tpp7 -xMKW -Vaxlib +.endif +BLAS= -lf77blas -latlas +LAPACK= -lalapack -lcblas + CONFIGURE_ARGS= --with-cc=${CC} \ --with-cxx=${CXX} \ --with-f77=${FC} \ --with-libdirs=-L${LOCALBASE}/lib \ - --with-blas="-lf77blas -latlas" \ - --with-lapack="-lalapack -lcblas" \ + --with-blas="${BLAS}" \ + --with-lapack="${LAPACK}" \ --with-coptflags="${CFLAGS}" \ --with-cxxoptflags="${CXXFLAGS}" \ - --with-f77optflags="${FFLAGS}" + --with-f77optflags="${FFLAGS}" \ + --with-include="-I${WRKDIR}" +.if defined(USE_ICC) +CONFIGURE_ARGS+=--with-libs="-lsvml" +.endif + USE_PERL5= yes USE_GMAKE= yes ALL_TARGET= # empty @@ -53,7 +71,7 @@ CXXFLAGS+= -mfancy-math-387 pre-configure: @${ECHO} "You can optimize by setting WITH_OPTIMIZED_FLAGS=yes." - + @${CP} ${FILESDIR}/FlexLexer.h ${WRKDIR} do-install: @cd ${WRKSRC} ; ${GMAKE} install @cd ${WRKSRC} ; ${GMAKE} install_devel |