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

Use environment variables for c/cxx_compiler_name, if present. #44

Closed
wants to merge 5 commits into from

Conversation

jpt4
Copy link

@jpt4 jpt4 commented May 15, 2023

If present and defined, configure will set internal variables c_compiler_name and cxx_compiler_name using the environment variables C_COMPILER_NAME and CXX_COMPILER_NAME. This allows the user to specify, for example, mpi variants of the standard compilers. If absent or undefined, revert to current defaults.

@rmanohar
Copy link
Member

rmanohar commented May 16, 2023

This sounds good, but it undoes a recent commit to this script that added support for configure installpath CXX=cxxcompilername CC=ccompilername to specify the compiler name(s). Could you submit a pull request with your proposed change to the latest configure script? It would be essentially the same change but on a different line number...

Thanks!

@jpt4
Copy link
Author

jpt4 commented May 17, 2023

Copy, will do.

@jpt4 jpt4 closed this May 17, 2023
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