[Bf-blender-cvs] [75135cf] master: OSX: fix T40413, automatic threads for compile throw wrong output

Jens Verwiebe noreply at git.blender.org
Thu May 29 11:15:51 CEST 2014


Commit: 75135cfa9b1bc6f508da86adf8f81d7a81f1aec9
Author: Jens Verwiebe
Date:   Thu May 29 11:15:32 2014 +0200
https://developer.blender.org/rB75135cfa9b1bc6f508da86adf8f81d7a81f1aec9

OSX: fix T40413, automatic threads for compile throw wrong output

===================================================================

M	GNUmakefile

===================================================================

diff --git a/GNUmakefile b/GNUmakefile
index 0370eba..4f76cb3 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -77,7 +77,7 @@ ifeq ($(OS), Linux)
 	NPROCS:=$(shell nproc)
 endif
 ifeq ($(OS), Darwin)
-	NPROCS:=$(shell sysctl -a | grep "hw.ncpu" | cut -d" " -f2)
+	NPROCS:=$(shell sysctl -a | grep "hw.ncpu" | cut -d" " -f3)
 endif
 ifeq ($(OS), FreeBSD)
 	NPROCS:=$(shell sysctl -a | grep "hw.ncpu" | cut -d" " -f2 )




More information about the Bf-blender-cvs mailing list