CI Perf Lint

missing-make-j-flag

Detects workflow steps that run make, gmake, or cmake --build without any parallelization mechanism.

Why this rule exists:

What is checked:

Makefile analysis (new):

The rule reads the Makefile in the step’s working directory and follows the target chain to detect whether the build ultimately invokes tools that already parallelize internally. If such tools are detected, the warning is suppressed because adding -j at the make level would either be useless or counterproductive (resource contention from nested parallelism).

Detected tools and patterns:

The analysis handles:

When the Makefile cannot be read or parsed, the rule falls back to the previous behavior (emit the warning).

Typical remediation: