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

Demote a warning to debug message, if C compiler is not there #44182

Conversation

alalazo
Copy link
Member

@alalazo alalazo commented May 14, 2024

fixes #44177

@spackbot-app spackbot-app bot added core PR affects Spack core functionality tests General test capability(ies) labels May 14, 2024
@alalazo alalazo requested a review from becker33 May 14, 2024 14:34
@alalazo
Copy link
Member Author

alalazo commented May 14, 2024

This will leave a warning when a C compiler is in the expected path, but a libc cannot be detected. We could filter further using the OS, if we pre-compute which OS is compatible with one of the OSes supported by the platform. Not sure it's worth implementing that...

@haampie
Copy link
Member

haampie commented May 14, 2024

Alternatively check c.compiler_verbose_output, cause existence of a path does not imply the compiler runs.

@alalazo alalazo mentioned this pull request May 21, 2024
16 tasks
@haampie haampie merged commit 8020a11 into spack:develop May 21, 2024
33 of 35 checks passed
@alalazo alalazo deleted the bugfix/silence-warning-if-c-compiler-is-not-there branch May 21, 2024 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core PR affects Spack core functionality tests General test capability(ies)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warning on libc not found for non-existing compiler
2 participants