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 |
1 | 2 | # $Id: Portfile 97780 2012-09-15 08:10:07Z dports@macports.org $ |
2 | 3 | |
3 | 4 | PortSystem 1.0 |
4 | 5 | |
5 | 6 | name openmpi |
6 | | version 1.5.5 |
7 | | revision 1 |
| 7 | version 1.6.2 |
8 | 8 | set branch [join [lrange [split ${version} .] 0 1] .] |
9 | 9 | categories science parallel net |
10 | 10 | platforms darwin |
… |
… |
|
24 | 24 | http://www.open-mpi.de/software/${subdir} \ |
25 | 25 | http://icl.cs.utk.edu/open-mpi/${subdir} \ |
26 | 26 | freebsd |
27 | | checksums md5 f882fd61ff89db856bfd8f0dfa42e1bd \ |
28 | | sha1 206e555f6d376443f2342f721d944e67dd1a04ef \ |
29 | | rmd160 6e7648ec0fa553c16b40f886b397d11863039eb2 |
| 27 | checksums rmd160 949539fc255592f51df6aac505e7474a92464703 \ |
| 28 | sha256 5cc7744c6cc4ec2c04bc76c8b12717c4011822a2bd7236f2ea511f09579a714a |
| 29 | |
30 | 30 | use_bzip2 yes |
31 | 31 | |
32 | 32 | pre-extract { file mkdir ${workpath}/build } |
… |
… |
|
34 | 34 | configure.dir ${workpath}/build |
35 | 35 | configure.cmd ${worksrcpath}/configure |
36 | 36 | configure.args --disable-mpi-f77 --disable-mpi-f90 \ |
37 | | --with-xgrid \ |
38 | 37 | --sysconfdir=${prefix}/etc/${name} \ |
39 | 38 | --includedir=${prefix}/include/${name} \ |
40 | 39 | --bindir=${prefix}/lib/${name}/bin \ |
… |
… |
|
63 | 62 | } |
64 | 63 | |
65 | 64 | variant threads description {enable threads for MPI applications} { |
66 | | configure.args-append --enable-mpi-threads |
| 65 | configure.args-append --enable-mpi-thread-multiple |
67 | 66 | } |
68 | 67 | |
69 | | variant progressthreads description {enable threads asynchronous communication progress} { |
70 | | configure.args-append --enable-progress-threads |
71 | | } |
| 68 | variant progressthreads description {} |
72 | 69 | |
73 | 70 | variant valgrind description {enable valgrind support} { |
74 | | depends_lib-append port:valgrind |
| 71 | depends_lib-append path:${prefix}/lib/pkgconfig/valgrind.pc:valgrind |
75 | 72 | configure.args-append --enable-debug --enable-memchecker --with-valgrind=${prefix} |
76 | 73 | } |
77 | 74 | |
… |
… |
|
135 | 132 | } |
136 | 133 | |
137 | 134 | livecheck.type regex |
138 | | livecheck.url http://www.open-mpi.org/software/ompi/v1.5/ |
| 135 | livecheck.url http://www.open-mpi.org/software/ompi/v1.6/ |
139 | 136 | livecheck.regex openmpi-(\[0-9\.\]+).tar.bz2 |
140 | 137 | |
141 | 138 | universal_variant no |
… |
… |
|
145 | 142 | # avoid building against older installed version, ticket #23864 |
146 | 143 | configure.cppflags-delete -I${prefix}/include |
147 | 144 | configure.ldflags-delete -L${prefix}/lib |
| 145 | |
| 146 | configure.ccache no |