diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
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.
-rw-r--r--Makefile5
1 file changed, 5 insertions, 0 deletions
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