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

Make cmake respect CC and PATH compiler overrides #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EvanTheB
Copy link
Contributor

@EvanTheB EvanTheB commented May 1, 2018

Cmake does not respect non-system default compilers using the conventional
override methods (CC env variable and PATH).
https://stackoverflow.com/questions/29902862/how-to-get-cmake-to-use-the-default-compiler-on-system-path

Cmake does not respect non-system default compilers using the conventional
override methods (CC env variable and PATH). 
https://stackoverflow.com/questions/29902862/how-to-get-cmake-to-use-the-default-compiler-on-system-path
@EvanTheB
Copy link
Contributor Author

EvanTheB commented May 1, 2018

This was not just that I had to manually override CC after building the makefiles. CMAKE would not run because my system G++ was too old.

@kyleabeauchamp
Copy link

I've also found that this is a problem when building the bundled tar dependencies such as HTSLib, which may have their own hard-coded gcc calls in their Makefiles. See, e.g., bioconda/bioconda-recipes#12581

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.

None yet

2 participants