From a273a33d3fa804275b2755e793c1c4e18468f114 Mon Sep 17 00:00:00 2001 From: Jacob Van Buren Date: Fri, 3 Jan 2025 11:17:18 -0500 Subject: [PATCH] Changed make fmt to run in parallel (#3422) changed make fmt to run in parallel --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 324f3249b88..13e2765b885 100644 --- a/Makefile +++ b/Makefile @@ -87,7 +87,7 @@ promote: .PHONY: fmt fmt: - ocamlformat -i $$(find . \( -name "*.ml" -or -name "*.mli" \)) + find . \( -name "*.ml" -or -name "*.mli" \) | xargs -P $$(nproc 2>/dev/null || echo 1) -n 20 ocamlformat -i .PHONY: check-fmt check-fmt: