New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 83075


Ignore:
Timestamp:
08/25/11 07:31:47 (4 years ago)
Author:
eborisch@…
Message:

mpich2: Upgrade to 1.4.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/mpich2/Portfile

    r82653 r83075  
    44PortSystem          1.0 
    55name                mpich2 
    6 version             1.4 
    7 revision            1 
     6version             1.4.1 
    87license             BSD 
    98categories          science parallel net 
     
    1312description         Message Passing Interface (MPI) Library 
    1413long_description \ 
    15     MPICH2 is an implementation of the Message-Passing Interface (MPI). The \ 
    16     goals of MPICH2 are to provide an MPI implementation for important \ 
    17     platforms, including clusters, SMPs, and massively parallel processors. \ 
    18     It also provides a vehicle for MPI implementation research and for \ 
    19     developing new and better parallel programming environments. 
     14   MPICH2 is an implementation of the Message-Passing Interface (MPI). The \ 
     15   goals of MPICH2 are to provide an MPI implementation for important \ 
     16   platforms, including clusters, SMPs, and massively parallel processors. \ 
     17   It also provides a vehicle for MPI implementation research and for \ 
     18   developing new and better parallel programming environments. 
    2019 
    2120 
     
    2322master_sites        ${homepage}downloads/tarballs/${version}/ 
    2423 
    25 checksums           md5     cf7f8c12161b0af3f111e33c6d15f5c6 \ 
    26                     sha1    011028456e268b013c55a00dfe51f4bc905c1c48 \ 
    27                     rmd160  ecd60567d80ad08ecd06e8fe8cfaeb626941f768 
     24checksums           md5     5c423a39900113ab7b01d8b57a0fd8fa \ 
     25                    sha1    dd26c462be95b214b4726740c64e4d3d3578b091 \ 
     26                    rmd160  4f7746b116331e88abe275a65da6f1b7bf8390cb 
    2827 
    2928# Don't build if lammpi is around. 
    3029pre-configure { 
    31     if {[file exists ${prefix}/etc/lammpi/lam-helpfile]} { 
     30if {[file exists ${prefix}/etc/lammpi/lam-helpfile]} { 
    3231      ui_error "Cannot co-exist with lammpi; please deactivate lammpi before configuring." 
    3332      return -code error 
     
    3736pre-build { 
    3837    if {[file exists ${prefix}/etc/lammpi/lam-helpfile]} { 
    39       ui_error "Cannot co-exist with lammpi; please deactivate lammpi before building." 
    40       return -code error 
    41     } 
     38  ui_error "Cannot co-exist with lammpi; please deactivate lammpi before building." 
     39  return -code error 
     40} 
    4241} 
    4342 
     
    6059                    --with-pm=hydra \ 
    6160                    --enable-shared \ 
     61                    --enable-cache \ 
     62                    --enable-smpcoll \ 
    6263                    --enable-base-cache 
    6364 
     
    6768use_parallel_build  no 
    6869conflicts           lammpi 
     70 
     71# Fixes for the beta DESTDIR support in 1.4.1. Should go away in 1.5 branch. 
     72post-patch { 
     73    reinplace -E "s|fix=\\\$\\\{DESTDIR\\\}|fix=|g" \ 
     74        ${worksrcpath}/Makefile.in 
     75    reinplace -E "s|dir=\\\$\\\{DESTDIR\\\}|dir=|g" \ 
     76        ${worksrcpath}/Makefile.in 
     77} 
     78 
     79post-destroot { 
     80    reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/bin/mpicxx 
     81    reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/bin/mpicc 
     82    reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/etc/mpicxx.conf 
     83    reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/etc/mpicc.conf 
     84 
     85    file delete ${destroot}/${prefix}/sbin/mpeuninstall 
     86} 
    6987 
    7088# As MPICH creates compiler wrappers, there are lots of 
Note: See TracChangeset for help on using the changeset viewer.