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

Add a verification check to printchplenv to catch build system misconfigurations #26477

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

jabraham17
Copy link
Member

@jabraham17 jabraham17 commented Jan 7, 2025

This PR adds a prototypical new flag to printchplenv, --verify. This will run verification passes on the current Chapel configuration.

This PR implements a few of these verification checks, the primary ones being checking that the host and target compilers work properly. This can help users diagnose issues with their toolchain, like #24819

This PR also turns the verification on by default when printchplenv is invoked from make, but does not abort the build.

[Reviewed by @DanilaFe]

@jabraham17 jabraham17 self-assigned this Feb 6, 2025
Signed-off-by: Jade Abraham <[email protected]>
Signed-off-by: Jade Abraham <[email protected]>
@jabraham17 jabraham17 marked this pull request as ready for review March 24, 2025 16:05
@jabraham17 jabraham17 requested a review from DanilaFe March 24, 2025 20:18
Signed-off-by: Jade Abraham <[email protected]>
Signed-off-by: Jade Abraham <[email protected]>
Signed-off-by: Jade Abraham <[email protected]>
Signed-off-by: Jade Abraham <[email protected]>
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