[104603] trunk/dports/math/atlas/Portfile

vince at macports.org vince at macports.org
Fri Mar 29 12:28:02 PDT 2013


Revision: 104603
          https://trac.macports.org/changeset/104603
Author:   vince at macports.org
Date:     2013-03-29 12:28:02 -0700 (Fri, 29 Mar 2013)
Log Message:
-----------
Force use of Altivec for ppc builds

Modified Paths:
--------------
    trunk/dports/math/atlas/Portfile

Property Changed:
----------------
    trunk/dports/math/atlas/Portfile

Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile	2013-03-29 17:08:23 UTC (rev 104602)
+++ trunk/dports/math/atlas/Portfile	2013-03-29 19:28:02 UTC (rev 104603)
@@ -1,4 +1,4 @@
-# $Id: Portfile 104220 2013-03-21 03:37:44Z larryv at macports.org $
+# $Id$
 
 PortSystem              1.0
 PortGroup               muniversal 1.0
@@ -279,12 +279,14 @@
     lappend merger_configure_args(ppc)      --cflags=-m32 \
                                             -b 32 \
                                             -A 4 \
+                                            -V 2 \
                                             -s gas_ppc \
                                             -Fa alg -force_cpusubtype_ALL
 
     lappend merger_configure_args(ppc64)    --cflags=-m64 \
                                             -b 64 \
                                             -A 5 \
+                                            -V 2 \
                                             -s gas_ppc \
                                             -Fa alg -force_cpusubtype_ALL
 
@@ -426,6 +428,12 @@
                 }
             }
         }
+        
+        if {${build_arch} == "ppc"} {
+        
+            # ppc uses altivec vectorizing unit
+            configure.args-append       -V 2
+        }
 
         if {${use_clang} == ""} {
         


Property changes on: trunk/dports/math/atlas/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130329/a58d327d/attachment.html>


More information about the macports-changes mailing list