fix: prove launcher records against run profiles

This commit is contained in:
Abdessamad Derraz committed 2026-11-21 21:42:19 +01:00
1 parent e36516f3b0
commit 1839916ca2
35 files changed
+179 -160

No files matched your search

+5 -2
View File
@@ -12,11 +12,14 @@ from packs.crossrefscope import TreeScope
from resolve.launchers import LauncherLayer, declared_destinations
def scope_gaps(tree: TreeScope, db: dict, platforms_dir: str, platform: str | None) -> dict:
def scope_gaps(
tree: TreeScope, db: dict, platforms_dir: str, platform: str | None,
all_profiles: dict[str, dict],
) -> dict:
"""Each profile of the scope with the files its platforms leave undeclared."""
platform_scope = tree.platform
declared, global_scope = global_report_scope(
platform_configs(platforms_dir, tree.selected), db)
platform_configs(platforms_dir, tree.selected), db, all_profiles)
global_scope["standalone_cores"] = tree.standalone_cores
data_names = build_supplemental_index()
return cross_reference(