From b9fe0328c7150612faf5cf29996253a04fc0a51e Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 17 Oct 2026 12:53:15 -1000 Subject: Keep the two builds from sharing vendor/git at once make -j cgit cgit-nolua ran both sub makes in the one Git tree side by side, compiling the same objects and archiving libgit.a twice at once. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7c406cc..6a91f61 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,11 @@ .DEFAULT_GOAL := all .SUFFIXES: +# Every build target here runs a sub make in the one Git tree, and two of them +# at once would compile the same objects side by side. The sub makes still +# run their own jobs in parallel. +.NOTPARALLEL: + # Sources live in source/, web assets in assets/, Lua filters in # custom/extensions/, the bundled Git tree in vendor/git, and everything # generated lands in build/. CGIT_ROOT leads from inside the Git tree back to -- cgit