SCons: Remove run_in_subprocess dependency

This commit is contained in:
Thaddeus Crews
2024-03-11 13:05:37 -05:00
parent f040a351c2
commit 5a6e3cbcb0
22 changed files with 84 additions and 305 deletions

View File

@@ -17,11 +17,7 @@ env.Depends("modules_enabled.gen.h", Value(env.module_list))
env.CommandNoCache(
"modules_enabled.gen.h",
Value(env.module_list),
env.Run(
modules_builders.generate_modules_enabled,
# NOTE: No need to run in subprocess since this is still executed serially.
subprocess=False,
),
env.Run(modules_builders.generate_modules_enabled),
)
@@ -55,11 +51,7 @@ if env["tests"]:
env.CommandNoCache(
"modules_tests.gen.h",
test_headers,
env.Run(
modules_builders.generate_modules_tests,
# NOTE: No need to run in subprocess since this is still executed serially.
subprocess=False,
),
env.Run(modules_builders.generate_modules_tests),
)
# libmodules.a with only register_module_types.