Ticket #11160: openmpi_v2.patch
File openmpi_v2.patch, 1.3 KB (added by 0xced (Cédric Luthi), 18 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name openmpi 6 version 1.1. 16 version 1.1.2 7 7 categories science parallel net 8 8 platforms darwin 9 9 maintainers mww@opendarwin.org … … 17 17 18 18 homepage http://www.open-mpi.org/ 19 19 master_sites http://www.open-mpi.org/software/ompi/v1.1/downloads/ freebsd 20 checksums md5 498b9322ae0ad512026a008a30c7e0b5\21 sha1 3bd9eb1fd4af5d4f89df028a6cd6861ed1839b0120 checksums md5 53877ec8bca5f6e505496b6b94b1d850 \ 21 sha1 5a427c66c432c2d7c5a6f8bd458ca02a39ae3756 22 22 use_bzip2 yes 23 23 24 24 pre-extract { file mkdir ${workpath}/build } … … 45 45 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 46 46 } 47 47 48 variant fortran { 49 configure.args-delete --disable-f77 --disable-f90 50 configure.args-append --enable-f77 --enable-f90 51 configure.env-append F77=gfortran-dp-4.2 FC=gfortran-dp-4.2 52 # We need gfortran. Gcc41 doesn't seem to compile on Intel Mac, so we'll take 53 # gcc42. Too bad that the actual gfortran binary in gcc42 is called 54 # gfortran-dp-4.2, otherwise we could just say bin:gfortran:gcc42. 55 depends_build port:gcc42 56 }