[llvm] [CI] Skip Running Prmeerge Advisor on AArch64 (PR #168404)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 17 09:13:32 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-infrastructure
Author: Aiden Grossman (boomanaiden154)
<details>
<summary>Changes</summary>
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
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:
``````````
</details>
https://github.com/llvm/llvm-project/pull/168404
More information about the llvm-commits
mailing list