The following snippet should enable parallel processing (based on the number of available processors by default)
# determine number of parallel jobs automatically, if not specified via "-j"
ifneq "$(findstring -j,$(MAKEFLAGS)))" ""
MAX_PARALLEL_JOBS ?= $(shell { nproc || getconf "_NPROCESSORS_ONLN" || echo "1"; } 2>/dev/null)
ifneq "$(MAX_PARALLEL_JOBS)" ""
MAKEFLAGS += --jobs=$(MAX_PARALLEL_JOBS)
# # group output by target (no interleaving of output from different targets)
ifneq "$(findstring -O,$(MAKEFLAGS)))" ""
MAKEFLAGS += --output-sync
endif
endif
endif
The following snippet should enable parallel processing (based on the number of available processors by default)
```make
# determine number of parallel jobs automatically, if not specified via "-j"
ifneq "$(findstring -j,$(MAKEFLAGS)))" ""
MAX_PARALLEL_JOBS ?= $(shell { nproc || getconf "_NPROCESSORS_ONLN" || echo "1"; } 2>/dev/null)
ifneq "$(MAX_PARALLEL_JOBS)" ""
MAKEFLAGS += --jobs=$(MAX_PARALLEL_JOBS)
# # group output by target (no interleaving of output from different targets)
ifneq "$(findstring -O,$(MAKEFLAGS)))" ""
MAKEFLAGS += --output-sync
endif
endif
endif
```
The following snippet should enable parallel processing (based on the number of available processors by default)
fixed in
a5c77b35cd