BSD's was using too many build threads for convenience makefile
D431 from Aaron Peterson
This commit is contained in:
@@ -77,13 +77,13 @@ ifeq ($(OS), Linux)
|
|||||||
NPROCS:=$(shell nproc)
|
NPROCS:=$(shell nproc)
|
||||||
endif
|
endif
|
||||||
ifeq ($(OS), Darwin)
|
ifeq ($(OS), Darwin)
|
||||||
NPROCS:=$(shell sysctl -a | grep "hw.ncpu " | cut -d" " -f3)
|
NPROCS:=$(shell sysctl -a | grep "hw.ncpu" | cut -d" " -f2)
|
||||||
endif
|
endif
|
||||||
ifeq ($(OS), FreeBSD)
|
ifeq ($(OS), FreeBSD)
|
||||||
NPROCS:=$(shell sysctl -a | grep "hw.ncpu " | cut -d" " -f3 )
|
NPROCS:=$(shell sysctl -a | grep "hw.ncpu" | cut -d" " -f2 )
|
||||||
endif
|
endif
|
||||||
ifeq ($(OS), NetBSD)
|
ifeq ($(OS), NetBSD)
|
||||||
NPROCS:=$(shell sysctl -a | grep "hw.ncpu " | cut -d" " -f3 )
|
NPROCS:=$(shell sysctl -a | grep "hw.ncpu" | cut -d" " -f2 )
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user