Skip to content

Make cmake respect CC and PATH compiler overrides#49

Open
EvanTheB wants to merge 1 commit into
Illumina:masterfrom
EvanTheB:patch-1
Open

Make cmake respect CC and PATH compiler overrides#49
EvanTheB wants to merge 1 commit into
Illumina:masterfrom
EvanTheB:patch-1

Conversation

@EvanTheB

@EvanTheB EvanTheB commented May 1, 2018

Copy link
Copy Markdown
Contributor

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

EvanTheB commented May 1, 2018

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown

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.

2 participants