https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142696
>From 360e723b51ee201603f72b56859cd7c6d6faec24 Mon Sep 17 00:00:00 2001 From: Aiden Grossman <aidengross...@google.com> Date: Thu, 5 Jun 2025 06:51:37 +0000 Subject: [PATCH] feedback Created using spr 1.3.4 --- .ci/compute_projects.py | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.ci/compute_projects.py b/.ci/compute_projects.py index b12b729eadd3f..8134e1e2c29fb 100644 --- a/.ci/compute_projects.py +++ b/.ci/compute_projects.py @@ -145,22 +145,15 @@ def _add_dependencies(projects: Set[str], runtimes: Set[str]) -> Set[str]: def _exclude_projects(current_projects: Set[str], platform: str) -> Set[str]: - new_project_set = set(current_projects) if platform == "Linux": - for to_exclude in EXCLUDE_LINUX: - if to_exclude in new_project_set: - new_project_set.remove(to_exclude) + to_exclude = EXCLUDE_LINUX elif platform == "Windows": - for to_exclude in EXCLUDE_WINDOWS: - if to_exclude in new_project_set: - new_project_set.remove(to_exclude) + to_exclude = EXCLUDE_WINDOWS elif platform == "Darwin": - for to_exclude in EXCLUDE_MAC: - if to_exclude in new_project_set: - new_project_set.remove(to_exclude) + to_exclude = EXCLUDE_MAC else: - raise ValueError("Unexpected platform.") - return new_project_set + raise ValueError(f"Unexpected platform: {platform}") + return current_projects.difference(to_exclude) def _compute_projects_to_test(modified_projects: Set[str], platform: str) -> Set[str]: _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits