Skip to content

Commit

Permalink
Merge pull request #495 from freifunkMUC/fix/replace-cpuinfo-with-nproc
Browse files Browse the repository at this point in the history
Replace grep cpuinfo with nproc
  • Loading branch information
grische authored Oct 20, 2024
2 parents 9150194 + ef50cd1 commit 993ea27
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 993ea27

Please sign in to comment.