OS Manuals

/usr/bin/samu

ninja-compatible build tool written in C

From samurai 1.3-r3 (os), captured 2026-11-05 by running samu --help (exit 2). permalink

usage: samu [-C dir] [-f buildfile] [-j maxjobs] [-k maxfail] [-l maxload] [-n]
Options (13)
OptionDescriptionSource
-CSwitch working directory to dir before building.man
-dEnable a debugging option.man
-fLoad manifest from buildfile instead of build.ninja.man
-jRun up to maxjobs jobs in parallel (default based on number of CPUs).man
-kAllow up to maxfail job failures.man
-lDo not spawn new jobs if the system load percentage is greater than maxload.man
-nDo not actually execute the commands or update the log.man
-vPrint full commands instead of just description.man
-wControl how certain errors are handled.man
-tInstead of building, invoke a subtool.man
-gWhen cleaning, also clean outputs of generator actions.man
-rtargets are interpreted as rules, and all outputs of actions with the specified rule types will be cleaned instead.man
-xWhen printing a compilation database, replace @$rspfile with $rspfile_content (with <blank> in place of <newline>).man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.