genrulify

genrulify turns a Nix build recorded by Rewind into Bazel and Buck2 rules. Pick a package to see which commands ran and which files each command used. All three build systems produced the same Nix archive (NAR) for the packages below.

Packages ยท

Loading the recording.

Build timeline

Each square is a command or a group of commands that ran together. Select one to inspect its command line, files and generated rule. Toggle an optimization to see which commands still need to run.

replayed replayed with extra inputs replayed with the whole tree copied constant recorded bytes unused includes a pinned file

A pinned file comes from the recording even when its command runs again.

The graph

The same graph as MLIR

Each line is one operation in MLIR, the format genrulify uses for the graph. Select a line to expand it. Hover over a value to see its uses, or select the value to jump to its definition.

    Whole files for this package: graph.mlir.gz ยท BUILD.bazel ยท BUCK ยท graph.json.gz