Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't require a C++ compiler #9075

Merged
merged 1 commit into from
Jun 17, 2021
Merged

Don't require a C++ compiler #9075

merged 1 commit into from
Jun 17, 2021

Conversation

rhc54
Copy link
Contributor

@rhc54 rhc54 commented Jun 16, 2021

Gracefully ignore the lack of a C++ compiler

Signed-off-by: Ralph Castain rhc@pmix.org

@rhc54 rhc54 requested a review from jsquyres June 16, 2021 21:58
@rhc54 rhc54 self-assigned this Jun 16, 2021
Gracefully ignore the lack of a C++ compiler.  Specifically, do not
invoke AC_PROG_CXXCPP unless we actually found a C++ compiler.

Also remove a spurious check for $CXX to be empty (which, by the very
comment above it, will never be true).

Signed-off-by: Ralph Castain <rhc@pmix.org>
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
@jsquyres
Copy link
Member

The original commit wasn't quite right because it would override what the user set for $CXX.

The comment in the code described the problem already; the real root of the problem was just that AC_PROG_CXXCPP was unconditionally invoked when it really should have only been invoked if we actually found a C++ compiler.

@rhc54 rhc54 merged commit 8baa2a5 into open-mpi:master Jun 17, 2021
@rhc54 rhc54 deleted the topic/cpp branch June 17, 2021 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants