Skip to content

Commit

Permalink
Replace grep cpuinfo with nproc
Browse files Browse the repository at this point in the history
Co-authored-by: Tobias <[email protected]>
(cherry picked from commit ef50cd1)
  • Loading branch information
grische authored and github-actions[bot] committed Oct 20, 2024
1 parent 9e85129 commit 8505310
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 8505310

Please sign in to comment.