[llvm] [CI] Skip Running Premerge Advisor on AArch64 (PR #168404)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 18 09:42:16 PST 2025


https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/168404

>From ad9975ec98f0e0ff5ad21918b4b31219ea4d01a5 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Mon, 17 Nov 2025 17:06:40 +0000
Subject: [PATCH 1/2] [CI] Skip Running Prmeerge Advisor on AArch64

They were still running because the conditional was not correct. This
patch fixes that so they do not interefere with the results of the job.
---
 .ci/premerge_advisor_explain.py | 2 +-
 .ci/premerge_advisor_upload.py  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.ci/premerge_advisor_explain.py b/.ci/premerge_advisor_explain.py
index e1bc59f389b36..ac6e13b3c4cd2 100644
--- a/.ci/premerge_advisor_explain.py
+++ b/.ci/premerge_advisor_explain.py
@@ -147,7 +147,7 @@ def main(
 
     # Skip looking for results on AArch64 for now because the premerge advisor
     # service is not available on AWS currently.
-    if platform.machine() == "arm64":
+    if platform.machine() == "arm64" or platform.machine == "aarch64":
         sys.exit(0)
 
     main(
diff --git a/.ci/premerge_advisor_upload.py b/.ci/premerge_advisor_upload.py
index 9e14743c7cc07..86032a42e179d 100644
--- a/.ci/premerge_advisor_upload.py
+++ b/.ci/premerge_advisor_upload.py
@@ -59,7 +59,7 @@ def main(commit_sha, workflow_run_number, build_log_files):
 
     # Skip uploading results on AArch64 for now because the premerge advisor
     # service is not available on AWS currently.
-    if platform.machine() == "arm64":
+    if platform.machine() == "arm64" or platform.machine() == "aarch64":
         sys.exit(0)
 
     main(args.commit_sha, args.workflow_run_number, args.build_log_files)

>From 0fb865c4f4411eb5363236fbe2047221c60e722d Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Tue, 18 Nov 2025 17:42:03 +0000
Subject: [PATCH 2/2] fix

---
 .ci/premerge_advisor_explain.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.ci/premerge_advisor_explain.py b/.ci/premerge_advisor_explain.py
index ac6e13b3c4cd2..69701fb5d31c1 100644
--- a/.ci/premerge_advisor_explain.py
+++ b/.ci/premerge_advisor_explain.py
@@ -147,7 +147,7 @@ def main(
 
     # Skip looking for results on AArch64 for now because the premerge advisor
     # service is not available on AWS currently.
-    if platform.machine() == "arm64" or platform.machine == "aarch64":
+    if platform.machine() == "arm64" or platform.machine() == "aarch64":
         sys.exit(0)
 
     main(



More information about the llvm-commits mailing list