Ticket #38319: Portfile-openmpi.diff
File Portfile-openmpi.diff, 1.5 KB (added by dstrubbe (David Strubbe), 12 years ago) |
---|
-
Portfile
old new 5 5 6 6 name openmpi 7 7 version 1.6.4 8 revision 1 8 9 set branch [join [lrange [split ${version} .] 0 1] .] 9 10 categories science parallel net 10 11 platforms darwin … … 52 53 post-destroot { 53 54 foreach bin {mpirun mpiexec} { 54 55 system -W ${destroot}${prefix}/bin \ 55 "ln -sf ${prefix}/lib/${name}/bin/orterun open${bin}"56 "ln -sf ${prefix}/lib/${name}/bin/orterun ${bin}" 56 57 } 57 58 foreach bin ${wrappers} { 58 59 system -W ${destroot}${prefix}/bin \ 59 "ln -sf ${prefix}/lib/${name}/bin/opal_wrapper open${bin}"60 "ln -sf ${prefix}/lib/${name}/bin/opal_wrapper ${bin}" 60 61 system -W ${destroot}${prefix}/share/${name} \ 61 62 "ln -sf ${prefix}/share/${name}/${bin}-wrapper-data.txt \ 62 open${bin}-wrapper-data.txt"63 ${bin}-wrapper-data.txt" 63 64 } 64 65 } 65 66 67 conflicts mpich mpich2 mpich3 lammpi 68 66 69 variant threads description {enable threads for MPI applications} { 67 70 configure.args-append --enable-mpi-thread-multiple 68 71 } … … 143 146 configure.cppflags-delete -I${prefix}/include 144 147 configure.ldflags-delete -L${prefix}/lib 145 148 146 configure.ccache no 147 No newline at end of file 149 configure.ccache no