diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-09-01 21:25:59 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-09-01 21:25:59 +0000 |
commit | 8003ba152f15aa82aaadd76fcd6b669cc0cc9981 (patch) | |
tree | 7842527232644d8f0fc76639a38e9596a910d381 /math/atlas-devel | |
parent | Convert to USES=libtool and add INSTALL_TARGET=install-strip (diff) |
Remove non staged ports without pending PR from ma*
Notes
Notes:
svn path=/head/; revision=366959
Diffstat (limited to 'math/atlas-devel')
-rw-r--r-- | math/atlas-devel/Makefile | 265 | ||||
-rw-r--r-- | math/atlas-devel/distinfo | 2 | ||||
-rw-r--r-- | math/atlas-devel/files/Makefile.test | 35 | ||||
-rw-r--r-- | math/atlas-devel/files/alpha-patch | 9 | ||||
-rw-r--r-- | math/atlas-devel/files/patch-CONFIG+src+SpewMakeInc.c | 20 | ||||
-rw-r--r-- | math/atlas-devel/files/patch-CONFIG+src+atlcomp.txt | 121 | ||||
-rw-r--r-- | math/atlas-devel/files/patch-CONFIG+src+backend+archinfo_freebsd.c | 76 | ||||
-rw-r--r-- | math/atlas-devel/files/patch-tune+sysinfo+L1CacheSize.c | 20 | ||||
-rw-r--r-- | math/atlas-devel/files/thread-patch | 12 | ||||
-rw-r--r-- | math/atlas-devel/pkg-descr | 18 | ||||
-rw-r--r-- | math/atlas-devel/pkg-plist | 50 |
11 files changed, 0 insertions, 628 deletions
diff --git a/math/atlas-devel/Makefile b/math/atlas-devel/Makefile deleted file mode 100644 index 29ab29a710b0..000000000000 --- a/math/atlas-devel/Makefile +++ /dev/null @@ -1,265 +0,0 @@ -# Created by: Nakata Maho <maho@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= atlas -PORTVERSION= 3.9.11 -PORTREVISION= 3 -CATEGORIES= math -MASTER_SITES= SF/math-${PORTNAME}/Developer%20%28unstable%29/${PORTVERSION} -PKGNAMESUFFIX= -devel -DISTNAME= ${PORTNAME}${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Development version of math/atlas - -IGNORE= : dependent ports have been altered to link with math/atlas -- please\ -use that port instead of math/atlas-devel, while the latter is being revised -MANUAL_PACKAGE_BUILD= Optimizes for the local machine. - -USES= fortran gmake tar:bzip2 -USE_GCC= yes -WRKSRC= ${WRKDIR}/ATLAS -USE_LDCONFIG= yes -CONFLICTS= atlas-[0-9]* cblas-[0-9]* - -NO_STAGE= yes -.include <bsd.port.pre.mk> - -NOT_FOR_ARCHS= alpha - -CCOMPILER= ${CC} -LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas -LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack - -.if ${ARCH} == "sparc64" -PICFLAG?= -fPIC -.else -PICFLAG?= -fpic -.endif - -.if ${ARCH} == "i386" -POINTER= 32 -.endif -.if ${ARCH} == "amd64" -POINTER= 64 -.endif -.if ${ARCH} == "sparc64" -POINTER= 64 -.endif - -.if (${OSVERSION} < 700000) && defined(WITH_GCC42KERNEL) -BUILD_DEPENDS+= gcc42:${PORTSDIR}/lang/gcc42 -KERNELFLAG= -Ss kern gcc42 -.else -KERNELFLAG= "" -.endif - -.if defined(WITH_WALL_TIMER) -. if defined(MHZ) && ( ${ARCH} == "i386" || ${ARCH} == "amd64" ) -TIMEFLAG= -D c -DPentiumCPS=${MHZ} -. else -TIMEFLAG= -D c -DWALL -. endif -.else -TIMEFLAG= "" -.endif - -# only used for lapack sub-project -.if defined(WITH_OPTIMIZED_FLAGS) -.if defined(CPUTYPE) -FFLAGS+= -march=${CPUTYPE} -pipe -O2 -ffast-math -.else -FFLAGS+= -pipe -O2 -ffast-math -.endif -.endif -.if defined(WITH_STATICLIB) -PLIST_SUB+= WITH_STATICLIB="" -.else -PLIST_SUB+= WITH_STATICLIB="@comment " -.endif - -post-extract: - @${ECHO_MSG} 'This port engages in a long, computationally-demanding tuning process.' - @${ECHO_MSG} 'Builds can take a day or more on older hardware, and temporarily occupy' - @${ECHO_MSG} 'several hundred megabytes of disk space. You are advised to disable' - @${ECHO_MSG} 'all forms of power management or CPU throttling (APM, ACPI, Intel' - @${ECHO_MSG} 'SpeedStep, AMD PowerNow, AMD Cool and Quiet, p4tcc, powerd, etc.)' - @${ECHO_MSG} 'that may change the disk I/O or CPU behavior during the build, and' - @${ECHO_MSG} 'to set operating parameters to static values at which you ultimately' - @${ECHO_MSG} 'intend to use the software. You should also avoid placing heavy loads' - @${ECHO_MSG} 'on the system during the build, and temporarily disable any automatons' - @${ECHO_MSG} 'that may do so. If you fail to follow these guidelines, you may prolong' - @${ECHO_MSG} 'the build, perhaps indefinitely, and you may obtain libraries with' - @${ECHO_MSG} 'sub-optimal performance.' - @${ECHO_MSG} - @${ECHO_MSG} 'Occasionally the autoconfiguration may fail for certain platforms, and' - @${ECHO_MSG} 'you may have to override the architecture, compiler flags, assembly' - @${ECHO_MSG} 'language dialect, or pointer bit-width by issuing additional configure' - @${ECHO_MSG} 'arguments. Consult the FAQ, installation guide, and errata page at' - @${ECHO_MSG} 'the project website for help if this is necessary, and notify the' - @${ECHO_MSG} 'port maintainer.' - @${ECHO_MSG} - @${ECHO_MSG} "This port purposely ignores the CC and CFLAGS settings" - @${ECHO_MSG} "Program and compiler flags are fine-tuned to the gcc 4.2.x" - @${ECHO_MSG} "compiler, although other gcc versions may be used; gcc 4.1.x" - @${ECHO_MSG} "is NOT recommended" - @${ECHO_MSG} -.if !defined(WITH_STATICLIB) - @${ECHO_MSG} "You can build static libraries with" - @${ECHO_MSG} "make -DWITH_STATICLIB" - @${ECHO_MSG} -.endif -.if !defined(WITH_WALL_TIMER) - @${ECHO_MSG} "If your machine will be solely dedicated to" - @${ECHO_MSG} "building atlas with gcc during the lengthy optimization" - @${ECHO_MSG} "process, and not subjected to other loads, you" - @${ECHO_MSG} "may enable the more accurate wall timer (instead of" - @${ECHO_MSG} "the default CPU-time timer) with make -DWITH_WALL_TIMER" - @${ECHO_MSG} "If, in addition, you are on i386 or amd64, you may set MHZ" - @${ECHO_MSG} "to your CPU clock frequency in MHz (rounded to the nearest" - @${ECHO_MSG} "integer value) in the build environment for cycle-to-time" - @${ECHO_MSG} "conversion" - @${ECHO_MSG} -.endif -.if (${OSVERSION} < 700000) -.if !defined(WITH_GCC42KERNEL) - @${ECHO_MSG} "If you don't want to make gcc 4.2.x your default compiler (CC)," - @${ECHO_MSG} "but you want to have ATLAS use it to compile all the kernel" - @${ECHO_MSG} "routines (this usually results in superior performance, and a" - @${ECHO_MSG} "slightly faster build), while compiling interface routines and" - @${ECHO_MSG} "doing any linking with gcc 3.x, make a hybrid build with" - @${ECHO_MSG} "make -DWITH_GCC42KERNEL" - @${ECHO_MSG} -.endif -.endif - -pre-configure: - @${REINPLACE_CMD} -e "s|%%CC%%|${CCOMPILER}|g" \ - -e "s|%%FC%%|${FC}|g" ${WRKSRC}/CONFIG/src/atlcomp.txt - @${REINPLACE_CMD} -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \ - -e "s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g" \ - -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ - ${WRKSRC}/CONFIG/src/SpewMakeInc.c - -do-configure: -#non-threaded -#dummy f77lib, it is not used. - ${MKDIR} ${WRKSRC}/NON_THREADED ; cd ${WRKSRC}/NON_THREADED ; \ - ../configure -v 2 -t 0 ${TIMEFLAG} -b ${POINTER} -Si cputhrchk 0 ${KERNELFLAG} -Ss f77lib " " - ${MKDIR} ${WRKSRC}/NON_THREADED_PIC ; cd ${WRKSRC}/NON_THREADED_PIC ; \ - ../configure -v 2 -t 0 -b ${POINTER} -Fa alg '${PICFLAG} -DPIC' ${TIMEFLAG} -Si cputhrchk 0 ${KERNELFLAG} -Ss f77lib " " -#threaded -#dummy f77lib, it is not used. - cd ${WRKSRC}; ${PATCH} < ${FILESDIR}/thread-patch - ${MKDIR} ${WRKSRC}/THREADED ; cd ${WRKSRC}/THREADED ; \ - ../configure -v 2 -b ${POINTER} -Fa alg '${PTHREAD_CFLAGS} ' ${TIMEFLAG} -Si cputhrchk 0 ${KERNELFLAG} -Ss f77lib " " - ${MKDIR} ${WRKSRC}/THREADED_PIC ; cd ${WRKSRC}/THREADED_PIC ; \ - ../configure -v 2 -b ${POINTER} -Fa alg '${PTHREAD_CFLAGS} ${PICFLAG} -DPIC' ${TIMEFLAG} -Si cputhrchk 0 ${KERNELFLAG} -Ss f77lib " " - -do-build: -# make lapack -.if ! exists(${WRKDIR}/lapack/Makefile) - @${ECHO_MSG} "===> Extracting lapack sub project" - @${MKDIR} ${WRKDIR}/lapack - @${CP} -r ${PORTSDIR}/math/lapack/files ${WRKDIR}/lapack - @${CP} ${PORTSDIR}/math/lapack/Makefile ${WRKDIR}/lapack - @${CP} ${PORTSDIR}/math/lapack/distinfo ${WRKDIR}/lapack - @${CP} ${PORTSDIR}/math/lapack/pkg-descr ${WRKDIR}/lapack - @cd ${WRKDIR}/lapack ; ${MAKE} "FFLAGS=${FFLAGS}" FC="${FC}" build WRKDIRPREFIX="" -.endif -.if defined(WITH_STATICLIB) - (cd ${WRKSRC}/NON_THREADED ; ${MAKE}) - (cd ${WRKSRC}/THREADED ; ${MAKE}) -.endif - (cd ${WRKSRC}/NON_THREADED_PIC ; ${MAKE}) - (cd ${WRKSRC}/THREADED_PIC ; ${MAKE}) -test: - @${MAKE} do-test - -ATLAS_LIBS1=libalapack libatlas libcblas libf77blas #libtstatlas -ATLAS_LIBS2=libptcblas libptf77blas -LAPACKWRKSRC=`cd ${WRKDIR}/lapack; ${MAKE} -V WRKSRC WRKDIRPREFIX=""` - -post-build: -.if defined(WITH_STATICLIB) -# make atlas-enhanced lapack (static ver) - (cd ${WRKSRC}; ${MKDIR} tmp1 ; \ - ${CP} ${LAPACKWRKSRC}/liblapack.a tmp1 ;\ - cd tmp1 ;\ - ar x liblapack.a ;\ - ar x ../NON_THREADED/lib/liblapack.a ;\ - ar r ../NON_THREADED/lib/libalapack.a *.o ;\ - ranlib ../NON_THREADED/lib/libalapack.a ) -# make atlas-enhanced lapack (static and thread-safe ver) - (cd ${WRKSRC}; ${MKDIR} tmp2 ; \ - ${CP} ${LAPACKWRKSRC}/liblapack.a tmp2 ;\ - cd tmp2 ;\ - ar x liblapack.a ;\ - ar x ../THREADED/lib/liblapack.a ;\ - ar r ../THREADED/lib/libalapack.a *.o ;\ - ranlib ../THREADED/lib/libalapack.a ) -.endif -# make atlas-enhanced lapack (shared ver) - ( cd ${WRKSRC}; ${MKDIR} tmp3 ;\ - ${CP} ${LAPACKWRKSRC}_shared/liblapack.a tmp3 ;\ - cd tmp3 ;\ - ar x liblapack.a ;\ - ar x ../NON_THREADED_PIC/lib/liblapack.a ;\ - ar r ../NON_THREADED_PIC/lib/libalapack.a *.o ;\ - ranlib ../NON_THREADED_PIC/lib/libalapack.a ) -# make atlas-enhanced lapack (shared and thread-safe ver) - ( cd ${WRKSRC}; ${MKDIR} tmp4 ;\ - ${CP} ${LAPACKWRKSRC}_shared/liblapack.a tmp4 ;\ - cd tmp4 ;\ - ar x liblapack.a ;\ - ar x ../THREADED_PIC/lib/liblapack.a ;\ - ar r ../THREADED_PIC/lib/libalapack.a *.o ;\ - ranlib ../THREADED_PIC/lib/libalapack.a ) - -# make atlas shared library -.for i in ${ATLAS_LIBS1} - ( cd ${WRKSRC}/NON_THREADED_PIC/lib ; \ - ld -Bshareable -o ${i}.so.2 -x -soname ${i}.so.2 --whole-archive ${i}.a ) -.endfor - -# make atlas shared (thread-safe) library -.for i in ${ATLAS_LIBS1} - ( cd ${WRKSRC}/THREADED_PIC/lib ; \ - ld -Bshareable -o ${i}_r.so.2 -x -soname ${i}_r.so.2 --whole-archive ${i}.a ) -.endfor -.for i in ${ATLAS_LIBS2} - ( cd ${WRKSRC}/THREADED_PIC/lib ; \ - ld -Bshareable -o ${i}.so.2 -x -soname ${i}.so.2 --whole-archive ${i}.a ) -.endfor -do-install: -.for i in ${ATLAS_LIBS1} -.if defined(WITH_STATICLIB) - @${INSTALL_DATA} ${WRKSRC}/NON_THREADED/lib/${i}.a ${PREFIX}/lib -.endif - @${INSTALL_DATA} ${WRKSRC}/NON_THREADED_PIC/lib/${i}.so.2 ${PREFIX}/lib - @${LN} -sf ${i}.so.2 ${PREFIX}/lib/${i}.so -.endfor -.for i in ${ATLAS_LIBS1} -.if defined(WITH_STATICLIB) - @${INSTALL_DATA} ${WRKSRC}/THREADED/lib/${i}.a ${PREFIX}/lib/${i}_r.a -.endif - @${INSTALL_DATA} ${WRKSRC}/THREADED_PIC/lib/${i}_r.so.2 ${PREFIX}/lib/${i}_r.so.2 - @${LN} -sf ${i}_r.so.2 ${PREFIX}/lib/${i}_r.so -.endfor -.for i in ${ATLAS_LIBS2} -.if defined(WITH_STATICLIB) - @${INSTALL_DATA} ${WRKSRC}/THREADED/lib/${i}.a ${PREFIX}/lib -.endif - @${INSTALL_DATA} ${WRKSRC}/THREADED_PIC/lib/${i}.so.2 ${PREFIX}/lib - @${LN} -sf ${i}.so.2 ${PREFIX}/lib/${i}.so -.endfor - - @${INSTALL_DATA} ${WRKSRC}/include/cblas.h ${PREFIX}/include - @${INSTALL_DATA} ${WRKSRC}/include/clapack.h ${PREFIX}/include -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} -.endif - -.include <${FILESDIR}/Makefile.test> -.include <bsd.port.post.mk> diff --git a/math/atlas-devel/distinfo b/math/atlas-devel/distinfo deleted file mode 100644 index 64e8d5306082..000000000000 --- a/math/atlas-devel/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (atlas3.9.11.tar.bz2) = d91e593a772cf540ff693f7d8c43d10c3037eb334c5c77572ea1b6a64a0b9677 -SIZE (atlas3.9.11.tar.bz2) = 4699100 diff --git a/math/atlas-devel/files/Makefile.test b/math/atlas-devel/files/Makefile.test deleted file mode 100644 index 1eaae571f323..000000000000 --- a/math/atlas-devel/files/Makefile.test +++ /dev/null @@ -1,35 +0,0 @@ -ALLTESTS = xsl3blastst xdl3blastst xcl3blastst xzl3blastst \ - xsl2blastst xdl2blastst xcl2blastst xzl2blastst \ - xsl1blastst xdl1blastst xcl1blastst xzl1blastst \ - xslutst xslutstF xdlutst xdlutstF xclutst xclutstF \ - xzlutst xzlutstF xsllttst xsllttstF xdllttst xdllttstF \ - xcllttst xcllttstF xzllttst xzllttstF - -ALLTESTS_PT = xsl3blastst_pt xdl3blastst_pt xcl3blastst_pt xzl3blastst_pt \ - xslutst_pt xslutstF_pt xdlutst_pt xdlutstF_pt xclutst_pt xclutstF_pt \ - xzlutst_pt xzlutstF_pt xsllttst_pt xsllttstF_pt xdllttst_pt \ - xdllttstF_pt xcllttst_pt xcllttstF_pt xzllttst_pt xzllttstF_pt -#build errors? -# xsl2blastst_pt xdl2blastst_pt xcl2blastst_pt xzl2blastst_pt \ -# xsl1blastst_pt xdl1blastst_pt xcl1blastst_pt xzl1blastst_pt \ -#Failed tests -do-test: - @for i in ${ALLTESTS} ; do \ - ${ECHO_CMD} "Making $${i}" ; \ - cd ${WRKDIR}/ATLAS/NON_THREADED_PIC/bin ; ${MAKE} $${i} ; \ - done - @for i in ${ALLTESTS_PT} ; do \ - ${ECHO_CMD} "Making $${i}" ; \ - cd ${WRKDIR}/ATLAS/THREADED_PIC/bin ; ${MAKE} $${i} ; \ - done - @for i in ${ALLTESTS} ; do \ - ${ECHO_CMD} "Benchmarking $${i}" ; \ - cd ${WRKDIR}/ATLAS/NON_THREADED_PIC/bin ; ./$${i} ; \ - done - @for i in ${ALLTESTS_PT} ; do \ - ${ECHO_CMD} "Benchmarking $${i}" ; \ - cd ${WRKDIR}/ATLAS/THREADED_PIC/bin ; ./$${i} ; \ - done - - - diff --git a/math/atlas-devel/files/alpha-patch b/math/atlas-devel/files/alpha-patch deleted file mode 100644 index 564198d5be91..000000000000 --- a/math/atlas-devel/files/alpha-patch +++ /dev/null @@ -1,9 +0,0 @@ ---- src/blas/gemm/GOTO/ATLU_usergemm.c~ Mon Jun 17 10:38:22 2002 -+++ src/blas/gemm/GOTO/ATLU_usergemm.c Sun Aug 18 10:41:19 2002 -@@ -1,5 +1,5 @@ - #include "atlas_misc.h" --#include <sys/mman.h> -+/*#include <sys/mman.h>*/ - - #ifdef EV6 - #ifdef ATL_OS_OSF1 diff --git a/math/atlas-devel/files/patch-CONFIG+src+SpewMakeInc.c b/math/atlas-devel/files/patch-CONFIG+src+SpewMakeInc.c deleted file mode 100644 index 502d4c169a0f..000000000000 --- a/math/atlas-devel/files/patch-CONFIG+src+SpewMakeInc.c +++ /dev/null @@ -1,20 +0,0 @@ ---- CONFIG/src/SpewMakeInc.c.orig 2009-04-07 23:11:39.000000000 +0900 -+++ CONFIG/src/SpewMakeInc.c 2009-04-13 17:20:56.000000000 +0900 -@@ -737,7 +737,7 @@ - fprintf(fpout, "# ------------------------------------\n"); - fprintf(fpout, "# Reference and system libraries\n"); - fprintf(fpout, "# ------------------------------------\n"); -- fprintf(fpout, " FBLASlib = $(LIBdir)/libf77refblas.a\n"); -+ fprintf(fpout, " FBLASlib = -L%%LOCALBASE%%/lib -lblas\n"); - fprintf(fpout, " BLASlib = $(FBLASlib)\n"); - if (LAsrcd) - { -@@ -754,7 +754,7 @@ - fprintf(fpout, " SLAPACKlib = \n"); - if (THREADS) - { -- fprintf(fpout, " LIBS = -lpthread"); -+ fprintf(fpout, " LIBS = %%PTHREAD_LIBS%%"); - if (OSIsWin(OS)) - fprintf(fpout, " -lkernel32"); - } diff --git a/math/atlas-devel/files/patch-CONFIG+src+atlcomp.txt b/math/atlas-devel/files/patch-CONFIG+src+atlcomp.txt deleted file mode 100644 index 7a4be8e203cc..000000000000 --- a/math/atlas-devel/files/patch-CONFIG+src+atlcomp.txt +++ /dev/null @@ -1,121 +0,0 @@ ---- CONFIG/src/atlcomp.txt 2009-04-07 23:11:39.000000000 +0900 -+++ CONFIG/src/atlcomp.txt 2009-04-13 17:22:20.000000000 +0900 -@@ -40,31 +40,31 @@ - # - # Core2 & Corei7 - MACH=Corei7 OS=ALL LVL=1000 COMPS=smc,dmc,skc,dkc,icc -- 'gcc' '-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -fno-schedule-insns2' -+ '%%CC%%' '-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -fno-schedule-insns2' - MACH=Core2 OS=ALL LVL=1000 COMPS=smc,dmc,skc,dkc,icc -- 'gcc' '-fomit-frame-pointer -mfpmath=sse -msse3 -O2' -+ '%%CC%%' '-fomit-frame-pointer -mfpmath=sse -msse3 -O2' - # PPRO,PII,PIII,P4,P4E,K7,HAMMER - MACH=PPRO,PII,PIII,P4,P4E,K7,HAMMER OS=ALL LVL=1000 COMPS=f77 -- 'gfortran' '-fomit-frame-pointer -mfpmath=387 -O2 -falign-loops=4' -+ '%%FC%%' '-fomit-frame-pointer -mfpmath=387 -O2 -falign-loops=4' - MACH=PPRO,PII,PIII,P4,P4E,K7,HAMMER OS=ALL LVL=1000 COMPS=smc,dmc,skc,dkc,icc -- 'gcc' '-fomit-frame-pointer -mfpmath=387 -O2 -falign-loops=4' -+ '%%CC%%' '-fomit-frame-pointer -mfpmath=387 -O2 -falign-loops=4' - # CoreSolo,CoreDuo - MACH=CoreSolo,CoreDuo OS=ALL LVL=1000 COMPS=smc,dmc,skc,dkc,icc -- 'gcc' '-fomit-frame-pointer -O3 -mfpmath=387' -+ '%%CC%%' '-fomit-frame-pointer -O3 -mfpmath=387' - # 3rd generation opteron (Barcelona and descendents) - MACH=AMD64K10h OS=ALL LVL=1000 COMPS=f77 -- 'gfortran' '-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -falign-loops=32' -+ '%%FC%%' '-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -falign-loops=32' - MACH=AMD64K10h OS=ALL LVL=1000 COMPS=smc,dmc,skc,dkc,icc -- 'gcc' '-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -falign-loops=32' -+ '%%CC%%' '-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -falign-loops=32' - # UltraSPARC III & IV - MACH=USIII,USIV OS=ALL LVL=1000 COMPS=smc,dmc,skc,dkc -- 'gcc' '-mcpu=ultrasparc3 -mtune=ultrasparc3 -O3 -funroll-all-loops' -+ '%%CC%%' '-mcpu=ultrasparc3 -mtune=ultrasparc3 -O3 -funroll-all-loops' - MACH=USIII,USIV OS=ALL LVL=1000 COMPS=icc,xcc -- 'gcc' '-mcpu=ultrasparc3 -mtune=ultrasparc3 -O' -+ '%%CC%%' '-mcpu=ultrasparc3 -mtune=ultrasparc3 -O' - MACH=USIII,USIV OS=ALL LVL=1000 COMPS=f77 - 'f77' '-dalign -native -xO5' - MACH=USIII,USIV OS=ALL LVL=100 COMPS=f77 -- 'gfortran' '-O -mcpu=ultrasparc3 -mtune=ultrasparc3' -+ '%%FC%%' '-O -mcpu=ultrasparc3 -mtune=ultrasparc3' - MACH=USIII,USIV OS=ALL LVL=10 COMPS=f77 - 'g77' '-O -mcpu=ultrasparc3 -mtune=ultrasparc3' - # -@@ -72,11 +72,11 @@ - # - # These gcc 4 default flags will die on gcc3, allowing gcc3's flags to be used - MACH=IA64Itan,IA64Itan2 OS=ALL LVL=1010 COMPS=smc,dmc,skc,dkc -- 'gcc' '-fomit-frame-pointer -O2 -fno-tree-loop-optimize' -+ '%%CC%%' '-fomit-frame-pointer -O2 -fno-tree-loop-optimize' - MACH=IA64Itan,IA64Itan2 OS=ALL LVL=1000 COMPS=smc,dmc,skc,dkc -- 'gcc' '-fomit-frame-pointer -O2' -+ '%%CC%%' '-fomit-frame-pointer -O2' - MACH=IA64Itan,IA64Itan2 OS=ALL LVL=1010 COMPS=f77 -- 'gfortran' '-fomit-frame-pointer -O2 -fno-tree-loop-optimize' -+ '%%FC%%' '-fomit-frame-pointer -O2 -fno-tree-loop-optimize' - # - # IRIX/MIPS - # -@@ -92,7 +92,7 @@ - # pathcc at -O2 -- seems to be a compiler error - # - MACH=MIPSICE9 OS=ALL LVL=500 COMPS=icc,smc,dmc,skc,dkc,xcc -- 'gcc' '-O2 -mips64 -march=5kf -mtune=5kf -fno-schedule-insns -fschedule-insns2 -fno-peephole -fno-peephole2' -+ '%%CC%%' '-O2 -mips64 -march=5kf -mtune=5kf -fno-schedule-insns -fschedule-insns2 -fno-peephole -fno-peephole2' - MACH=MIPSICE9 OS=ALL LVL=1000 COMPS=f77 - 'pathf95' '-march=auto -O2' - MACH=MIPSICE9 OS=ALL LVL=1 COMPS=skc,dkc -@@ -105,9 +105,9 @@ - # G4 flags - # - MACH=PPCG4 OS=ALL LVL=1000 COMPS=icc,smc,dmc,skc,dkc,xcc -- 'gcc' '-O3 -maltivec -mabi=altivec -mcpu=7400 -mtune=7400' -+ '%%CC%%' '-O3 -maltivec -mabi=altivec -mcpu=7400 -mtune=7400' - MACH=PPCG4 OS=OSX LVL=1001 COMPS=icc,smc,dmc,skc,dkc,xcc -- 'gcc' '-O3 -maltivec -mabi=altivec -mcpu=7400 -mtune=7400 -no-cpp-precomp -faltivec' -+ '%%CC%%' '-O3 -maltivec -mabi=altivec -mcpu=7400 -mtune=7400 -no-cpp-precomp -faltivec' - - # - # OS X / PowerPC970; the -@@ -116,19 +116,19 @@ - # performance by removing them (for all PowerPC platforms) - # - MACH=PPCG5 OS=OSX LVL=1001 COMPS=icc,smc,dmc,skc,dkc,xcc -- 'gcc' '-mpowerpc64 -maltivec -mabi=altivec -mcpu=970 -mtune=970 -faltivec -O3' -+ '%%CC%%' '-mpowerpc64 -maltivec -mabi=altivec -mcpu=970 -mtune=970 -faltivec -O3' - MACH=PPCG5 OS=OSX LVL=1010 COMPS=icc,smc,dmc,skc,dkc,xcc -- 'gcc' '-mpowerpc64 -maltivec -mabi=altivec -mcpu=970 -mtune=970 -faltivec -force_cpusubtype_ALL -O3 -fno-schedule-insns -fno-rerun-loop-opt' -+ '%%CC%%' '-mpowerpc64 -maltivec -mabi=altivec -mcpu=970 -mtune=970 -faltivec -force_cpusubtype_ALL -O3 -fno-schedule-insns -fno-rerun-loop-opt' - MACH=PPCG5 OS=ALL LVL=1000 COMPS=icc,smc,dmc,skc,dkc,xcc -- 'gcc' '-mpowerpc64 -maltivec -mabi=altivec -mcpu=970 -mtune=970 -O3' -+ '%%CC%%' '-mpowerpc64 -maltivec -mabi=altivec -mcpu=970 -mtune=970 -O3' - MACH=POWER5 OS=ALL LVL=1010 COMPS=icc,smc,dmc,skc,dkc,xcc -- 'gcc' '-mcpu=power5 -mtune=power5 -O3 -fno-schedule-insns -fno-rerun-loop-opt' -+ '%%CC%%' '-mcpu=power5 -mtune=power5 -O3 -fno-schedule-insns -fno-rerun-loop-opt' - MACH=POWER5 OS=ALL LVL=1010 COMPS=f77 -- 'gfortran' '-mcpu=power5 -mtune=power5 -O3 -fno-schedule-insns -fno-rerun-loop-opt' -+ '%%FC%%' '-mcpu=power5 -mtune=power5 -O3 -fno-schedule-insns -fno-rerun-loop-opt' - MACH=POWER5 OS=ALL LVL=1010 COMPS=f77 - 'xlf' '-qtune=pwr5 -qarch=pwr5 -O3 -qmaxmem=-1 -qfloat=hsflt' - MACH=POWER4 OS=ALL LVL=1010 COMPS=icc,dmc,smc,dkc,skc,xcc -- 'gcc' '-mcpu=power4 -mtune=power4 -O3 -fno-schedule-insns -fno-rerun-loop-opt' -+ '%%CC%%' '-mcpu=power4 -mtune=power4 -O3 -fno-schedule-insns -fno-rerun-loop-opt' - MACH=POWER4 OS=ALL LVL=1010 COMPS=f77 - 'xlf' '-qtune=pwr4 -qarch=pwr4 -O3 -qmaxmem=-1 -qfloat=hsflt' - # -@@ -148,10 +148,10 @@ - # Generic defaults - # - MACH=ALL OS=ALL LVL=5 COMPS=icc,smc,dmc,skc,dkc,xcc -- 'gcc' '-O -fomit-frame-pointer' -+ '%%CC%%' '-O -fomit-frame-pointer' - MACH=ALL OS=ALL LVL=5 COMPS=f77 -- 'gfortran' '-O' -+ '%%FC%%' '-O' - MACH=ALL OS=ALL LVL=4 COMPS=f77 -- 'g77' '-O' -+ '%%FC%%' '-O' - MACH=ALL OS=ALL LVL=0 COMPS=f77 -- 'f77' '-O' -+ '%%FC%%' '-O' diff --git a/math/atlas-devel/files/patch-CONFIG+src+backend+archinfo_freebsd.c b/math/atlas-devel/files/patch-CONFIG+src+backend+archinfo_freebsd.c deleted file mode 100644 index eb8bb07d29e9..000000000000 --- a/math/atlas-devel/files/patch-CONFIG+src+backend+archinfo_freebsd.c +++ /dev/null @@ -1,76 +0,0 @@ ---- CONFIG/src/backend/archinfo_freebsd.c.orig Wed Jan 31 06:30:00 2007 -+++ CONFIG/src/backend/archinfo_freebsd.c Thu Feb 8 16:37:05 2007 -@@ -73,13 +73,24 @@ - } - break; - case AFSPARC: /* don't know */ -+ if (!CmndOneLine(NULL, "sysctl hw.model", res)) -+ { -+ if (strstr(res, "UltraSparc-IV")) mach = SunUSIV; -+ if (strstr(res, "UltraSparc-II")) mach = SunUSII; -+ if (strstr(res, "UltraSparc-I")) mach = SunUSI; -+ if (strstr(res, "UltraSparc")) mach = SunUSI; -+ else mach = SunUSI; -+ } - break; - case AFALPHA: - #if 0 - if (!CmndOneLine(NULL, "sysctl hw.model", res)) - { - if (strstr(res, "433au")) mach = Dec21164; -+ else if (strstr(res, "500au")) mach = Dec21164; -+ else if (strstr(res, "AlphaPC 164")) mach = Dec21164; - else if (strstr(res, "XP1000")) mach = Dec21264; -+ else mach = Dec21264; - } - #endif - break; -@@ -89,15 +100,33 @@ - if (!CmndOneLine(NULL, "sysctl hw.model", res)) - { - if (strstr(res, "Pentium Pro")) mach = IntPPRO; -+ else if (strstr(res, "Pentium(R) D")) mach = IntP4E; -+ else if (strstr(res, "Pentium(R) Pro")) mach = IntPPRO; -+ else if (strstr(res, "Pentium 4")) mach = IntP4; -+ else if (strstr(res, "Pentium(R) 4")) mach = IntP4; -+ else if (strstr(res, "Pentium(R) M")) mach = IntP4; - else if (strstr(res, "Pentium III")) mach = IntPIII; - else if (strstr(res, "Pentium II ")) mach = IntPII; - else if (strstr(res, "Athlon")) mach = AmdAthlon; -+ else if (strstr(res, "Pentium III/Pentium III")) mach = IntPIII; -+ else if (strstr(res, "Pentium(R) III")) mach = IntPIII; -+ else if (strstr(res, "Pentium II")) mach = IntPII; -+ else if (strstr(res, "Pentium II/PentiumII")) mach = IntPII; -+ else if (strstr(res, "Pentium(R) II ")) mach = IntPII; -+ else if (strstr(res, "Celeron")) mach = IntPII; -+ else if (strstr(res, "Celeron(R)")) mach = IntPII; -+ else if (strstr(res, "Opteron(tm)")) mach = AmdHammer; -+ else if (strstr(res, "AMD Athlon(tm) 64")) mach = AmdHammer; - else if (strstr(res, "AMD-K7")) mach = AmdAthlon; -- else if (strstr(res, "32 bit Hammer")) mach = AmdHammer; -- else if (strstr(res, "64 bit Hammer")) mach = AmdHammer; -- else if (strstr(res, "Pentium/P55C")) mach = IntP5MMX; /* sent by */ -- else if (strstr(res, "Pentium")) mach=IntP5; /* Nakata Maho */ - else if (strstr(res, "iMac4,1")) mach=IntCoreDuo; -+ else if (strstr(res, "Sempron(tm)")) mach = AmdAthlon; -+ else if (strstr(res, "AMD-K6(tm)")) mach = IntP5MMX; -+ else if (strstr(res, "Pentium/P55C")) mach = IntP5MMX; -+ else if (strstr(res, "Pentium/P54C")) mach=IntP5; -+ else if (strstr(res, "Pentium")) mach=IntP5; -+ else if (strstr(res, "VIA")) mach=IntP5MMX; -+ else if (strstr(res, "Crusoe(tm)")) mach=IntP5MMX; -+ else mach = IntP5; - } - break; - default:; -@@ -156,8 +185,8 @@ - { - int mhz=0; - char res[1024]; -- if (!CmndOneLine(NULL, "sysctl hw.cpufrequency", res) ) -- mhz = GetFirstDouble(res) / 1000000; -+ if (!CmndOneLine(NULL, "sysctl kern.timecounter.choice dev.cpu.0.freq | grep dev", res) ) //requires cpufreq.ko -+ mhz = GetLastInt(res); - return(mhz); - } - diff --git a/math/atlas-devel/files/patch-tune+sysinfo+L1CacheSize.c b/math/atlas-devel/files/patch-tune+sysinfo+L1CacheSize.c deleted file mode 100644 index f93ac6da884f..000000000000 --- a/math/atlas-devel/files/patch-tune+sysinfo+L1CacheSize.c +++ /dev/null @@ -1,20 +0,0 @@ ---- tune/sysinfo/L1CacheSize.c.orig Tue Dec 19 06:48:02 2006 -+++ tune/sysinfo/L1CacheSize.c Wed Dec 27 12:43:59 2006 -@@ -31,7 +31,7 @@ - #include <stdio.h> - #include <stdlib.h> - --#define REPS 4096 -+#define REPS 12288 - - #ifndef time00 - #define time00 ATL_cputime -@@ -267,7 +267,7 @@ - - main(int nargs, char *args[]) - { -- int L1Size, MaxSize=64, correct=1; -+ int L1Size, MaxSize=256, correct=1; - FILE *L1f; - - if (nargs > 2) diff --git a/math/atlas-devel/files/thread-patch b/math/atlas-devel/files/thread-patch deleted file mode 100644 index 8dc50b6dbf7a..000000000000 --- a/math/atlas-devel/files/thread-patch +++ /dev/null @@ -1,12 +0,0 @@ ---- CONFIG/src/SpewMakeInc.c~ 2009-04-13 17:52:14.000000000 +0900 -+++ CONFIG/src/SpewMakeInc.c 2009-04-13 17:53:05.000000000 +0900 -@@ -423,7 +423,8 @@ - &srcdir, &blddir, &USEDEFL1, &USEARCHDEF, &LATUNE, &nof77, - &f2cdefs, &cdefs, &pmake, &flapack, &smaflags, &dmaflags, - &f77lib, &LAsrcd, &l2size, &targ); -- if (ncpu > 1) THREADS = 1; -+/* if (ncpu > 1) THREADS = 1; */ -+ THREADS = 1; - if (!outfile) - fpout = stdout; - else diff --git a/math/atlas-devel/pkg-descr b/math/atlas-devel/pkg-descr deleted file mode 100644 index c59c0267a409..000000000000 --- a/math/atlas-devel/pkg-descr +++ /dev/null @@ -1,18 +0,0 @@ -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. - -If you use blas, you can simply change flags when linking, -from -lblas to -lf77blas -latlas (order is important). - -A few routines from LAPACK are merged into one library as libalapack. -It requres both C and Fortran77 interfaces, and thus that link line would be: --lalapack -lf77blas -lcblas -latlas -lg2c -lm . - -Other choice of CC and CFLAGS are *NOT* recommended. -They are already optimized for this platform and automatically searched. - -WWW: http://math-atlas.sourceforge.net/ diff --git a/math/atlas-devel/pkg-plist b/math/atlas-devel/pkg-plist deleted file mode 100644 index 73fb82ea9e77..000000000000 --- a/math/atlas-devel/pkg-plist +++ /dev/null @@ -1,50 +0,0 @@ -include/cblas.h -include/clapack.h -%%WITH_STATICLIB%%lib/libalapack.a -lib/libalapack.so.2 -lib/libalapack.so -%%WITH_STATICLIB%%lib/libalapack_r.a -lib/libalapack_r.so.2 -lib/libalapack_r.so -%%WITH_STATICLIB%%lib/libatlas.a -lib/libatlas.so.2 -lib/libatlas.so -%%WITH_STATICLIB%%lib/libatlas_r.a -lib/libatlas_r.so.2 -lib/libatlas_r.so -%%WITH_STATICLIB%%lib/libcblas.a -lib/libcblas.so.2 -lib/libcblas.so -%%WITH_STATICLIB%%lib/libcblas_r.a -lib/libcblas_r.so.2 -lib/libcblas_r.so -%%WITH_STATICLIB%%lib/libf77blas.a -lib/libf77blas.so.2 -lib/libf77blas.so -%%WITH_STATICLIB%%lib/libf77blas_r.a -lib/libf77blas_r.so.2 -lib/libf77blas_r.so -%%WITH_STATICLIB%%lib/libptcblas.a -lib/libptcblas.so.2 -lib/libptcblas.so -%%WITH_STATICLIB%%lib/libptf77blas.a -lib/libptf77blas.so.2 -lib/libptf77blas.so -%%PORTDOCS%%share/doc/atlas/AtlasCredits.txt -%%PORTDOCS%%share/doc/atlas/BootSequence.txt -%%PORTDOCS%%share/doc/atlas/ChangeLog -%%PORTDOCS%%share/doc/atlas/DirStruct.txt -%%PORTDOCS%%share/doc/atlas/INDEX.txt -%%PORTDOCS%%share/doc/atlas/LibReadme.txt -%%PORTDOCS%%share/doc/atlas/TestTime.txt -%%PORTDOCS%%share/doc/atlas/TroubleShoot.txt -%%PORTDOCS%%share/doc/atlas/Windows.txt -%%PORTDOCS%%share/doc/atlas/atlas_contrib.pdf -%%PORTDOCS%%share/doc/atlas/atlas_devel.pdf -%%PORTDOCS%%share/doc/atlas/atlas_install.pdf -%%PORTDOCS%%share/doc/atlas/atlas_over.pdf -%%PORTDOCS%%share/doc/atlas/cblas.pdf -%%PORTDOCS%%share/doc/atlas/cblasqref.pdf -%%PORTDOCS%%share/doc/atlas/f77blasqref.pdf -%%PORTDOCS%%share/doc/atlas/lapackqref.pdf -%%PORTDOCS%%@dirrm share/doc/atlas |