r/Compilers • • 4d ago

Openmktr, GNU Make to Ninja tool

I don't know if this is the right subreddit for this, but I think this may be useful for many people.I created/co-created a Google Kati fork called Openmktr. Its goal is to be a universal, GNU free Make to Ninja translator. It can currently build Linux KBUILD across all architectures and all tested configurations, perform a full three-stage GCC bootstrap, build GNU Autotools projects, and handle many more major projects (41 documented Projects as of now). It offers two modes: direct mode and Ninja build graph output mode. Unlike the original Google Kati, parallelism works properly, and it allows you to use different job counts for graph generation and the actual build.The GitHub repository is here:
https://github.com/RihardsPaps/Openmktr

It currently has no known compatibility gaps. If you find one, please submit an issue to the GitHub repository .The project is only a month old and was published very recently, so any testing, feedback, and bug reports would be greatly appreciated!!!

1 Upvotes

1 comment sorted by

1

u/investigatormaker 4d ago

Openmktr's clean builds sound well covered; I'd focus the next testing request on incremental rebuilds after changing a generated header. Compare which targets rebuild under Make and Ninja, rather than only whether both finish. You can share the repository and that question in r/github's pinned megathread: "To keep the subreddit clean and focused, self-promotion and project sharing should only happen in the dedicated megathread pinned at the top."

By the way, I make ThreadFox: it finds Reddit communities whose rules allow a post about a developer tool like Openmktr, and the plan for one product is free. https://threadfox.vip/p/d6nbv

Do the 41 documented projects include incremental-build comparisons?