Ticket #36402: openmpi-1.6.2.patch

File openmpi-1.6.2.patch, 2.6 KB (added by manphiz@…, 12 years ago)
  • Portfile

    diff -urN /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/science/openmpi/Portfile ./Portfile
    old new  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
    12# $Id: Portfile 97780 2012-09-15 08:10:07Z dports@macports.org $
    23
    34PortSystem 1.0
    45
    56name                    openmpi
    6 version                 1.5.5
    7 revision                1
     7version                 1.6.2
    88set branch              [join [lrange [split ${version} .] 0 1] .]
    99categories              science parallel net
    1010platforms               darwin
     
    2424                        http://www.open-mpi.de/software/${subdir} \
    2525                        http://icl.cs.utk.edu/open-mpi/${subdir} \
    2626                        freebsd
    27 checksums           md5     f882fd61ff89db856bfd8f0dfa42e1bd \
    28                     sha1    206e555f6d376443f2342f721d944e67dd1a04ef \
    29                     rmd160  6e7648ec0fa553c16b40f886b397d11863039eb2
     27checksums           rmd160  949539fc255592f51df6aac505e7474a92464703 \
     28                    sha256  5cc7744c6cc4ec2c04bc76c8b12717c4011822a2bd7236f2ea511f09579a714a
     29
    3030use_bzip2               yes
    3131
    3232pre-extract { file mkdir ${workpath}/build }
     
    3434configure.dir   ${workpath}/build
    3535configure.cmd   ${worksrcpath}/configure
    3636configure.args  --disable-mpi-f77 --disable-mpi-f90 \
    37                 --with-xgrid \
    3837                --sysconfdir=${prefix}/etc/${name} \
    3938                --includedir=${prefix}/include/${name} \
    4039                --bindir=${prefix}/lib/${name}/bin \
     
    6362}
    6463
    6564variant threads description {enable threads for MPI applications} {
    66         configure.args-append --enable-mpi-threads
     65        configure.args-append --enable-mpi-thread-multiple
    6766}
    6867
    69 variant progressthreads description {enable threads asynchronous communication progress} {
    70         configure.args-append --enable-progress-threads
    71 }
     68variant progressthreads description {}
    7269
    7370variant valgrind description {enable valgrind support} {
    74         depends_lib-append    port:valgrind
     71        depends_lib-append    path:${prefix}/lib/pkgconfig/valgrind.pc:valgrind
    7572        configure.args-append --enable-debug --enable-memchecker --with-valgrind=${prefix}
    7673}
    7774
     
    135132}
    136133
    137134livecheck.type  regex
    138 livecheck.url   http://www.open-mpi.org/software/ompi/v1.5/
     135livecheck.url   http://www.open-mpi.org/software/ompi/v1.6/
    139136livecheck.regex openmpi-(\[0-9\.\]+).tar.bz2
    140137
    141138universal_variant no
     
    145142# avoid building against older installed version, ticket #23864
    146143configure.cppflags-delete -I${prefix}/include
    147144configure.ldflags-delete -L${prefix}/lib
     145
     146configure.ccache no