aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2022-09-12 13:00:04 -0400
committerXavier Claessens <xclaesse@gmail.com>2022-09-12 13:50:11 -0400
commit0042095d120ced4852256bccf94aa7939f1c72c1 (patch)
tree246f6ca06d41028815f6301c3895e401963bbdd2 /mesonbuild
parentee5a72919009f5e7bc2f58199120d56ef9264d59 (diff)
downloadmeson-0042095d120ced4852256bccf94aa7939f1c72c1.zip
meson-0042095d120ced4852256bccf94aa7939f1c72c1.tar.gz
meson-0042095d120ced4852256bccf94aa7939f1c72c1.tar.bz2
mcompile: Remove useless sleep
There is no reason to wait 2s before starting the compilation command. Fixes: #10698.
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/mcompile.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/mesonbuild/mcompile.py b/mesonbuild/mcompile.py
index 1eb8bff..2e6829c 100644
--- a/mesonbuild/mcompile.py
+++ b/mesonbuild/mcompile.py
@@ -22,7 +22,6 @@ import shutil
import typing as T
from collections import defaultdict
from pathlib import Path
-from time import sleep
from . import mlog
from . import mesonlib
@@ -358,7 +357,6 @@ def run(options: 'argparse.Namespace') -> int:
f'Backend `{backend}` is not yet supported by `compile`. Use generated project files directly instead.')
mlog.log(mlog.green('INFO:'), 'calculating backend command to run:', join_args(cmd))
- sleep(2)
p, *_ = mesonlib.Popen_safe(cmd, stdout=sys.stdout.buffer, stderr=sys.stderr.buffer, env=env)
return p.returncode