Skip to content

Commit 69ed1a4

Browse files
authored
Disable parallel Make execution (go-gitea#29186)
Ref: https://www.gnu.org/software/make/manual/html_node/Parallel-Disable.html > If the .NOTPARALLEL special target with no prerequisites is specified anywhere then the entire instance of make will be run serially, regardless of the parallel setting
1 parent c70f65e commit 69ed1a4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -988,3 +988,8 @@ docker:
988988

989989
# This endif closes the if at the top of the file
990990
endif
991+
992+
# Disable parallel execution because it would break some targets that don't
993+
# specify exact dependencies like 'backend' which does currently not depend
994+
# on 'frontend' to enable Node.js-less builds from source tarballs.
995+
.NOTPARALLEL:

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ The `build` target is split into two sub-targets:
8989

9090
Internet connectivity is required to download the go and npm modules. When building from the official source tarballs which include pre-built frontend files, the `frontend` target will not be triggered, making it possible to build without Node.js.
9191

92-
Parallelism (`make -j <num>`) is not supported.
93-
9492
More info: https://docs.gitea.com/installation/install-from-source
9593

9694
## Using

0 commit comments

Comments
 (0)