From d30707432c176a1910cbfcc40f03a7215a415a08 Mon Sep 17 00:00:00 2001 From: topilski Date: Fri, 9 Mar 2018 12:36:15 +0300 Subject: [PATCH] Make 1 thread --- base/run_command.py | 2 +- base/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base/run_command.py b/base/run_command.py index 133b2e3..2be5ac1 100644 --- a/base/run_command.py +++ b/base/run_command.py @@ -21,7 +21,7 @@ class Message(object): class Policy(object): - def __init__(self, cb = None): + def __init__(self, cb=None): self.progress_ = 0.0 self.cb_ = cb diff --git a/base/utils.py b/base/utils.py index 742b661..a84f961 100644 --- a/base/utils.py +++ b/base/utils.py @@ -146,7 +146,7 @@ def build_command_configure(compiler_flags: CompileInfo, source_dir_path, prefix compile_cmd = [executable, '--prefix={0}'.format(prefix_path)] compile_cmd.extend(compiler_flags.flags()) subprocess.call(compile_cmd) - subprocess.call(['make', '-j2']) + subprocess.call(['make']) subprocess.call(['make', 'install']) if hasattr(shutil, 'which') and shutil.which('ldconfig'): subprocess.call(['ldconfig'])