[llvm] [IN PROGRESS] Fix premerge script so certain projects appear in LLVM_ENABLE_RUNTIMES. (PR #145754)
Amy Huang via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 25 11:24:58 PDT 2025
https://github.com/amykhuang updated https://github.com/llvm/llvm-project/pull/145754
>From 9df229df8be6a36dc96d4ecc22628dd2581d6ae3 Mon Sep 17 00:00:00 2001
From: Amy Huang <akhuang at google.com>
Date: Wed, 25 Jun 2025 11:05:01 -0700
Subject: [PATCH] Fix premerge script so that projects appear in
LLVM_ENABLE_RUNTIMES correctly
---
.ci/compute_projects.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.ci/compute_projects.py b/.ci/compute_projects.py
index 80e4e0221b3d7..ad5cc2f687d6c 100644
--- a/.ci/compute_projects.py
+++ b/.ci/compute_projects.py
@@ -170,6 +170,7 @@ def _exclude_projects(current_projects: Set[str], platform: str) -> Set[str]:
def _compute_projects_to_test(modified_projects: Set[str], platform: str) -> Set[str]:
projects_to_test = set()
for modified_project in modified_projects:
+ print("HELLO", modified_project)
if modified_project in RUNTIMES:
continue
# Skip all projects where we cannot run tests.
@@ -207,6 +208,8 @@ def _compute_runtimes_to_test(modified_projects: Set[str], platform: str) -> Set
for modified_project in modified_projects:
if modified_project in DEPENDENT_RUNTIMES_TO_TEST:
runtimes_to_test.update(DEPENDENT_RUNTIMES_TO_TEST[modified_project])
+# if modified_project in RUNTIMES:
+# runtimes_to_test.add(modified_project)
return _exclude_projects(runtimes_to_test, platform)
More information about the llvm-commits
mailing list