[llvm] Add Windows release binary builds (PR #150793)
    Tom Stellard via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Oct 21 20:48:07 PDT 2025
    
    
  
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/150793
>From 2bc5c1ae0c21ebc0bfa28777d19751fe2a811487 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 26 Jul 2025 12:27:08 -0700
Subject: [PATCH 01/29] Add Windows release binary builds
---
 .github/workflows/release-binaries-windows.yml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 .github/workflows/release-binaries-windows.yml
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
new file mode 100644
index 0000000000000..fa116bc9a379a
--- /dev/null
+++ b/.github/workflows/release-binaries-windows.yml
@@ -0,0 +1,17 @@
+name: Release Binaries Windows
+
+on:
+  pull:
+
+
+permissions:
+  contents: read # Default everything to read-only
+
+jobs:
+  build-windows-release:
+    runs-on: depot-windows-2022-16
+    if: github.repository_owner == 'llvm'
+    steps:
+      - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
+      - run: |
+        llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8
>From 860dff2f330bd9c976cdabc77076c83f8da9b8d5 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 26 Jul 2025 12:29:47 -0700
Subject: [PATCH 02/29] Fix
---
 .github/workflows/release-binaries-windows.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index fa116bc9a379a..630a2facba8b4 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -14,4 +14,4 @@ jobs:
     steps:
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
       - run: |
-        llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8
+          llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8
>From 6533e4438019c747abd4f9b1d6e6c32ce7948c90 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 26 Jul 2025 12:31:42 -0700
Subject: [PATCH 03/29] Fix
---
 .github/workflows/release-binaries-windows.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 630a2facba8b4..a7a4dc969ea43 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -1,7 +1,7 @@
 name: Release Binaries Windows
 
 on:
-  pull:
+  pull_request:
 
 
 permissions:
>From 04381bbafc5b02ada4eb0cd5e0d43b4e637e3b93 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 26 Jul 2025 12:45:05 -0700
Subject: [PATCH 04/29] Fix
---
 .github/workflows/release-binaries-windows.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index a7a4dc969ea43..58a1ad17ee44c 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -14,4 +14,4 @@ jobs:
     steps:
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
       - run: |
-          llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8
+          llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8 --local-python
>From 1a9ddddab34c48a532b397db2294aa8e2d868a21 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 26 Jul 2025 21:18:40 -0700
Subject: [PATCH 05/29] Fix
---
 .github/workflows/release-binaries-windows.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 58a1ad17ee44c..86951337aa2ee 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -12,6 +12,8 @@ jobs:
     runs-on: depot-windows-2022-16
     if: github.repository_owner == 'llvm'
     steps:
-      - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
+      - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
+        with:
+          ref: llvmorg-20.1.8
       - run: |
-          llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8 --local-python
+          llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8 --skip-checkout --local-python
>From d2dcb30b6707007267153683615528f274e40dd4 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Mon, 11 Aug 2025 20:28:56 +0000
Subject: [PATCH 06/29] Fix
---
 .github/workflows/release-binaries-windows.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 86951337aa2ee..6793656c5dcef 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -9,7 +9,7 @@ permissions:
 
 jobs:
   build-windows-release:
-    runs-on: depot-windows-2022-16
+    runs-on: depot-windows-2022-64
     if: github.repository_owner == 'llvm'
     steps:
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
>From ccd8dc7151c6aee351f20efdf21de2fccb5ba72f Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 4 Oct 2025 08:54:35 -0700
Subject: [PATCH 07/29] Disable tests
---
 llvm/utils/release/build_llvm_release.bat | 34 +++++++++++------------
 1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/llvm/utils/release/build_llvm_release.bat b/llvm/utils/release/build_llvm_release.bat
index 54645d0c6369f..5d016b902162b 100755
--- a/llvm/utils/release/build_llvm_release.bat
+++ b/llvm/utils/release/build_llvm_release.bat
@@ -222,8 +222,8 @@ cmake -GNinja %cmake_flags% %llvm_src%\llvm || exit /b 1
 ninja || ninja || ninja || exit /b 1
 REM ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
 REM ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
-ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
-ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b 1
+REM ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
+REM ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b 1
 REM ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
 cd..
 
@@ -244,8 +244,8 @@ cmake -GNinja %cmake_flags% %llvm_src%\llvm || exit /b 1
 ninja || ninja || ninja || exit /b 1
 REM ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
 REM ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
-ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
-ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b 1
+REM ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
+REM ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b 1
 REM ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
 ninja package || exit /b 1
 cd ..
@@ -276,12 +276,12 @@ set cmake_flags=^
 
 cmake -GNinja %cmake_flags% %llvm_src%\llvm || exit /b 1
 ninja || ninja || ninja || exit /b 1
-ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
-ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
-ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
-ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b 1
-ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
-ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b 1
+REM ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
+REM ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
+REM ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
+REM ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b 1
+REM ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
+REM ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b 1
 cd..
 
 REM CMake expects the paths that specifies the compiler and linker to be
@@ -301,12 +301,12 @@ cd build64
 call :do_generate_profile || exit /b 1
 cmake -GNinja %cmake_flags% %cmake_profile_flags% %llvm_src%\llvm || exit /b 1
 ninja || ninja || ninja || exit /b 1
-ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
-ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
-ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
-ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b 1
-ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
-ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b 1
+REM ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
+REM ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
+REM ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
+REM ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b 1
+REM ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
+REM ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b 1
 ninja package || exit /b 1
 
 :: generate tarball with install toolchain only off
@@ -376,7 +376,7 @@ cd build_arm64
 cmake -GNinja %cmake_flags% %llvm_src%\llvm || exit /b 1
 ninja || exit /b 1
 REM Check but do not fail on errors.
-ninja check-lldb
+::ninja check-lldb
 ::ninja check-llvm || exit /b 1
 ::ninja check-clang || exit /b 1
 ::ninja check-lld || exit /b 1
>From fd92cc4450c365585f971a28099b47c9ef17958e Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 4 Oct 2025 11:54:35 -0700
Subject: [PATCH 08/29] Disable tests more
---
 llvm/utils/release/build_llvm_release.bat | 35 -----------------------
 1 file changed, 35 deletions(-)
diff --git a/llvm/utils/release/build_llvm_release.bat b/llvm/utils/release/build_llvm_release.bat
index 5d016b902162b..b149a54393f09 100755
--- a/llvm/utils/release/build_llvm_release.bat
+++ b/llvm/utils/release/build_llvm_release.bat
@@ -220,11 +220,6 @@ set cmake_flags=^
 
 cmake -GNinja %cmake_flags% %llvm_src%\llvm || exit /b 1
 ninja || ninja || ninja || exit /b 1
-REM ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
-REM ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
-REM ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
-REM ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b 1
-REM ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
 cd..
 
 REM CMake expects the paths that specifies the compiler and linker to be
@@ -242,11 +237,6 @@ mkdir build32
 cd build32
 cmake -GNinja %cmake_flags% %llvm_src%\llvm || exit /b 1
 ninja || ninja || ninja || exit /b 1
-REM ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
-REM ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
-REM ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
-REM ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b 1
-REM ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
 ninja package || exit /b 1
 cd ..
 
@@ -276,12 +266,6 @@ set cmake_flags=^
 
 cmake -GNinja %cmake_flags% %llvm_src%\llvm || exit /b 1
 ninja || ninja || ninja || exit /b 1
-REM ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
-REM ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
-REM ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
-REM ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b 1
-REM ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
-REM ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b 1
 cd..
 
 REM CMake expects the paths that specifies the compiler and linker to be
@@ -301,12 +285,6 @@ cd build64
 call :do_generate_profile || exit /b 1
 cmake -GNinja %cmake_flags% %cmake_profile_flags% %llvm_src%\llvm || exit /b 1
 ninja || ninja || ninja || exit /b 1
-REM ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
-REM ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
-REM ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
-REM ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b 1
-REM ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
-REM ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b 1
 ninja package || exit /b 1
 
 :: generate tarball with install toolchain only off
@@ -350,12 +328,6 @@ cmake -GNinja %cmake_flags% ^
   -DCMAKE_CXX_COMPILER=clang-cl.exe ^
   %llvm_src%\llvm || exit /b 1
 ninja || exit /b 1
-::ninja check-llvm || exit /b 1
-::ninja check-clang || exit /b 1
-::ninja check-lld || exit /b 1
-::ninja check-sanitizer || exit /b 1
-::ninja check-clang-tools || exit /b 1
-::ninja check-clangd || exit /b 1
 cd..
 
 REM CMake expects the paths that specifies the compiler and linker to be
@@ -376,13 +348,6 @@ cd build_arm64
 cmake -GNinja %cmake_flags% %llvm_src%\llvm || exit /b 1
 ninja || exit /b 1
 REM Check but do not fail on errors.
-::ninja check-lldb
-::ninja check-llvm || exit /b 1
-::ninja check-clang || exit /b 1
-::ninja check-lld || exit /b 1
-::ninja check-sanitizer || exit /b 1
-::ninja check-clang-tools || exit /b 1
-::ninja check-clangd || exit /b 1
 ninja package || exit /b 1
 cd ..
 
>From abd2683c10a259204eacd6746c51f64138d66a14 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 4 Oct 2025 12:23:00 -0700
Subject: [PATCH 09/29] Change ref
---
 .github/workflows/release-binaries-windows.yml | 2 --
 1 file changed, 2 deletions(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 6793656c5dcef..d2a8a52c1695b 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -13,7 +13,5 @@ jobs:
     if: github.repository_owner == 'llvm'
     steps:
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
-        with:
-          ref: llvmorg-20.1.8
       - run: |
           llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8 --skip-checkout --local-python
>From efb08ab623720dd1497029cdbf3898740356cc9f Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 18 Oct 2025 13:37:10 -0700
Subject: [PATCH 10/29] Use subst
---
 .github/workflows/release-binaries-windows.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index d2a8a52c1695b..7f8bdae975797 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -14,4 +14,6 @@ jobs:
     steps:
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
       - run: |
-          llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8 --skip-checkout --local-python
+          subst S: ${{ github.workspace }}
+      - run: |
+          S:\llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8 --skip-checkout --local-python
>From 23f5d4a479926fa1b9a1866c7447c8c3ec547b90 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 18 Oct 2025 14:32:56 -0700
Subject: [PATCH 11/29] Use local
---
 .github/workflows/release-binaries-windows.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 7f8bdae975797..cf1b0c14324d7 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -9,11 +9,11 @@ permissions:
 
 jobs:
   build-windows-release:
-    runs-on: depot-windows-2022-64
+    runs-on: depot-windows-2022-16
     if: github.repository_owner == 'llvm'
     steps:
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
       - run: |
           subst S: ${{ github.workspace }}
       - run: |
-          S:\llvm\utils\release\build_llvm_release.bat --x64 --version 20.1.8 --skip-checkout --local-python
+          S:\llvm\utils\release\build_llvm_release.bat --x64 --version 21.1.3 --local-python
>From 421679576d5ab682e0afff703baec5878cc0b686 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 18 Oct 2025 20:08:19 -0700
Subject: [PATCH 12/29] Fix
---
 .github/workflows/release-binaries-windows.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index cf1b0c14324d7..abb3166675f09 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -14,6 +14,7 @@ jobs:
     steps:
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
       - run: |
-          subst S: ${{ github.workspace }}
+          subst S: ${{ github.workspace }}\llvm\utils\release\
       - run: |
-          S:\llvm\utils\release\build_llvm_release.bat --x64 --version 21.1.3 --local-python
+          cd S:\
+          build_llvm_release.bat --x64 --version 21.1.3 --local-python
>From 006890e17c6e5aad2392ff51f9bc53c904da25f2 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 18 Oct 2025 20:26:10 -0700
Subject: [PATCH 13/29] Fix
---
 .github/workflows/release-binaries-windows.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index abb3166675f09..a2e1de23ce578 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -17,4 +17,4 @@ jobs:
           subst S: ${{ github.workspace }}\llvm\utils\release\
       - run: |
           cd S:\
-          build_llvm_release.bat --x64 --version 21.1.3 --local-python
+          .\build_llvm_release.bat --x64 --version 21.1.3 --local-python
>From 824b6ba1f1c0af4824e0f088015fffb3d80b8992 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 18 Oct 2025 20:46:32 -0700
Subject: [PATCH 14/29] XXX: fix
---
 .github/workflows/release-binaries-windows.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index a2e1de23ce578..40334f1e521f0 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -17,4 +17,4 @@ jobs:
           subst S: ${{ github.workspace }}\llvm\utils\release\
       - run: |
           cd S:\
-          .\build_llvm_release.bat --x64 --version 21.1.3 --local-python
+          .\build_llvm_release.bat --x64 --version 21.1.3 --local-python --no-checkout
>From 7da80e774a8fe4620dd58f8a051e74019770238c Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 18 Oct 2025 21:41:01 -0700
Subject: [PATCH 15/29] Fix typo
---
 .github/workflows/release-binaries-windows.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 40334f1e521f0..45da4cdeadd80 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -17,4 +17,4 @@ jobs:
           subst S: ${{ github.workspace }}\llvm\utils\release\
       - run: |
           cd S:\
-          .\build_llvm_release.bat --x64 --version 21.1.3 --local-python --no-checkout
+          .\build_llvm_release.bat --x64 --version 21.1.3 --local-python --skip-checkout
>From 3c6be6c8982bc68b19f867783124b7850becceae Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 21 Oct 2025 00:48:42 +0000
Subject: [PATCH 16/29] Fix paths
---
 .github/workflows/release-binaries-windows.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 45da4cdeadd80..2d126ecc4affe 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -14,7 +14,7 @@ jobs:
     steps:
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
       - run: |
-          subst S: ${{ github.workspace }}\llvm\utils\release\
+          subst S: ${{ github.workspace }}
       - run: |
-          cd S:\
+          cd S:\llvm\utils\release\
           .\build_llvm_release.bat --x64 --version 21.1.3 --local-python --skip-checkout
>From 71d8deaeb834e7491d390abeba7bfe5df5fea0a2 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 21 Oct 2025 01:48:55 +0000
Subject: [PATCH 17/29] Add offload
---
 llvm/utils/release/build_llvm_release.bat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/utils/release/build_llvm_release.bat b/llvm/utils/release/build_llvm_release.bat
index 40f3f1dfaca6f..c750516317f74 100644
--- a/llvm/utils/release/build_llvm_release.bat
+++ b/llvm/utils/release/build_llvm_release.bat
@@ -163,7 +163,7 @@ set common_cmake_flags=^
   -DCMAKE_CXX_FLAGS="%common_compiler_flags%" ^
   -DLLVM_ENABLE_RPMALLOC=ON ^
   -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld" ^
-  -DLLVM_ENABLE_RUNTIMES="compiler-rt;openmp"
+  -DLLVM_ENABLE_RUNTIMES="compiler-rt;openmp;offload"
 
 if "%force-msvc%" == "" (
   where /q clang-cl
>From 3e7b0951be3de8d9516c04a9dd9d2eb08bc02a85 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 21 Oct 2025 09:05:41 -0700
Subject: [PATCH 18/29] Disable openmp
---
 llvm/utils/release/build_llvm_release.bat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/utils/release/build_llvm_release.bat b/llvm/utils/release/build_llvm_release.bat
index c750516317f74..d11a502dd1b72 100644
--- a/llvm/utils/release/build_llvm_release.bat
+++ b/llvm/utils/release/build_llvm_release.bat
@@ -163,7 +163,7 @@ set common_cmake_flags=^
   -DCMAKE_CXX_FLAGS="%common_compiler_flags%" ^
   -DLLVM_ENABLE_RPMALLOC=ON ^
   -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld" ^
-  -DLLVM_ENABLE_RUNTIMES="compiler-rt;openmp;offload"
+  -DLLVM_ENABLE_RUNTIMES="compiler-rt"
 
 if "%force-msvc%" == "" (
   where /q clang-cl
>From a67009d31a992d741198d2fffd88f3db9a1023a7 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 21 Oct 2025 12:21:57 -0700
Subject: [PATCH 19/29] debug
---
 .github/workflows/release-binaries-windows.yml | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 2d126ecc4affe..db0d7dc805d9f 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -12,6 +12,8 @@ jobs:
     runs-on: depot-windows-2022-16
     if: github.repository_owner == 'llvm'
     steps:
+      - run: |
+        diff
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
       - run: |
           subst S: ${{ github.workspace }}
>From 4dc458a921b02290dbb4438dce3f0216c8a111ff Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 21 Oct 2025 12:23:33 -0700
Subject: [PATCH 20/29] debug
---
 .github/workflows/release-binaries-windows.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index db0d7dc805d9f..6e182d36cd5f3 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -13,7 +13,7 @@ jobs:
     if: github.repository_owner == 'llvm'
     steps:
       - run: |
-        diff
+          diff
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
       - run: |
           subst S: ${{ github.workspace }}
>From b1edfb301c2a461d704699ae84de0f375e99295e Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 21 Oct 2025 14:06:16 -0700
Subject: [PATCH 21/29] Remove subst
---
 .github/workflows/release-binaries-windows.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 6e182d36cd5f3..4727ea7dfecaa 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -16,7 +16,6 @@ jobs:
           diff
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
       - run: |
-          subst S: ${{ github.workspace }}
-      - run: |
-          cd S:\llvm\utils\release\
+          #subst S: ${{ github.workspace }}
+          cd llvm\utils\release\
           .\build_llvm_release.bat --x64 --version 21.1.3 --local-python --skip-checkout
>From c7d970e80d27386af70c2b1d9afc61ebe51d6841 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 21 Oct 2025 14:12:08 -0700
Subject: [PATCH 22/29] Remove diff
---
 .github/workflows/release-binaries-windows.yml | 2 --
 1 file changed, 2 deletions(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 4727ea7dfecaa..c51aee9fdc1bb 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -12,8 +12,6 @@ jobs:
     runs-on: depot-windows-2022-16
     if: github.repository_owner == 'llvm'
     steps:
-      - run: |
-          diff
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
       - run: |
           #subst S: ${{ github.workspace }}
>From 84e80554440548efd562bb51f16da831de7cfd8a Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 21 Oct 2025 14:45:55 -0700
Subject: [PATCH 23/29] Fixes
---
 .github/workflows/release-binaries-windows.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index c51aee9fdc1bb..8aada497775d5 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -14,6 +14,6 @@ jobs:
     steps:
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
       - run: |
-          #subst S: ${{ github.workspace }}
-          cd llvm\utils\release\
+          subst S: ${{ github.workspace }}
+          cd S:\llvm\utils\release\
           .\build_llvm_release.bat --x64 --version 21.1.3 --local-python --skip-checkout
>From 4e92806a07de25edbb907f7a9cc889b99f0f7c87 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 21 Oct 2025 15:39:59 -0700
Subject: [PATCH 24/29] Don't run tests so many times
---
 .github/workflows/release-binaries-windows.yml | 8 ++++++++
 llvm/utils/release/build_llvm_release.bat      | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 8aada497775d5..4b39471fba7bc 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -17,3 +17,11 @@ jobs:
           subst S: ${{ github.workspace }}
           cd S:\llvm\utils\release\
           .\build_llvm_release.bat --x64 --version 21.1.3 --local-python --skip-checkout
+      - if: always()
+        run: |
+           S:\llvm\utils\release\llvm_package_21.1.3\build_amd64_stage0\bin\llvm-remarkutil.exe filter S:\llvm\test\tools\llvm-remarkutil/Inputs/filter.yaml | diff S:\llvm\test\tools\llvm-remarkutil/Inputs/filter.yaml - > diff.out
+      - if: always()
+        uses: actions/upload-artifact at ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
+        with:
+          name: diff
+          path: diff.out
diff --git a/llvm/utils/release/build_llvm_release.bat b/llvm/utils/release/build_llvm_release.bat
index d11a502dd1b72..055e06418003b 100644
--- a/llvm/utils/release/build_llvm_release.bat
+++ b/llvm/utils/release/build_llvm_release.bat
@@ -278,7 +278,7 @@ cmake -GNinja %cmake_flags% ^
   -DLLVM_TARGETS_TO_BUILD=Native ^
   %llvm_src%\llvm || exit /b 1
 ninja || ninja || ninja || exit /b 1
-ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
+ninja check-llvm || exit /b 1
 ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
 ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
 if "%arch%"=="amd64" (
@@ -312,7 +312,7 @@ cmake -GNinja %cmake_flags% ^
   -DPYTHON_HOME=%PYTHONHOME% ^
   %cmake_profile_flags% %llvm_src%\llvm || exit /b 1
 ninja || ninja || ninja || exit /b 1
-ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
+ninja check-llvm || exit /b 1
 ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
 ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
 if "%arch%"=="amd64" (
>From 33283a8d23a88227ee520af5c9dac0b289851e72 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 21 Oct 2025 16:27:33 -0700
Subject: [PATCH 25/29] Autocrlf
---
 .github/workflows/release-binaries-windows.yml | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 4b39471fba7bc..f585d92771168 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -12,16 +12,11 @@ jobs:
     runs-on: depot-windows-2022-16
     if: github.repository_owner == 'llvm'
     steps:
+      - Name: Setup crlf
+        run: |
+          git config --global core.autocrlf false
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
       - run: |
           subst S: ${{ github.workspace }}
           cd S:\llvm\utils\release\
           .\build_llvm_release.bat --x64 --version 21.1.3 --local-python --skip-checkout
-      - if: always()
-        run: |
-           S:\llvm\utils\release\llvm_package_21.1.3\build_amd64_stage0\bin\llvm-remarkutil.exe filter S:\llvm\test\tools\llvm-remarkutil/Inputs/filter.yaml | diff S:\llvm\test\tools\llvm-remarkutil/Inputs/filter.yaml - > diff.out
-      - if: always()
-        uses: actions/upload-artifact at ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
-        with:
-          name: diff
-          path: diff.out
>From 80daeaf2975e620ddc6e547cb226687992434ccd Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 21 Oct 2025 16:29:54 -0700
Subject: [PATCH 26/29] Fix typo
---
 .github/workflows/release-binaries-windows.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index f585d92771168..3960492ec136b 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -12,7 +12,7 @@ jobs:
     runs-on: depot-windows-2022-16
     if: github.repository_owner == 'llvm'
     steps:
-      - Name: Setup crlf
+      - name: Setup crlf
         run: |
           git config --global core.autocrlf false
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
>From c6b62cb95c70531cf8595a470b29a75eb33a2a7f Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 21 Oct 2025 16:34:57 -0700
Subject: [PATCH 27/29] Fix
---
 .github/workflows/release-binaries-windows.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 3960492ec136b..69e0fa4fbf81a 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -14,7 +14,7 @@ jobs:
     steps:
       - name: Setup crlf
         run: |
-          git config --global core.autocrlf false
+          git config --global core.autocrlf=false
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
       - run: |
           subst S: ${{ github.workspace }}
>From f12b8246f7a8f7163d474f4e841cbdfeedd07cfe Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 21 Oct 2025 16:38:31 -0700
Subject: [PATCH 28/29] Fix
---
 .github/workflows/release-binaries-windows.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 69e0fa4fbf81a..3960492ec136b 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -14,7 +14,7 @@ jobs:
     steps:
       - name: Setup crlf
         run: |
-          git config --global core.autocrlf=false
+          git config --global core.autocrlf false
       - uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1A
       - run: |
           subst S: ${{ github.workspace }}
>From 83d7b48d0f3da739388b9d3a8088ff5fa6b010c0 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Tue, 21 Oct 2025 20:47:24 -0700
Subject: [PATCH 29/29] Setup windows
---
 .github/workflows/release-binaries-windows.yml | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/.github/workflows/release-binaries-windows.yml b/.github/workflows/release-binaries-windows.yml
index 3960492ec136b..358f6e1bc373f 100644
--- a/.github/workflows/release-binaries-windows.yml
+++ b/.github/workflows/release-binaries-windows.yml
@@ -12,6 +12,9 @@ jobs:
     runs-on: depot-windows-2022-16
     if: github.repository_owner == 'llvm'
     steps:
+      - uses: llvm/actions/setup-windows at main
+        with:
+          arch: amd64
       - name: Setup crlf
         run: |
           git config --global core.autocrlf false
    
    
More information about the llvm-commits
mailing list