summaryrefslogtreecommitdiff
path: root/math/atlas
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-15 03:53:15 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-15 03:53:15 +0000
commite66657a5c756d5ab0576118aae5222127321ec14 (patch)
treed021a788b7549383f155fd38eff3669e9690a036 /math/atlas
parentFix wrong prev link from the first picture on the last page. (diff)
add atlas 3.3.14
Automatically Tuned Linear Algebra Software (ATLAS) PR: 35908 Submitted by: Nakata Maho <chat95@mbox.kyoto-inet.or.jp>
Notes
Notes: svn path=/head/; revision=56117
Diffstat (limited to 'math/atlas')
-rw-r--r--math/atlas/Makefile44
-rw-r--r--math/atlas/distinfo1
-rw-r--r--math/atlas/files/answer9
-rw-r--r--math/atlas/files/patch-aa10
-rw-r--r--math/atlas/pkg-comment1
-rw-r--r--math/atlas/pkg-descr22
-rw-r--r--math/atlas/pkg-plist21
7 files changed, 108 insertions, 0 deletions
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