Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Salazar <zanqdo@gmail.com>2013-09-16 18:38:33 +0400
committerDaniel Salazar <zanqdo@gmail.com>2013-09-16 18:38:33 +0400
commit0732375d35a39aeb3ce1015804dfa320ff43b071 (patch)
treeb05dd689cea00c5b66a787e71e9d9ddaa9fc0b1f /build_files/build_environment/install_deps.sh
parent7ee94deaf58196d2ac86311b29759f55181626c1 (diff)
Making install_deps.sh correctly see hyperthreading
Diffstat (limited to 'build_files/build_environment/install_deps.sh')
-rwxr-xr-xbuild_files/build_environment/install_deps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh
index f575dc8c24c..2a59114b838 100755
--- a/build_files/build_environment/install_deps.sh
+++ b/build_files/build_environment/install_deps.sh
@@ -48,7 +48,7 @@ WITH_OPENCOLLADA=false
# Try to link everything statically. Use this to produce portable versions of blender.
ALL_STATIC=false
-THREADS=`cat /proc/cpuinfo | grep cores | uniq | sed -e "s/.*: *\(.*\)/\\1/"`
+THREADS=`cat /proc/cpuinfo | grep siblings | uniq | sed -e "s/.*: *\(.*\)/\\1/"`
if [ -z "$THREADS" ]; then
THREADS=1
fi