[llvm] Windows arm release (PR #177609)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 26 20:03:34 PST 2026


https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/177609

>From 57285877a8eb093a14c47d346a0f573233875d65 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 08:25:54 -0800
Subject: [PATCH 01/21] Arm windows support

---
 .github/workflows/release-binaries-all.yml | 1 +
 .github/workflows/release-binaries.yml     | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/.github/workflows/release-binaries-all.yml b/.github/workflows/release-binaries-all.yml
index 656ed80b357ea..aa8b4c29ed9b9 100644
--- a/.github/workflows/release-binaries-all.yml
+++ b/.github/workflows/release-binaries-all.yml
@@ -94,6 +94,7 @@ jobs:
           - ubuntu-22.04-arm
           - macos-14
           - windows-2022
+          - windows-2022-arm
 
     uses: ./.github/workflows/release-binaries.yml
     with:
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 3bf6860d4e537..b0c62ffe24568 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -168,6 +168,10 @@ jobs:
             build_runs_on="depot-${{ inputs.runs-on }}-16"
             test_runs_on=$build_runs_on
             ;;
+          windows-2022-arm)
+            build_runs_on="windows-2022-arm-16core"
+            test_runs_on=$build_runs_on
+            ;;
           macos-14)
             if [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then
               build_runs_on="${{ inputs.runs-on }}"

>From 623654c5401cf0f1e4cbde6aaac44879c07e16f2 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 08:26:29 -0800
Subject: [PATCH 02/21] Debug

---
 .github/workflows/release-binaries-all.yml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/.github/workflows/release-binaries-all.yml b/.github/workflows/release-binaries-all.yml
index aa8b4c29ed9b9..658175b7028ca 100644
--- a/.github/workflows/release-binaries-all.yml
+++ b/.github/workflows/release-binaries-all.yml
@@ -90,10 +90,6 @@ jobs:
         # We use ubuntu-22.04 rather than the latest version to make the built
         # binaries more portable (eg functional aginast older glibc).
         runs-on:
-          - ubuntu-22.04
-          - ubuntu-22.04-arm
-          - macos-14
-          - windows-2022
           - windows-2022-arm
 
     uses: ./.github/workflows/release-binaries.yml

>From fd901f11d9a760e2a5c5da63942db1f07d8fa000 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 09:19:47 -0800
Subject: [PATCH 03/21] label fixes

---
 .github/workflows/release-binaries-all.yml | 2 +-
 .github/workflows/release-binaries.yml     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/release-binaries-all.yml b/.github/workflows/release-binaries-all.yml
index 658175b7028ca..abc3c2a14a25f 100644
--- a/.github/workflows/release-binaries-all.yml
+++ b/.github/workflows/release-binaries-all.yml
@@ -90,7 +90,7 @@ jobs:
         # We use ubuntu-22.04 rather than the latest version to make the built
         # binaries more portable (eg functional aginast older glibc).
         runs-on:
-          - windows-2022-arm
+          - windows-11-arm
 
     uses: ./.github/workflows/release-binaries.yml
     with:
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index b0c62ffe24568..235bc9f8d2ad6 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -168,8 +168,8 @@ jobs:
             build_runs_on="depot-${{ inputs.runs-on }}-16"
             test_runs_on=$build_runs_on
             ;;
-          windows-2022-arm)
-            build_runs_on="windows-2022-arm-16core"
+          windows-11-arm)
+            build_runs_on="windows-11-arm-16core"
             test_runs_on=$build_runs_on
             ;;
           macos-14)

>From 4f19fdc80e582b5435b8f85f97d81108741b2f12 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 09:40:45 -0800
Subject: [PATCH 04/21] fix deps

---
 .github/workflows/release-binaries.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 235bc9f8d2ad6..736a026521754 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -74,6 +74,12 @@ jobs:
     - name: Checkout LLVM
       uses: actions/checkout at 8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
 
+    - name: Install Windows dependencies
+      if: runner.os == 'Windows'
+      run: |
+        # Some of the python modules we install require this package to be installed on the system.
+        vcpkg install openssl
+
     - name: Install Dependencies
       shell: bash
       run: |

>From 1a13d29bfd47dedefb2589c7df5cc287a9478e05 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 10:06:17 -0800
Subject: [PATCH 05/21] Re-enable x86 windows

---
 .github/workflows/release-binaries-all.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/release-binaries-all.yml b/.github/workflows/release-binaries-all.yml
index abc3c2a14a25f..958dc62ea2f29 100644
--- a/.github/workflows/release-binaries-all.yml
+++ b/.github/workflows/release-binaries-all.yml
@@ -90,6 +90,7 @@ jobs:
         # We use ubuntu-22.04 rather than the latest version to make the built
         # binaries more portable (eg functional aginast older glibc).
         runs-on:
+          - windows-2022
           - windows-11-arm
 
     uses: ./.github/workflows/release-binaries.yml

>From bfaa210767f7ac53c3d59017f4e309e98fda914c Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 11:13:43 -0800
Subject: [PATCH 06/21] Revert "Re-enable x86 windows"

This reverts commit 1a13d29bfd47dedefb2589c7df5cc287a9478e05.
---
 .github/workflows/release-binaries-all.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.github/workflows/release-binaries-all.yml b/.github/workflows/release-binaries-all.yml
index 958dc62ea2f29..abc3c2a14a25f 100644
--- a/.github/workflows/release-binaries-all.yml
+++ b/.github/workflows/release-binaries-all.yml
@@ -90,7 +90,6 @@ jobs:
         # We use ubuntu-22.04 rather than the latest version to make the built
         # binaries more portable (eg functional aginast older glibc).
         runs-on:
-          - windows-2022
           - windows-11-arm
 
     uses: ./.github/workflows/release-binaries.yml

>From df140fcfb9e6027dee4d9ac1a4cfd25f45d8670d Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 11:13:58 -0800
Subject: [PATCH 07/21] Fixes for openssl

---
 .github/workflows/release-binaries.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 736a026521754..ec617c753279a 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -79,6 +79,7 @@ jobs:
       run: |
         # Some of the python modules we install require this package to be installed on the system.
         vcpkg install openssl
+        vcpkg integrate install
 
     - name: Install Dependencies
       shell: bash

>From 6de071980d614f4b986d210784a5fa5d4c113dab Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 11:41:11 -0800
Subject: [PATCH 08/21] Debug

---
 .github/workflows/release-binaries.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index ec617c753279a..d6d3f031ea128 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -81,6 +81,11 @@ jobs:
         vcpkg install openssl
         vcpkg integrate install
 
+    - name: Debug
+      shell: bash
+      run: |
+        find /c/vcpkg -iname '*openssl*'
+
     - name: Install Dependencies
       shell: bash
       run: |

>From b9e662117495a93bad64fd82822ac9438391971c Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 15:49:45 -0800
Subject: [PATCH 09/21] Try to fix

---
 .github/workflows/release-binaries.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index d6d3f031ea128..3576330065aed 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -84,10 +84,12 @@ jobs:
     - name: Debug
       shell: bash
       run: |
-        find /c/vcpkg -iname '*openssl*'
+        find /c/vcpkg -iname '*ssl*'
 
     - name: Install Dependencies
       shell: bash
+      env:
+        OPENSSL_DIR: /c/vcpkg/installed/arm64-windows/
       run: |
         pip install --require-hashes -r ./llvm/utils/git/requirements.txt
 

>From a915175d7d14e92beebf551af45824a378f20888 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 16:51:39 -0800
Subject: [PATCH 10/21] DEbug

---
 .github/workflows/release-binaries.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 3576330065aed..0674d26d15c7e 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -91,7 +91,7 @@ jobs:
       env:
         OPENSSL_DIR: /c/vcpkg/installed/arm64-windows/
       run: |
-        pip install --require-hashes -r ./llvm/utils/git/requirements.txt
+        pip -vvv install --require-hashes -r ./llvm/utils/git/requirements.txt
 
     - name: Check Permissions
       if: github.event_name != 'pull_request'

>From 6af68588aaa6acd3be258085ed23098067d9f56f Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 17:15:16 -0800
Subject: [PATCH 11/21] Debug

---
 .github/workflows/release-binaries.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 0674d26d15c7e..281364610b201 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -71,8 +71,6 @@ jobs:
       with:
         python-version: '3.14'
 
-    - name: Checkout LLVM
-      uses: actions/checkout at 8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
 
     - name: Install Windows dependencies
       if: runner.os == 'Windows'
@@ -87,12 +85,14 @@ jobs:
         find /c/vcpkg -iname '*ssl*'
 
     - name: Install Dependencies
-      shell: bash
-      env:
-        OPENSSL_DIR: /c/vcpkg/installed/arm64-windows/
+      #shell: bash
+      #env:
+      #  OPENSSL_DIR: /c/vcpkg/installed/arm64-windows/
       run: |
         pip -vvv install --require-hashes -r ./llvm/utils/git/requirements.txt
 
+    - name: Checkout LLVM
+      uses: actions/checkout at 8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
     - name: Check Permissions
       if: github.event_name != 'pull_request'
       env:

>From 163535227dfb0973595c9acb09c351d8ee635b5f Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 17:41:39 -0800
Subject: [PATCH 12/21] fix order

---
 .github/workflows/release-binaries.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 281364610b201..9a206952221e2 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -71,7 +71,6 @@ jobs:
       with:
         python-version: '3.14'
 
-
     - name: Install Windows dependencies
       if: runner.os == 'Windows'
       run: |
@@ -79,6 +78,9 @@ jobs:
         vcpkg install openssl
         vcpkg integrate install
 
+    - name: Checkout LLVM
+      uses: actions/checkout at 8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+
     - name: Debug
       shell: bash
       run: |
@@ -91,8 +93,6 @@ jobs:
       run: |
         pip -vvv install --require-hashes -r ./llvm/utils/git/requirements.txt
 
-    - name: Checkout LLVM
-      uses: actions/checkout at 8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
     - name: Check Permissions
       if: github.event_name != 'pull_request'
       env:

>From 715dff0749d3846149986a98522fb33465caf91c Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 18:04:30 -0800
Subject: [PATCH 13/21] fix

---
 .github/workflows/release-binaries.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 9a206952221e2..6b55038c06f3f 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -75,16 +75,16 @@ jobs:
       if: runner.os == 'Windows'
       run: |
         # Some of the python modules we install require this package to be installed on the system.
-        vcpkg install openssl
+        vcpkg install openssl:arm64-windows-static-md
         vcpkg integrate install
 
-    - name: Checkout LLVM
-      uses: actions/checkout at 8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
-
     - name: Debug
       shell: bash
       run: |
         find /c/vcpkg -iname '*ssl*'
+    
+    - name: Checkout LLVM
+      uses: actions/checkout at 8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
 
     - name: Install Dependencies
       #shell: bash

>From cc81f0fe806dbee1092e0e497c470b9c42c5caf6 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 18:25:51 -0800
Subject: [PATCH 14/21] Attempted fix

---
 .github/workflows/release-binaries.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 6b55038c06f3f..6560c9b97697a 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -91,6 +91,7 @@ jobs:
       #env:
       #  OPENSSL_DIR: /c/vcpkg/installed/arm64-windows/
       run: |
+         pip install --only-binary :all: cryptography
         pip -vvv install --require-hashes -r ./llvm/utils/git/requirements.txt
 
     - name: Check Permissions

>From 673a1764651b5cc4e6c7a48dcd5eeb4267b96bc4 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 18:27:58 -0800
Subject: [PATCH 15/21] Fix

---
 .github/workflows/release-binaries.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 6560c9b97697a..4318ecc047823 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -91,7 +91,7 @@ jobs:
       #env:
       #  OPENSSL_DIR: /c/vcpkg/installed/arm64-windows/
       run: |
-         pip install --only-binary :all: cryptography
+        pip install --only-binary :all: cryptography
         pip -vvv install --require-hashes -r ./llvm/utils/git/requirements.txt
 
     - name: Check Permissions

