[132259] trunk/dports/math/OpenBLAS/Portfile
nicos at macports.org
nicos at macports.org
Wed Jan 28 03:23:52 PST 2015
Revision: 132259
https://trac.macports.org/changeset/132259
Author: nicos at macports.org
Date: 2015-01-28 03:23:52 -0800 (Wed, 28 Jan 2015)
Log Message:
-----------
openblas: fix gcc build (ticket #46684),
fix file architecture
Modified Paths:
--------------
trunk/dports/math/OpenBLAS/Portfile
Modified: trunk/dports/math/OpenBLAS/Portfile
===================================================================
--- trunk/dports/math/OpenBLAS/Portfile 2015-01-28 09:42:43 UTC (rev 132258)
+++ trunk/dports/math/OpenBLAS/Portfile 2015-01-28 11:23:52 UTC (rev 132259)
@@ -7,6 +7,8 @@
github.setup xianyi OpenBLAS 0.2.13 v
+revision 1
+
conflicts OpenBLAS-devel
categories math science
license BSD
@@ -96,10 +98,10 @@
puts $makeINC "BINARY = 32"
}
if {![variant_isset clang]} {
- puts $makeINC "COMMON_OPT = -O3 -march=native"
+ puts $makeINC "COMMON_OPT = -O3"
} else {
#Ensure to use the AVX-capable assembler
- puts $makeINC "COMMON_OPT = -O3 -march=native \
+ puts $makeINC "COMMON_OPT = -O3 \
-specs=${prefix}/libexec/dragonegg/llvm33gcc48-integrated-as.specs"
}
puts $makeINC "COMMON_PROF = -pg"
@@ -126,10 +128,10 @@
puts $makeINC "BINARY = 32"
}
if {![variant_isset clang]} {
- puts $makeINC "COMMON_OPT = -O3 -march=native"
+ puts $makeINC "COMMON_OPT = -O3"
} else {
#Ensure to use the AVX-capable assembler
- puts $makeINC "COMMON_OPT = -O3 -march=native \
+ puts $makeINC "COMMON_OPT = -O3 \
-specs=${prefix}/libexec/dragonegg/llvm33gcc48-integrated-as.specs"
}
puts $makeINC "COMMON_PROF = -pg"
@@ -157,6 +159,7 @@
system "install_name_tool -id \
${prefix}/lib/libopenblas-r${version}.dylib \
${destroot}${prefix}/lib/libopenblas-r${version}.dylib"
+ file delete ${destroot}/${prefix}/cmake/OpenBLASConfig.cmake
if {[variant_isset lapack]} {
#Install lapacke headers too
xinstall -m 755 ${worksrcpath}/lapack-netlib/lapacke/include/lapacke_config.h \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150128/64584a17/attachment.html>
More information about the macports-changes
mailing list