1
0
Fork 0
mirror of https://github.com/fastogt/pyfastogt synced 2025-03-09 23:38:55 +00:00

Make 1 thread

This commit is contained in:
topilski 2018-03-09 12:36:15 +03:00
parent 47819920bf
commit d30707432c
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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'])