Skip to content

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

Merged
jabraham17 merged 6 commits intochapel-lang:mainfrom
jabraham17:add-chplenv-verify
Apr 2, 2025
Merged

Add a verification check to printchplenv to catch build system misconfigurations#26477
jabraham17 merged 6 commits intochapel-lang:mainfrom
jabraham17:add-chplenv-verify

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 <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
@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 <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
@jabraham17 jabraham17 merged commit c6fa1fc into chapel-lang:main Apr 2, 2025
10 checks passed
@jabraham17 jabraham17 deleted the add-chplenv-verify branch April 2, 2025 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants