[149124] trunk/dports/science/mpich

eborisch at macports.org eborisch at macports.org
Tue May 31 15:17:24 PDT 2016


Revision: 149124
          https://trac.macports.org/changeset/149124
Author:   eborisch at macports.org
Date:     2016-05-31 15:17:24 -0700 (Tue, 31 May 2016)
Log Message:
-----------
mpich[-devel] and sup-ports: Add patch to fix alignment attribute (needs to follow close bracket.) Adds threads variant, adds clang39 sub-port.

Modified Paths:
--------------
    trunk/dports/science/mpich/Portfile

Added Paths:
-----------
    trunk/dports/science/mpich/files/alignment.patch

Modified: trunk/dports/science/mpich/Portfile
===================================================================
--- trunk/dports/science/mpich/Portfile	2016-05-31 18:33:19 UTC (rev 149123)
+++ trunk/dports/science/mpich/Portfile	2016-05-31 22:17:24 UTC (rev 149124)
@@ -9,7 +9,7 @@
 name                mpich
 version             3.2
 # Note multiple revisions in Portfile (for various sub-ports to reduce builds)
-revision            0
+revision            1
 
 license             BSD
 categories          science parallel net
@@ -52,7 +52,7 @@
 if {[string first "-devel" $subport] > 0} {
     name                mpich-devel
     version             3.2
-    revision            0
+    revision            1
     # To see 3.2 as newer than 3.2rcX
     epoch               2
 
@@ -88,6 +88,7 @@
     clang36 {macports-clang-3.6}
     clang37 {macports-clang-3.7}
     clang38 {macports-clang-3.8}
+    clang39 {macports-clang-3.9}
     gcc43   {macports-gcc-4.3}
     gcc44   {macports-gcc-4.4}
     gcc45   {macports-gcc-4.5}
@@ -129,6 +130,10 @@
                     --enable-versioning \
                     "F90FLAGS='' F90=''"
 
+variant threads description {Build with full thread support} {
+    configure.args-append   --enable-threads=multiple
+}
+
 platform darwin {
     configure.args-append   --enable-timer-type=mach_absolute_time
 }
@@ -145,6 +150,8 @@
         set cname                   mp
     }
 
+    patchfiles-append       alignment.patch
+
     # As we are making wrappers, we depend on the compilers to exist. The
     # compilers group already does this for gcc, but not clangXX.  This adds
     # clang-X.X to the depends_lib (not just depends_build)
@@ -208,7 +215,7 @@
 
     if { [string first gcc $cname] == 0 } {
         append long_description " AND FORTRAN COMPILERS"
-        revision                3
+        revision                4
         configure.args-delete   --disable-f77 --disable-fc
         configure.args-append   --enable-f77 --enable-fc
         select.file             ${filespath}/${name}-${cname}-fortran

Added: trunk/dports/science/mpich/files/alignment.patch
===================================================================
--- trunk/dports/science/mpich/files/alignment.patch	                        (rev 0)
+++ trunk/dports/science/mpich/files/alignment.patch	2016-05-31 22:17:24 UTC (rev 149124)
@@ -0,0 +1,11 @@
+--- src/include/mpiimpl.h_orig	2016-05-31 08:10:27.000000000 -0500
++++ src/include/mpiimpl.h	2016-05-31 08:10:43.000000000 -0500
+@@ -1528,7 +1528,7 @@
+ #ifdef MPID_DEV_REQUEST_DECL
+     MPID_DEV_REQUEST_DECL
+ #endif
+-} MPID_Request ATTRIBUTE((__aligned__(32)));
++} ATTRIBUTE((__aligned__(32))) MPID_Request;
+ 
+ extern MPIU_Object_alloc_t MPID_Request_mem;
+ /* Preallocated request objects */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160531/91ffc75e/attachment.html>


More information about the macports-changes mailing list