Compiling FPM with LFortran

GSOC 2025 @Fortran-lang

by Jinang Shah

Week 10 - LFortran Builds FPM completely with some code commented

July 19 – July 25, 2025

Welcome to Week 10! This week, we hit a major milestone: FPM now fully builds to LLVM using LFortran with few workarounds and some lines commented! While this is a huge achievement, the recent StructType refactor introduced some regressions in building FPM. So I need to spent some more time to find those and fix that.

Work done this week:

I spent about 22 hours this week debugging and fixing FPM compilation. While the current state enables complete compilation, but due to StructType Refactor there are some minor issues which needs to be fixed.

Thanks again to Ondřej Čertík and Pranav Goswami for guiding and reviewing PRs. Thanks to all LFortran members for their support and help in intense debugging and fixes.

Plan for next week:

Previous Week Blog Home Next Week