-
Notifications
You must be signed in to change notification settings - Fork 70
Patch configure to support PowerPC little endian #668
Conversation
Test PASSed. |
This should go on master, too, right? We probably don't need it on master (i.e., it's only for the case where someone using an older Libtool -- and not on a Power machine with the adjustment shell script -- makes a tarball for a Power user), but if autogen.pl is otherwise the same between v1.10 and master, it might be good to keep them in sync. ...I just checked, a diff between master autogen.pl and v1.10 autogen.pl shows that they are identical. We should probably keep autogen.pl identical between master, v1.10, and v2.x. 👍 |
A minor update to the patch - Added a copyright statement, tweaked the verbose message and moved invocation of patch_autotools_output to the same location as master branch. I'll prepare a similar patch for master and v2.x branches. Thanks for the review @jsquyres |
Test PASSed. |
@nysal Such as "configure"
|
Open MPI v1.10 tarballs are generated with libtool 2.4.2 The earliest libtool release that supports PowerPC little endian is 2.4.3. Patch configure to enable support for this architecture.
@Zhiming-Wang Good catch! It looks like @nysal updated to only patch if necessary. |
RHEL is the odd one out, the patch fails as expected on the other LE platforms. The reason the patch misbehaves on RHEL is that their fix for LE in libtool.m4 is a slight departure from how its fixed in upstream libtool. Hence our regex unfortunately matches and incorrectly tries to apply the patch. So the fix I would like to try is to test for the string 'powerpc64le-linux)' and if there is a match do not try to apply the patch. This will work on RHEL and SLES. However Ubuntu has "powerpc64le-*)", so the test fails and we will try to apply the patch. But the regex will not match and hence patch is not applied. So we are good (theoretically) in all 3 cases. |
Test PASSed. |
@Zhiming-Wang has confirmed that it works on RHEL, Ubuntu and SLES. So this seems good to go for 1.10.1. |
@rhc54 This is good to for go for v1.10.1. |
Patch configure to support PowerPC little endian
Open MPI v1.10 tarballs are generated with libtool 2.4.2
The earliest libtool release that supports PowerPC little endian
is 2.4.3. Patch configure to enable support for this architecture.
See open-mpi/ompi/issues/396 for details.
:bot:assign: @jsquyres
:bot:milestone:v1.10.1
:bot🏷️enhancement