Skip to content

Conversation

@boomanaiden154
Copy link
Contributor

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.

@boomanaiden154 boomanaiden154 force-pushed the premerge-advisor-explain-actually-skip-arm64 branch from b95a00e to 5054900 Compare November 17, 2025 17:10
@boomanaiden154 boomanaiden154 marked this pull request as ready for review November 17, 2025 17:12
@llvmbot llvmbot added infrastructure Bugs about LLVM infrastructure github:workflow labels Nov 17, 2025
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.
@llvmbot
Copy link
Member

llvmbot commented Nov 17, 2025

@llvm/pr-subscribers-github-workflow

Author: Aiden Grossman (boomanaiden154)

Changes

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.


Full diff: https://github.com/llvm/llvm-project/pull/168404.diff

3 Files Affected:

  • (modified) .ci/premerge_advisor_explain.py (+1-1)
  • (modified) .ci/premerge_advisor_upload.py (+1-1)
  • (modified) .github/workflows/premerge.yaml (+3)
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
         with:

@llvmbot
Copy link
Member

llvmbot commented Nov 17, 2025

@llvm/pr-subscribers-infrastructure

Author: Aiden Grossman (boomanaiden154)

Changes

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.


Full diff: https://github.com/llvm/llvm-project/pull/168404.diff

3 Files Affected:

  • (modified) .ci/premerge_advisor_explain.py (+1-1)
  • (modified) .ci/premerge_advisor_upload.py (+1-1)
  • (modified) .github/workflows/premerge.yaml (+3)
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
         with:

@boomanaiden154 boomanaiden154 force-pushed the premerge-advisor-explain-actually-skip-arm64 branch from 5054900 to ad9975e Compare November 17, 2025 17:13
@boomanaiden154 boomanaiden154 changed the title [CI] Skip Running Prmeerge Advisor on AArch64 [CI] Skip Running Premerge Advisor on AArch64 Nov 17, 2025
@github-actions
Copy link

🐧 Linux x64 Test Results

  • 193724 tests passed
  • 5835 tests skipped

@boomanaiden154 boomanaiden154 merged commit 8bdd82c into llvm:main Nov 18, 2025
9 of 10 checks passed
@boomanaiden154 boomanaiden154 deleted the premerge-advisor-explain-actually-skip-arm64 branch November 18, 2025 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github:workflow infrastructure Bugs about LLVM infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants