Skip to content

Commit

Permalink
Merge pull request #499 from freifunkMUC/backport-495-to-next
Browse files Browse the repository at this point in the history
[Backport next] Replace grep cpuinfo with nproc
  • Loading branch information
grische authored Oct 20, 2024
2 parents 86c2e4e + 79406c9 commit c261091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ else
GLUON_RELEASE := $(shell git describe --tags)~exp$(BUILD_NUMBER)
endif

JOBS ?= $(shell cat /proc/cpuinfo | grep processor | wc -l)
JOBS ?= $(shell nproc)

GLUON_MAKE := ${MAKE} -j ${JOBS} -C ${GLUON_BUILD_DIR} \
GLUON_RELEASE=${GLUON_RELEASE} \
Expand Down

0 comments on commit c261091

Please sign in to comment.