[117636] trunk/dports/math/OpenBLAS/Portfile

nicos at macports.org nicos at macports.org
Thu Mar 6 04:29:51 PST 2014


Revision: 117636
          https://trac.macports.org/changeset/117636
Author:   nicos at macports.org
Date:     2014-03-06 04:29:51 -0800 (Thu, 06 Mar 2014)
Log Message:
-----------
OpenBLAS: add conflict with OpenBLAS-devel, make flags similar in universal variant

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

Modified: trunk/dports/math/OpenBLAS/Portfile
===================================================================
--- trunk/dports/math/OpenBLAS/Portfile	2014-03-06 12:28:50 UTC (rev 117635)
+++ trunk/dports/math/OpenBLAS/Portfile	2014-03-06 12:29:51 UTC (rev 117636)
@@ -7,6 +7,7 @@
 
 github.setup        xianyi OpenBLAS 0.2.8 v
 
+conflicts           OpenBLAS-devel
 revision            2
 categories          math science
 license             BSD
@@ -95,7 +96,13 @@
             } else {
                 puts $makeINC "BINARY = 32"
             }
-            puts $makeINC "COMMON_OPT = -O3 -march=native"
+            if {![variant_isset clang]} {
+                 puts $makeINC "COMMON_OPT = -O3 -march=native"
+            } else {
+                #Ensure to use the AVX-capable assembler
+                puts $makeINC "COMMON_OPT = -O3 -march=native \
+                    -specs=${prefix}/libexec/dragonegg/llvm33gcc48-integrated-as.specs"
+            }
             puts $makeINC "COMMON_PROF = -pg"
     
             if {![variant_isset lapack]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140306/e6a9694e/attachment.html>


More information about the macports-changes mailing list