Compiling FPM with LFortran

GSOC 2025 @Fortran-lang

by Jinang Shah

Week 7 - Continuing FPM Compilation

June 28 – July 4, 2025

This week was a little step forward to our goal — FPM compiled 90% with LFortran. With persistent effort, workarounds, and small upstream fixes, most core modules are now compiling successfully. Only a few components remain, blocked by tricky frontend bugs which I will be fixing.

I continued to use the same process: isolating issues, producing MREs, and submitting bug reports or fixes. Several more test cases were extracted and contributed as issues. This helped maintain clarity about blockers, while I started fixing older issues as well.

Work done this week:

Overall, around 20 hours were spent this week toward debugging and compiling FPM. With 90% compilation achieved, the remaining issues are clearer and fewer.

Special thanks to Ondřej Čertík and Pranav Goswami for their continuous help with reviews, clarifications, and guidance. Thanks to LFortran team members for helping when needed.

Plan for next week: