Skip to content

Conversation

@bwbarrett
Copy link
Member

while editing autogen.pl, also add some minor debugging information

@bwbarrett bwbarrett added the bug label Nov 20, 2021
@bwbarrett bwbarrett requested a review from jsquyres November 20, 2021 05:14
@jsquyres
Copy link
Member

Sad panda:

--> running ./autogen.pl  --no-ompi
"any" is not exported by the List::Util module
Can't continue after import errors at ./autogen.pl line 28.

@bwbarrett
Copy link
Member Author

It looks like the Internet lied; older versions of Perl don't include List::Util in core. I think it's time to just write this loop by hand (sigh).

Smartmatch was retroactively deprecated due to corner cases, so
replace with a list search function that does basically the
same thing (for our use case).  We could theoretically use
List::Util::any here, but some distros do not ship
List::Util by default (Amazon Linux 2).

Signed-off-by: Brian Barrett <[email protected]>
Add the hwloc version to the output of autogen.pl, to match the
behavior of autogen.pl for libevent.

Signed-off-by: Brian Barrett <[email protected]>
@jsquyres jsquyres merged commit 4003360 into open-mpi:master Nov 25, 2021
@bwbarrett bwbarrett deleted the bugfix/smartmatch branch November 30, 2021 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants