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

Compiler vendor not detected properly when using conda tools #43

Closed
marcinz opened this issue Feb 8, 2022 · 1 comment
Closed

Compiler vendor not detected properly when using conda tools #43

marcinz opened this issue Feb 8, 2022 · 1 comment

Comments

@marcinz
Copy link

marcinz commented Feb 8, 2022

When using conda tools, the following compiler version string is returned by GCC:

$ $CC --version
x86_64-conda-linux-gnu-cc (GCC) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Currently, the configure script tries to identify GCC by grepping for lowercase gcc, which results in unrecognized vendor. I found the simplest fix to be to also grep for uppercase GCC, although there could be some better ways to do this using some autotools macros.

@devinamatthews
Copy link
Owner

I made the vendor detection case-insensitive, so this should be fixed now. Thanks for the report.

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

No branches or pull requests

2 participants