Revision: 98295 http://trac.macports.org//changeset/98295 Author: mww@macports.org Date: 2012-10-02 01:00:25 -0700 (Tue, 02 Oct 2012) Log Message: ----------- openmpi: version 1.6.2; #36402 Modified Paths: -------------- trunk/dports/science/openmpi/Portfile Modified: trunk/dports/science/openmpi/Portfile =================================================================== --- trunk/dports/science/openmpi/Portfile 2012-10-02 07:57:17 UTC (rev 98294) +++ trunk/dports/science/openmpi/Portfile 2012-10-02 08:00:25 UTC (rev 98295) @@ -1,3 +1,4 @@ +# -*- 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 # $Id$ PortSystem 1.0 @@ -3,6 +4,5 @@ name openmpi -version 1.5.5 -revision 1 +version 1.6.2 set branch [join [lrange [split ${version} .] 0 1] .] categories science parallel net @@ -22,11 +22,13 @@ set subdir ompi/v${branch}/downloads/ master_sites http://www.open-mpi.org/software/${subdir} \ http://www.open-mpi.de/software/${subdir} \ - http://icl.cs.utk.edu/open-mpi/${subdir} \ - freebsd -checksums md5 f882fd61ff89db856bfd8f0dfa42e1bd \ - sha1 206e555f6d376443f2342f721d944e67dd1a04ef \ - rmd160 6e7648ec0fa553c16b40f886b397d11863039eb2 + http://icl.cs.utk.edu/open-mpi/${subdir} +# keep md5 & sha1 checksums as they are published on http://www.open-mpi.org/software/ompi/v1.6/ +checksums md5 219754715a8e40beb468bbc8f0b3251a \ + sha1 694fd3bac911cdb22f77175884d819b6fea871df \ + rmd160 949539fc255592f51df6aac505e7474a92464703 \ + sha256 5cc7744c6cc4ec2c04bc76c8b12717c4011822a2bd7236f2ea511f09579a714a + use_bzip2 yes pre-extract { file mkdir ${workpath}/build } @@ -34,7 +36,6 @@ configure.dir ${workpath}/build configure.cmd ${worksrcpath}/configure configure.args --disable-mpi-f77 --disable-mpi-f90 \ - --with-xgrid \ --sysconfdir=${prefix}/etc/${name} \ --includedir=${prefix}/include/${name} \ --bindir=${prefix}/lib/${name}/bin \ @@ -63,15 +64,11 @@ } variant threads description {enable threads for MPI applications} { - configure.args-append --enable-mpi-threads + configure.args-append --enable-mpi-thread-multiple } -variant progressthreads description {enable threads asynchronous communication progress} { - configure.args-append --enable-progress-threads -} - variant valgrind description {enable valgrind support} { - depends_lib-append port:valgrind + depends_lib-append path:${prefix}/lib/pkgconfig/valgrind.pc:valgrind configure.args-append --enable-debug --enable-memchecker --with-valgrind=${prefix} } @@ -135,7 +132,7 @@ } livecheck.type regex -livecheck.url http://www.open-mpi.org/software/ompi/v1.5/ +livecheck.url http://www.open-mpi.org/software/ompi/v1.6/ livecheck.regex openmpi-(\[0-9\.\]+).tar.bz2 universal_variant no @@ -145,3 +142,5 @@ # avoid building against older installed version, ticket #23864 configure.cppflags-delete -I${prefix}/include configure.ldflags-delete -L${prefix}/lib + +configure.ccache no