[143764] trunk/dports/math/petsc/Portfile

sean at macports.org sean at macports.org
Sun Dec 20 17:49:22 PST 2015


Revision: 143764
          https://trac.macports.org/changeset/143764
Author:   sean at macports.org
Date:     2015-12-20 17:49:22 -0800 (Sun, 20 Dec 2015)
Log Message:
-----------
petsc-devel: update to newest commit

The next release needs updated superlu and superlu_dist which doesn't work with
previous versions of petsc. So, let's disable it until 3.7 comes out in
January.

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

Modified: trunk/dports/math/petsc/Portfile
===================================================================
--- trunk/dports/math/petsc/Portfile	2015-12-21 01:49:20 UTC (rev 143763)
+++ trunk/dports/math/petsc/Portfile	2015-12-21 01:49:22 UTC (rev 143764)
@@ -31,7 +31,8 @@
 
 post-extract {
     # superlu 4.1 works with 3.6.1, can remove this after next update
-    reinplace "s,4\.0,4.1,g" ${worksrcpath}/config/BuildSystem/config/packages/SuperLU_DIST.py
+    reinplace "s,4\.1,4.2,g" ${worksrcpath}/config/BuildSystem/config/packages/SuperLU_DIST.py
+    reinplace "s,5\.0,5.1,g" ${worksrcpath}/config/BuildSystem/config/packages/SuperLU.py
 }
 
 pre-configure {
@@ -64,13 +65,13 @@
 }
 
 subport petsc-devel {
-    bitbucket.setup     petsc petsc a9d30d4a3b22
+    bitbucket.setup     petsc petsc 5db81dd290e7
     bitbucket.livecheck master
     version             3.6.99
-    revision            9
+    revision            10
     name                petsc-devel
-    checksums           rmd160  431fabea198a68adcfee36e2b80eb0e4d1f36ce5 \
-                        sha256  bef3c2ba801b2c666aaabf12127690cee0f0f4f061fbe3441213efd2f84ef1b5
+    checksums           rmd160  22af62f0083cc7c6d9544c0c69949d53b0959299 \
+                        sha256  0de7f0a27b6010d6c914f6174e24e53fe40510c248deabdaa51d00535ed88799
 }
 
 notes               "Add the following line to your .bash_profile if you plan to use\
@@ -124,10 +125,12 @@
     mpi.enforce_variant   sundials
 }
 
+if {[string first "-devel" $subport] > 0} {
 variant superlu description {Build with SuperLU interface for a serial direct solver} {
     depends_lib-append    port:superlu
     configure.args-append --with-superlu-dir=${prefix}
 }
+}
 
 variant mumps description {Build with MUMPS interface for a parallel direct solver} requires parmetis {
     depends_lib-append    port:mumps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151220/f862f77c/attachment.html>


More information about the macports-changes mailing list