[105139] trunk/dports/math/petsc/Portfile
mmoll at macports.org
mmoll at macports.org
Thu Apr 11 14:31:30 PDT 2013
Revision: 105139
https://trac.macports.org/changeset/105139
Author: mmoll at macports.org
Date: 2013-04-11 14:31:30 -0700 (Thu, 11 Apr 2013)
Log Message:
-----------
math/petsc: use Accelerate framework with +accelerate variant, even if atlas is installed. Closes #38752
Modified Paths:
--------------
trunk/dports/math/petsc/Portfile
Modified: trunk/dports/math/petsc/Portfile
===================================================================
--- trunk/dports/math/petsc/Portfile 2013-04-11 21:29:42 UTC (rev 105138)
+++ trunk/dports/math/petsc/Portfile 2013-04-11 21:31:30 UTC (rev 105139)
@@ -6,6 +6,7 @@
name petsc
version 3.3-p6
+revision 1
categories math science
maintainers mmoll
description Portable, Extensible Toolkit for Scientific Computation
@@ -85,6 +86,9 @@
configure.args-append \
--with-blas-lib=/usr/lib/libblas.dylib \
--with-lapack-lib=/usr/lib/liblapack.dylib
+ post-configure {
+ reinplace "s|-L/usr/lib -llapack -lblas|-Wl,-framework -Wl,Accelerate|g" ${worksrcpath}/arch-darwin-cxx-debug/conf/petscvariables
+ }
}
variant atlas description {Use Atlas for LAPACK} conflicts accelerate {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130411/98b42b6c/attachment.html>
More information about the macports-changes
mailing list