New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79614


Ignore:
Timestamp:
06/20/11 08:30:12 (4 years ago)
Author:
eborisch@…
Message:

mpich2: Upgrade to 1.4. Added llvm variant. Removed g95 variant. Removed python deps as no longer building MPD (using Hydra.) Post-destroot cleanup steps no longer needed with PACKAGE=mpich2 install option.

Location:
trunk/dports/science/mpich2
Files:
1 deleted
1 edited

Legend:

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

    r79613 r79614  
    44PortSystem          1.0 
    55name                mpich2 
    6 version             1.3.2p1 
    7 revision            1 
     6version             1.4 
    87categories          science parallel net 
    98platforms           darwin 
     
    1817    developing new and better parallel programming environments. 
    1918 
     19 
    2020homepage            http://www.mcs.anl.gov/research/projects/mpich2/ 
    2121master_sites        ${homepage}downloads/tarballs/${version}/ 
    2222 
    23 checksums           md5     ae512ce9da2e8a3cc7c344712349eceb \ 
    24                     sha1    1ab05a516c82d622747b137cec83ae549aa3bebe \ 
    25                     rmd160  33a7f55f9f5521133b89d06c4d4388d4938ff8d4 
     23checksums           md5     cf7f8c12161b0af3f111e33c6d15f5c6 \ 
     24                    sha1    011028456e268b013c55a00dfe51f4bc905c1c48 \ 
     25                    rmd160  ecd60567d80ad08ecd06e8fe8cfaeb626941f768 
    2626 
     27# Puts all entries in <prefix>/share into appropriate mpich2 subdirs 
     28destroot.args       PACKAGE=mpich2 
    2729patchfiles          patch-src-util-createshlib.in 
    2830 
     
    4042                    "F90FLAGS='' F90=''" \ 
    4143                    --with-pm=hydra \ 
    42                     --enable-shared 
     44                    --enable-shared \ 
     45                    --enable-base-cache 
    4346 
    4447universal_variant   no 
     
    4649use_parallel_build  no 
    4750 
    48 variant g95 description {Enable Fortran 77 and Fortran 90 bindings using g95} conflicts gcc42 gcc43 gcc44 gcc45 { 
    49     depends_lib-append      port:g95 
    50     configure.f77           "${prefix}/bin/g95" 
    51     configure.fflags        "-i4" 
    52     configure.f90           "${prefix}/bin/g95" 
    53     configure.f90flags      "-i4" 
     51variant gcc45 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc45} conflicts gcc42 gcc43 gcc44 llvm { 
     52    depends_lib-append      port:gcc45 
     53    configure.compiler      macports-gcc-4.5 
     54} 
     55 
     56variant gcc44 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc44} conflicts gcc42 gcc43 gcc45 llvm { 
     57    depends_lib-append      port:gcc44 
     58    configure.compiler      macports-gcc-4.4 
     59} 
     60 
     61variant gcc43 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43} conflicts gcc42 gcc44 gcc45 llvm { 
     62    depends_lib-append      port:gcc43 
     63    configure.compiler      macports-gcc-4.3 
     64} 
     65 
     66variant gcc42 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc42} conflicts gcc43 gcc44 gcc45 llvm { 
     67    depends_lib-append      port:gcc42 
     68    configure.compiler      macports-gcc-4.2 
     69} 
     70 
     71if {[ variant_isset gcc42 ] ||  
     72    [ variant_isset gcc43 ] ||  
     73    [ variant_isset gcc44 ] ||  
     74    [ variant_isset gcc45 ]} { 
    5475    configure.args-append   --enable-f77 --enable-fc 
    5576    configure.args-delete   --disable-f77 --disable-fc  
    5677} 
    5778 
    58 variant gcc45 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc45} conflicts g95 gcc42 gcc43 gcc44 { 
    59     depends_lib-append      port:gcc45 
    60     configure.compiler      macports-gcc-4.5 
    61     configure.args-append   --enable-f77 --enable-fc 
    62     configure.args-delete   --disable-f77 --disable-fc  
    63 } 
    64  
    65 variant gcc44 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc44} conflicts g95 gcc42 gcc43 gcc45 { 
    66     depends_lib-append      port:gcc44 
    67     configure.compiler      macports-gcc-4.4 
    68     configure.args-append   --enable-f77 --enable-fc 
    69     configure.args-delete   --disable-f77 --disable-fc  
    70 } 
    71  
    72 variant gcc43 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43} conflicts g95 gcc42 gcc44 gcc45 { 
    73     depends_lib-append      port:gcc43 
    74     configure.compiler      macports-gcc-4.3 
    75     configure.args-append   --enable-f77 --enable-fc 
    76     configure.args-delete   --disable-f77 --disable-fc  
    77 } 
    78  
    79 variant gcc42 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc42} conflicts g95 gcc43 gcc44 gcc45 { 
    80     depends_lib-append      port:gcc42 
    81     configure.compiler      macports-gcc-4.2 
    82     configure.args-append   --enable-f77 --enable-fc 
    83     configure.args-delete   --disable-f77 --disable-fc  
     79variant llvm description {Use llvm-gcc} conflicts gcc42 gcc43 gcc44 gcc45 { 
     80    configure.compiler      llvm-gcc-4.2 
    8481} 
    8582 
     
    9390} 
    9491 
    95 variant python25 conflicts python26 python27 description {Use Python 2.5} { 
    96     depends_lib-append     port:python25 
    97     configure.args-append  --with-python=${prefix}/bin/python2.5 
    98 } 
    99 variant python26 conflicts python25 python27 description {Use Python 2.6} { 
    100     depends_lib-append     port:python26 
    101     configure.args-append  --with-python=${prefix}/bin/python2.6 
    102 } 
    103 variant python27 conflicts python25 python26 description {Use Python 2.7} { 
    104     depends_lib-append     port:python27 
    105     configure.args-append  --with-python=${prefix}/bin/python2.7 
    106 } 
    107 if {![variant_isset python25] && ![variant_isset python26]} { 
    108     default_variants +python27 
    109 } 
    110  
    11192variant default_mpi description {Install as defalt MPI -- conflict with OpenMPI} { 
    11293    configure.args-delete   --includedir=${prefix}/include/${name} 
    113 } 
    114  
    115 post-destroot { 
    116     # Fix misplaced documentation directories 
    117     foreach d {jumpshot-4 www4} { 
    118         move ${destroot}${prefix}/share/doc/${d} ${destroot}${prefix}/share/doc/${name}/${d} 
    119     } 
    120      
    121     # Fix misplaced examples directories 
    122     xinstall -d ${destroot}${prefix}/share/examples/${name} 
    123     foreach p {collchk graphics logging} { 
    124         move ${destroot}${prefix}/share/examples_${p} ${destroot}${prefix}/share/examples/${name}/${p} 
    125     } 
    126      
    127     # Remove questionable scripts 
    128     foreach f {mpecheckinstall mpeuninstall} { 
    129         delete ${destroot}${prefix}/sbin/${f} 
    130     } 
    13194} 
    13295 
Note: See TracChangeset for help on using the changeset viewer.