[60524] trunk/dports/math/atlas/Portfile
jameskyle at macports.org
jameskyle at macports.org
Sat Nov 14 10:22:25 PST 2009
Revision: 60524
http://trac.macports.org/changeset/60524
Author: jameskyle at macports.org
Date: 2009-11-14 10:22:25 -0800 (Sat, 14 Nov 2009)
Log Message:
-----------
Changed embedded variant for clock configure to a simple conditional.
Modified Paths:
--------------
trunk/dports/math/atlas/Portfile
Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile 2009-11-14 18:19:40 UTC (rev 60523)
+++ trunk/dports/math/atlas/Portfile 2009-11-14 18:22:25 UTC (rev 60524)
@@ -104,15 +104,13 @@
# Get some system specific variables for maximum optimization
set cpufreq [expr {[exec sysctl -n hw.cpufrequency]/1000000}]
ui_debug "Setting CPU Frequency for: ${cpufreq}"
-
- platform darwin i386 {
+
+ if {[string equal "${os.arch}" "powerpc"]} {
+ configure.args-append -D c -DWALL
+ } else {
configure.args-append -D c -DPentiumCPS=${cpufreq}
}
-
- platform darwin ppc {
- configure.args-append -D c -DWALL
- }
-
+
# 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091114/e68f9de3/attachment.html>
More information about the macports-changes
mailing list