Allow to boostrap with `static` and `samu` options

To be able to boostrap self-contained binary that can be used for both generating ninja files, and building them with samu.

This will be tremendously helpful for porting Muon on older platforms, like Debian Slink, for example.

Assigned to
1 year, 9 months ago
1 year, 5 months ago
No labels applied.

~lattis 1 year, 9 months ago

Samurai is very easy to build manually. Something like cc *.c -o samu works fine iirc. Perhaps I could ship a tarball that contained samurai's source as well, and then add the above to bootstrap.sh.

~eschwartz 1 year, 9 months ago

samu also uses Make to build, which is also highly portable including older platforms.

~lattis 1 year, 8 months ago

muon now comes with a ninja bootstrap script and there is also a muon+samurai tarball available on https://muon.build. The only thing missing is better documentation in the readme I think.

~xvilka 1 year, 5 months ago

Thank you, I think it's now even clear from the README. Could be closed now, probably.

~lattis REPORTED CLOSED 1 year, 5 months ago

Register here or Log in to comment, or comment via email.