Skip to content
/ n2 Public
forked from evmar/n2

n2 ("into"), a ninja compatible build system

License

Notifications You must be signed in to change notification settings

nico/n2

 
 

Repository files navigation

n2, an alternative ninja implementation

CI status

n2 (pronounced "into") implements enough of ninja to successfully build some projects that build with ninja.

I wrote it to explore some alternative ideas I had around how to structure a build system.

Here's a small demo of n2 building some of Clang.

More reading

Differences from Ninja

n2 is missing many Ninja features.

n2 does some things Ninja doesn't:

  • Builds start tasks as soon as an out of date one is found, rather than gathering all the out of date tasks before executing.
  • Fancier status output, modeled after Bazel.
  • -d trace generates a performance trace as used by Chrome's about:tracing or alternatives (speedscope, perfetto).

About

n2 ("into"), a ninja compatible build system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 96.8%
  • TypeScript 2.7%
  • Other 0.5%