[126983] trunk/dports/math/petsc

sean at macports.org sean at macports.org
Sat Oct 18 10:45:12 PDT 2014


Revision: 126983
          https://trac.macports.org/changeset/126983
Author:   sean at macports.org
Date:     2014-10-18 10:45:12 -0700 (Sat, 18 Oct 2014)
Log Message:
-----------
petsc-devel: update to newest commit

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

Added Paths:
-----------
    trunk/dports/math/petsc/files/
    trunk/dports/math/petsc/files/patch-env.diff

Modified: trunk/dports/math/petsc/Portfile
===================================================================
--- trunk/dports/math/petsc/Portfile	2014-10-18 17:45:09 UTC (rev 126982)
+++ trunk/dports/math/petsc/Portfile	2014-10-18 17:45:12 UTC (rev 126983)
@@ -6,6 +6,7 @@
 PortGroup           mpi 1.0
 
 bitbucket.setup     petsc petsc 3.5.2 v
+revision            1
 categories          math science
 maintainers         sean
 license             BSD
@@ -27,8 +28,11 @@
 
 depends_build-append \
                     port:sowing \
-                    port:c2html
+                    port:c2html \
+                    port:hwloc
 
+patchfiles-append   patch-env.diff
+
 pre-configure {
     configure.args-append \
         CC="${configure.cc}" \
@@ -38,7 +42,7 @@
         CXXOPTFLAGS="${configure.optflags}" \
         FOPTFLAGS="${configure.optflags}" \
         LDFLAGS="${configure.ldflags}" \
-        CFLAGS="${configure.cflags}" \
+        CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
         CXXFLAGS="${configure.cxxflags}"
 
     if {[mpi_variant_isset]} {
@@ -52,14 +56,14 @@
 }
 
 subport petsc-devel {
-    bitbucket.setup     petsc petsc a817efe7338b
+    bitbucket.setup     petsc petsc 862c68290d4f
     bitbucket.livecheck master
     version             3.5.99
-    revision            3
+    revision            4
     name                petsc-devel
 
-    checksums           rmd160  45b35580d04ffff208b96bff9f540edad64d4954 \
-                        sha256  60f87227b4c85dbcad4b54c4a515adf4eaccf0eefff0d752a3a6e8578673954d
+    checksums           rmd160  85afb45e7627293278e72825fa91ea2800df60f8 \
+                        sha256  a4184a5aa50951f18c0672f5c3b1be598e1ba23efa51c984c11db1df039ef3cf
 }
 
 notes               "Add the following line to your .bash_profile if you plan to use\
@@ -72,7 +76,8 @@
                     --with-fc=0 \
                     --with-shared-libraries \
                     --with-c2html-dir=${prefix} \
-                    --without-x
+                    --without-x \
+                    --with-hwloc-dir=${prefix}
 
 variant accelerate description {Use Accelerate framework for LAPACK} conflicts atlas {
     configure.args-append --with-blas-lapack-lib=/System/Library/Frameworks/Accelerate.framework/Versions/Current/Accelerate

Added: trunk/dports/math/petsc/files/patch-env.diff
===================================================================
--- trunk/dports/math/petsc/files/patch-env.diff	                        (rev 0)
+++ trunk/dports/math/petsc/files/patch-env.diff	2014-10-18 17:45:12 UTC (rev 126983)
@@ -0,0 +1,12 @@
+--- config/BuildSystem/config/setCompilers.py.orig	2014-10-09 13:33:26.000000000 -0700
++++ config/BuildSystem/config/setCompilers.py	2014-10-09 13:34:18.000000000 -0700
+@@ -1543,8 +1543,7 @@
+                  'LDFLAGS','LIBS','MPI_DIR','RM','MAKEFLAGS','AR']
+     for envVal in ignoreEnv:
+       if envVal in os.environ:
+-        self.logPrintBox('***** WARNING: '+envVal+' (set to '+os.environ[envVal]+') found in environment variables - ignoring \n use ./configure '+envVal+'=$'+envVal+' if you really want to use that value ******')
+-        del os.environ[envVal]
++        self.argDB[envVal] = os.environ[envVal]
+     return
+ 
+   def checkIntoShared(self,symbol,lib):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141018/c0a791e3/attachment.html>


More information about the macports-changes mailing list