>From 5ca921bf28dc8bb79ee235e6dffe43f2a7c29e27 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 18:45:22 -0800
Subject: [PATCH 16/21] Fix

---
 .github/workflows/release-binaries.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 4318ecc047823..cd36b600f9daa 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -90,8 +90,9 @@ jobs:
       #shell: bash
       #env:
       #  OPENSSL_DIR: /c/vcpkg/installed/arm64-windows/
+      env:
+        PIP_ONLY_BINARY: cryptography
       run: |
-        pip install --only-binary :all: cryptography
         pip -vvv install --require-hashes -r ./llvm/utils/git/requirements.txt
 
     - name: Check Permissions

>From 6609c8dfb43f37b911f4212b39c34b44fb6be502 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 20:26:21 -0800
Subject: [PATCH 17/21] Fix

---
 .github/workflows/release-binaries.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index cd36b600f9daa..39b5e4cb093a8 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -90,9 +90,11 @@ jobs:
       #shell: bash
       #env:
       #  OPENSSL_DIR: /c/vcpkg/installed/arm64-windows/
-      env:
-        PIP_ONLY_BINARY: cryptography
+      #env:
+      #  PIP_ONLY_BINARY: cryptography
+
       run: |
+        set RUSTFLAGS=-l advapi32
         pip -vvv install --require-hashes -r ./llvm/utils/git/requirements.txt
 
     - name: Check Permissions

>From 61b24bff811519e8ef6c3a4a0c2f2e3666bede1f Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 23 Jan 2026 20:39:13 -0800
Subject: [PATCH 18/21] Fix

---
 .github/workflows/release-binaries.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 39b5e4cb093a8..8b515eb7c3aec 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -92,9 +92,9 @@ jobs:
       #  OPENSSL_DIR: /c/vcpkg/installed/arm64-windows/
       #env:
       #  PIP_ONLY_BINARY: cryptography
-
+      env:
+        RUSTFLAGS: "-C link-arg=Advapi32.lib"
       run: |
-        set RUSTFLAGS=-l advapi32
         pip -vvv install --require-hashes -r ./llvm/utils/git/requirements.txt
 
     - name: Check Permissions

>From 90986ce805f7719a293d4763650d72725d493b30 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Mon, 26 Jan 2026 17:25:33 -0800
Subject: [PATCH 19/21] Remove verbose

---
 .github/workflows/release-binaries.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 8b515eb7c3aec..35b5a397ec141 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -95,7 +95,7 @@ jobs:
       env:
         RUSTFLAGS: "-C link-arg=Advapi32.lib"
       run: |
-        pip -vvv install --require-hashes -r ./llvm/utils/git/requirements.txt
+        pip install --require-hashes -r ./llvm/utils/git/requirements.txt
 
     - name: Check Permissions
       if: github.event_name != 'pull_request'

>From 810dddada40099c41216b5f244f0ae17fd23c257 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Mon, 26 Jan 2026 17:30:19 -0800
Subject: [PATCH 20/21] Remove -md from triplet

---
 .github/workflows/release-binaries.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 35b5a397ec141..6961d998958bc 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -75,7 +75,7 @@ jobs:
       if: runner.os == 'Windows'
       run: |
         # Some of the python modules we install require this package to be installed on the system.
-        vcpkg install openssl:arm64-windows-static-md
+        vcpkg install openssl:arm64-windows-static
         vcpkg integrate install
 
     - name: Debug

>From b449c962e492a91181d1aa3659a14c69c4b8e0ad Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Mon, 26 Jan 2026 20:03:05 -0800
Subject: [PATCH 21/21] Fix openssl

---
 .github/workflows/release-binaries.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 6961d998958bc..1bded003ef36c 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -88,8 +88,8 @@ jobs:
 
     - name: Install Dependencies
       #shell: bash
-      #env:
-      #  OPENSSL_DIR: /c/vcpkg/installed/arm64-windows/
+      env:
+        OPENSSL_DIR: "C:\vcpkg\installed\arm64-windows-static"
       #env:
       #  PIP_ONLY_BINARY: cryptography
       env:



More information about the llvm-commits mailing list