MPICH2 recently renamed itself to MPICH and bumped the version number
from 1.5 to 3.0. Even more recently, it switched from SVN to git for
version control.
The sbin hack is no longer needed, since MPE was removed between
MPICH2-1.5 and MPICH-3.0.
ClosesHomebrew/homebrew#17314.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
MPICH2 fails to build with clang because of a clang (and/or ld) bug with
Xcode 4.5.1. Issue originally reported to homebrew in Homebrew/homebrew#15533, "fixed"
by disabling shared libraries altogether in bcb64c7.
- Add an `--enable-shared` option
- Add a `fails_with :clang` when building shared libs
- Upstream is aware of the issue, but has no workaround besides using
`llvm-gcc` when building shared libs
- MacPorts is using a similar workaround at this time.
- Tested on 10.7.5 with Xcode 4.5.2 with and without `--enable-shared`
ClosesHomebrew/homebrew#16299.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
On Mountain Lion at least, ld keeps doing a sefault 11 during
the final link phase independent of whether superenv is used.
Mpich2 will build without problems when we
- Remove the `--enable-shared`
FixesHomebrew/homebrew#15533ClosesHomebrew/homebrew#15544.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
A user can pass `--disable-fortran` to avoid compiling the Fortran
bindings.
Also remove the redundant default `--with-device=ch3:nemesis` argument
to configure.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>