Week 8: Meson backend for F2PY

Published: 08/12/2022

Implementing backend compilation in F2PY in the form of a dependency injection

What did I do this week?

I created a structure for dependency injection of backend compilation framework into F2PY for compiling Fortran sources and C wrapper. The work is still in prototype stage with support of most of features of F2PY. By the next week I aim to complete a working model for building of F2PY generated modules with Meson. However, I would still need to add support for Fortran 77 and Fortran 90 specific custom target building. If you are not able to understand all this jargon just wait for a few days I will release a fill blog post of the changes that have taken place.

What will I do next week?

I will implement remaining F2PY compile options in meson building module.

Did I get stuck anywhere?

No I didn't get stuck anywhere because all this was already planned way before in my first week of GSoC. Link to my complete article on how to fully handle F2PY's compilation options in Meson this here: https://namamishanker.github.io/posts/f2py-meson-backend/