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

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 17 09:10:58 PST 2025


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

>From 50549008e88910da30884a6f72c3395ddae905c1 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] [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 +-
 .github/workflows/premerge.yaml | 3 +++
 3 files changed, 5 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)
diff --git a/.github/workflows/premerge.yaml b/.github/workflows/premerge.yaml
index 02a6f3b868d85..127ef9536e0ae 100644
--- a/.github/workflows/premerge.yaml
+++ b/.github/workflows/premerge.yaml
@@ -57,6 +57,9 @@ jobs:
         # container and non-container jobs.
         shell: bash
     steps:
+      - name: Print platform
+        run: |
+          python3 -c "import platform; print(platform.machine())"
       - name: Checkout LLVM
         uses: actions/checkout at 08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
         with:



More information about the llvm-commits mailing list