mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-22 21:15:57 +00:00
Merge pull request #354: Build the runtime library without the generated chunk lists (shenjackyuanjie)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
3e3d4ef42d
1 file changed
+2
-1
+2
-1
@@ -821,7 +821,8 @@ def main():
|
||||
if unknown:
|
||||
sys.exit(f'unknown modules {unknown}; the layout has {names}')
|
||||
linked = [m for m in names if m in wanted]
|
||||
mods = {m: chunk_files(gen, m) for m in linked}
|
||||
# --make-runtime-lib builds runtime/ only, so it never reads the generated chunks
|
||||
mods = {} if args.make_runtime_lib else {m: chunk_files(gen, m) for m in linked}
|
||||
|
||||
cpus = os.cpu_count() or 1
|
||||
budget = min(MEM_BUDGET, int(total_ram() * 0.8))
|
||||
|
||||
Reference in new issue
Block a user