Merge pull request #110 from wryun/fix-makefile-parallelism-linux

Fix Linux Makefile parallelism
This commit is contained in:
joeycastillo 2022-10-29 17:49:12 -05:00 committed by GitHub
commit 425dd77508
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ else
endif
ifeq ($(DETECTED_OS), LINUX)
MAKEFLAGS += -j `nproc`
MAKEFLAGS += -j $(shell nproc)
endif
ifeq ($(DETECTED_OS), OSX)
NPROCS = $(shell sysctl hw.ncpu | grep -o '[0-9]\+')