[69457] trunk/dports/math/atlas/Portfile
jameskyle at macports.org
jameskyle at macports.org
Tue Jul 6 10:37:24 PDT 2010
Revision: 69457
http://trac.macports.org/changeset/69457
Author: jameskyle at macports.org
Date: 2010-07-06 10:37:23 -0700 (Tue, 06 Jul 2010)
Log Message:
-----------
Updated the atlas port to retrieve lapack v3.2.2. Incremented revision and changed dist_subdir so stealth updates cause macports mirrors to recache files.
Modified Paths:
--------------
trunk/dports/math/atlas/Portfile
Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile 2010-07-06 17:33:30 UTC (rev 69456)
+++ trunk/dports/math/atlas/Portfile 2010-07-06 17:37:23 UTC (rev 69457)
@@ -6,10 +6,10 @@
categories math
name atlas
version 3.8.3
-revision 2
+revision 3
# additional versions
-set lapackversion 3.2.1
+set lapackversion 3.2.2
set lapackname lapack
set atlasdist ${name}${version}.tar.bz2
set lapackdist ${lapackname}.tgz
@@ -24,7 +24,7 @@
homepage http://math-atlas.sourceforge.net/
-master_sites sourceforge:math-atlas/${name}${version}.tar.bz2:atlas \
+master_sites sourceforge:math-atlas:atlas \
http://www.netlib.org/lapack:lapack
distfiles ${atlasdist}:atlas \
@@ -34,14 +34,16 @@
patch-archinfo_freebsd.c.diff \
patch-SpewMakeInc.c.diff
-checksums atlas${version}.tar.bz2 \
+dist_subdir ${name}/${version}_${revision}
+
+checksums atlas3.8.3.tar.bz2 \
md5 6c13be94a87178e7582111c08e9503bc \
sha1 c7546210df4796457d9e96a00444adc4c0f2e77f \
rmd160 0425e630d9d0c5b7aae81427a41b7eaa18447e90 \
lapack.tgz \
- md5 a3202a4f9e2f15ffd05d15dab4ac7857 \
- sha1 c75223fdef3258c461370af5d2b889d580d7f38a \
- rmd160 e8fabba2fdd944afbc02a83599cf45a0d721030d
+ md5 37369f490a4c26d6e6551470ce5ad7d1 \
+ sha1 335cfd6a07988149556db2544118c5b0ed972062 \
+ rmd160 a4bd4ef86ea6977558a4c5595d8628c00f3c5247
use_parallel_build no
@@ -97,8 +99,8 @@
-C sk ${configure.cc} \
--cc=${configure.cc} \
-b ${my_arch} \
- -Fa alg -fPIC
-
+ -Fa alg -fPIC
+
if { [variant_isset universal] } {
configure.universal_args-delete --disable-dependency-tracking
configure.args-delete -b ${my_arch}
@@ -114,8 +116,8 @@
}
build.env-append "CC=${configure.cc} CXX=${configure.cxx}"
-
+
# we are configuring from the build directory
configure.dir ${workpath}/${name}-${version}/build
configure.cmd ../configure
@@ -147,11 +149,11 @@
reinplace "s|cc=gcc|cc=${configure.cc}|g" ${worksrcpath}/configure
reinplace "s|-no-cpp-precomp||g" ${workpath}/${name}-${version}/CONFIG/src/atlcomp.txt
-
+
# Get some system specific variables for maximum optimization
set cpufreq [expr {[exec sysctl -n hw.cpufrequency]/1000000}]
ui_debug "Setting CPU Frequency for: ${cpufreq}"
-
+
if {[string equal "${os.arch}" "powerpc"]} {
configure.args-append -D c -DWALL
} else {
@@ -165,7 +167,7 @@
}
foreach arch ${archs} {
-
+
# first do a 'fake configure' of atlas so we get optimized lapack libraries
ui_debug "performing fake configure of atlas for optimized lapack"
# atlas docs: 3.1.2
@@ -200,7 +202,7 @@
${lapack_path}/make.inc
reinplace "s|OPTS = -O2|OPTS = ${atlas_fflags}|" \
${lapack_path}/make.inc
-
+
if { ! [variant_isset universal] } {
reinplace "s|NOOPT = -O0|NOOPT = -O2 -m${my_arch}|" \
${lapack_path}/make.inc
@@ -239,7 +241,7 @@
} else {
set archs ${build_arch}
}
-
+
foreach arch ${archs} {
if { ! [variant_isset universal] } {
set atlas_path ${workpath}/${name}-${version}
@@ -273,7 +275,7 @@
} else {
set archs ${build_arch}
}
-
+
foreach arch ${archs} {
if { ! [variant_isset universal] } {
set atlas_path ${workpath}/${name}-${version}
@@ -303,7 +305,7 @@
} else {
set archs ${build_arch}
}
-
+
foreach arch ${archs} {
if { ! [variant_isset universal] } {
set atlas_path ${workpath}/${name}-${version}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100706/9b77d491/attachment.html>
More information about the macports-changes
mailing list