mcompile: treat load-average as a float

`ninja -l` accepts a double. We should do the same.

Bug: https://bugs.gentoo.org/810655
pull/9193/head
Mike Gilbert 3 years ago committed by Xavier Claessens
parent a70cdebfe7
commit 41c96d50af
  1. 2
      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(

Loading…
Cancel
Save