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]>
  • Loading branch information
grische and T0biii committed Oct 20, 2024
1 parent 9150194 commit ef50cd1
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 ef50cd1

Please sign in to comment.