diff options
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/atlas/Makefile | 44 | ||||
-rw-r--r-- | math/atlas/distinfo | 1 | ||||
-rw-r--r-- | math/atlas/files/answer | 9 | ||||
-rw-r--r-- | math/atlas/files/patch-aa | 10 | ||||
-rw-r--r-- | math/atlas/pkg-comment | 1 | ||||
-rw-r--r-- | math/atlas/pkg-descr | 22 | ||||
-rw-r--r-- | math/atlas/pkg-plist | 21 |
8 files changed, 109 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 77df205244ad..e8f3b5e75f8c 100644 --- a/math/Makefile +++ b/math/Makefile @@ -9,6 +9,7 @@ SUBDIR += add SUBDIR += apc SUBDIR += asir2000 + SUBDIR += atlas SUBDIR += biggles SUBDIR += blas SUBDIR += calc diff --git a/math/atlas/Makefile b/math/atlas/Makefile new file mode 100644 index 000000000000..0c0edae86ec8 --- /dev/null +++ b/math/atlas/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: atlas +# Date created: 12 February 2001 +# Whom: Nakata Maho <chat95@mbox.kyoto-inet.or.jp> +# +# $FreeBSD$ +# + +PORTNAME= atlas +PORTVERSION= 3.3.14 +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= math-atlas +DISTNAME= ${PORTNAME}${PORTVERSION} + +MAINTAINER= chat95@mbox.kyoto-inet.or.jp + +BUILD_DEPENDS= ${LOCALBASE}/lib/liblapack.a:${PORTSDIR}/math/lapack + +USE_BZIP2= yes +WRKSRC= ${WRKDIR}/ATLAS +NO_PACKAGE= "It is better to compile at the target machine." +NO_CDROM= "It is better to compile at the target machine." + +do-configure: + @(cd ${WRKSRC}; ${MAKE_ENV} ${MAKE} config < ${FILESDIR}/answer) + +do-build: + (cd ${WRKSRC}; ${MAKE_ENV} ${MAKE} install arch=FreeBSD_GENERIC) + (cd ${WRKSRC}; ${MKDIR} tmp ; \ + ${CP} ${LOCALBASE}/lib/liblapack.a tmp ;\ + cd tmp ;\ + ar x liblapack.a ;\ + ar x ../lib/FreeBSD_GENERIC/liblapack.a ;\ + ar r ../lib/FreeBSD_GENERIC/libalapack.a *.o ;\ + ranlib ../lib/FreeBSD_GENERIC/libalapack.a ) +do-install: + @${MKDIR} ${PREFIX}/share/doc/atlas + ${INSTALL_DATA} ${WRKSRC}/lib/FreeBSD_GENERIC/libatlas.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/lib/FreeBSD_GENERIC/libcblas.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/lib/FreeBSD_GENERIC/libf77blas.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/lib/FreeBSD_GENERIC/libtstatlas.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/lib/FreeBSD_GENERIC/libalapack.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/atlas +.include <bsd.port.mk> diff --git a/math/atlas/distinfo b/math/atlas/distinfo new file mode 100644 index 000000000000..f9d13dc8f6f6 --- /dev/null +++ b/math/atlas/distinfo @@ -0,0 +1 @@ +MD5 (atlas3.3.14.tar.bz2) = f8b88b6033a553c445ef6a24f2109732 diff --git a/math/atlas/files/answer b/math/atlas/files/answer new file mode 100644 index 000000000000..5b40a09cbd12 --- /dev/null +++ b/math/atlas/files/answer @@ -0,0 +1,9 @@ + + + + + +FreeBSD_GENERIC + + + diff --git a/math/atlas/files/patch-aa b/math/atlas/files/patch-aa new file mode 100644 index 000000000000..bded0d8411bd --- /dev/null +++ b/math/atlas/files/patch-aa @@ -0,0 +1,10 @@ +--- config.c.orig Sat Feb 2 11:57:44 2002 ++++ config.c Sun Mar 3 16:28:41 2002 +@@ -2050,6 +2050,7 @@ + if (!CmndOneLine(targ, "sysctl hw.model", ln)) + { + if (strstr(ln, "Pentium Pro")) mach = IntPPRO; ++ else if (strstr(ln, "Pentium 4")) mach = IntP4; + else if (strstr(ln, "Pentium III")) mach = IntPIII; + else if (strstr(ln, "Pentium II ")) mach = IntPII; + else if (strstr(ln, "Athlon")) mach = AmdAthlon; diff --git a/math/atlas/pkg-comment b/math/atlas/pkg-comment new file mode 100644 index 000000000000..cd8e2ecd7e8f --- /dev/null +++ b/math/atlas/pkg-comment @@ -0,0 +1 @@ +Automatically Tuned Linear Algebra Software (ATLAS) diff --git a/math/atlas/pkg-descr b/math/atlas/pkg-descr new file mode 100644 index 000000000000..e49c89224014 --- /dev/null +++ b/math/atlas/pkg-descr @@ -0,0 +1,22 @@ +The ATLAS (Automatically Tuned Linear Algebra Software) project is +an ongoing research effort focusing on applying empirical techniques +in order to provide portable performance. + +At present, it provides C and Fortran77 interfaces to a +portably efficient BLAS implementation, as well as a few routines from LAPACK. + +PLEASE REBUILD YOUR KERNEL WITH +options CPU_ENABLE_SSE +TO ENABLE SSE1/SSE2 SUPPORT BEFORE MAKING ATLAS! +IT SIGNIFICANTLY IMPROVES PERFORMANCE. + +If you use blas, you can simply change flags when linking, +from -lblas to -lf77blas -latlas -lblas (order is important) +get a significantly performance increase. + +LAPACK subroutines are partially implemented. +You change from -llapack to -lalapack to get better performance. + +WWW: http://math-atlas.sourceforge.net/ +- NAKATA, Maho + E-mail: chat95@mbox.kyoto-inet.or.jp diff --git a/math/atlas/pkg-plist b/math/atlas/pkg-plist new file mode 100644 index 000000000000..2365e5553bb3 --- /dev/null +++ b/math/atlas/pkg-plist @@ -0,0 +1,21 @@ +lib/libatlas.a +lib/libalapack.a +lib/libcblas.a +lib/libf77blas.a +lib/libtstatlas.a +share/doc/atlas/AtlasCredits.txt +share/doc/atlas/ChangeLog.txt +share/doc/atlas/DirStruct.txt +share/doc/atlas/INDEX.txt +share/doc/atlas/LibReadme.txt +share/doc/atlas/TestTime.txt +share/doc/atlas/TroubleShoot.txt +share/doc/atlas/Windows.txt +share/doc/atlas/atlas_contrib.ps +share/doc/atlas/atlas_devel.ps +share/doc/atlas/atlas_over.ps +share/doc/atlas/cblas.ps +share/doc/atlas/cblasqref.ps +share/doc/atlas/f77blasqref.ps +share/doc/atlas/lapackqref.ps +@dirrm share/doc/atlas |