From 69a0ffb50c7438985fd5645d0aa50c73bab32e6f Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Sat, 13 Jul 2024 12:34:23 -0700 Subject: [PATCH] Re-activate jobs flag, so nr of CPUs can be tuned back --- spin/cmds/meson.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spin/cmds/meson.py b/spin/cmds/meson.py index c188183..a42250d 100644 --- a/spin/cmds/meson.py +++ b/spin/cmds/meson.py @@ -301,6 +301,9 @@ def build( # Any other conditions that warrant a reconfigure? compile_flags = ["-v"] if verbose else [] + if jobs: + compile_flags += ["-j", str(jobs)] + p = _run( _meson_cli() + ["compile"] + compile_flags + ["-C", build_dir], sys_exit=True,