diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-08-27 10:17:14 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-08-29 22:19:52 -0400 |
commit | 41c96d50af65ffd3946a7120ef335d7204557596 (patch) | |
tree | f5820a1b9f17592f28d5cfa852ae37500a330eb1 | |
parent | a70cdebfe7ac9e2ddbe26d604eaff3fe9bba691c (diff) | |
download | meson-41c96d50af65ffd3946a7120ef335d7204557596.zip meson-41c96d50af65ffd3946a7120ef335d7204557596.tar.gz meson-41c96d50af65ffd3946a7120ef335d7204557596.tar.bz2 |
mcompile: treat load-average as a float
`ninja -l` accepts a double. We should do the same.
Bug: https://bugs.gentoo.org/810655
-rw-r--r-- | mesonbuild/mcompile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mcompile.py b/mesonbuild/mcompile.py index bb7ecae..e20485c 100644 --- a/mesonbuild/mcompile.py +++ b/mesonbuild/mcompile.py @@ -305,7 +305,7 @@ def add_arguments(parser: 'argparse.ArgumentParser') -> None: '-l', '--load-average', action='store', default=0, - type=int, + type=float, help='The system load average to try to maintain (if supported).' ) parser.add_argument( |