~lattis/muon#73: 
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.

Status
RESOLVED CLOSED
Submitter
~xvilka
Assigned to
No-one
Submitted
1 year, 4 months ago
Updated
1 year, 29 days ago
Labels
No labels applied.

~lattis 1 year, 4 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, 4 months ago

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

~lattis 1 year, 3 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, 29 days ago

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

~lattis REPORTED CLOSED 1 year, 29 days ago

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