Skip to content

Workaround some lingering problems with LFortran and deploy CI #69

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

Merged
merged 5 commits into from
Jul 30, 2025

Conversation

bonachea
Copy link
Member

This PR adds GitHub-driven CI against LFortran-0.54, thanks to a docker container provided by @PHHargrove .

It also deploys workarounds for some defects in LFortran triggered by Assert library/test code.

One defect (issue #68) remains with no known workaround, so LFortran CI is disabled for that configuration.

bonachea added 5 commits July 22, 2025 14:40
Previously assertion failures on LFortran were printing garbage
LFortran generates a segfault upon first assignemnt to the allocatable array
without a preceding allocation.

Also, add some comments to clarify the math error in this example code
is deliberate, and update the documentation to match the actual program.
Add build without assertions to ensure the code actually compiles without error,
and disable the stage entirely for LFortran, which is currently unable
to correctly compile this code (issue BerkeleyLab#68)
@bonachea bonachea requested a review from rouson July 23, 2025 04:02
Copy link
Contributor

@rouson rouson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rouson rouson merged commit aa8dbf2 into BerkeleyLab:main Jul 30, 2025
23 checks passed
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