[llvm-branch-commits] [CI] Migrate to runtimes build (PR #142696)
Aiden Grossman via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jun 4 23:46:32 PDT 2025
================
@@ -184,24 +199,36 @@ def _compute_project_check_targets(projects_to_test: Set[str]) -> Set[str]:
return check_targets
-def _compute_runtimes_to_test(projects_to_test: Set[str]) -> Set[str]:
+def _compute_runtimes_to_test(modified_projects: Set[str], platform: str) -> Set[str]:
runtimes_to_test = set()
- for project_to_test in projects_to_test:
- if project_to_test in DEPENDENT_RUNTIMES_TO_TEST:
- runtimes_to_test.update(DEPENDENT_RUNTIMES_TO_TEST[project_to_test])
- if project_to_test in DEPENDENT_RUNTIMES_TO_BUILD:
- runtimes_to_test.update(DEPENDENT_RUNTIMES_TO_BUILD[project_to_test])
- return runtimes_to_test
+ for modified_project in modified_projects:
+ if modified_project not in DEPENDENT_RUNTIMES_TO_TEST:
+ continue
+ runtimes_to_test.update(DEPENDENT_RUNTIMES_TO_TEST[modified_project])
----------------
boomanaiden154 wrote:
Ack. I'll look at doing this in a separate patch.
https://github.com/llvm/llvm-project/pull/142696
More information about the llvm-branch-commits
mailing list