This is an automated email from the ASF dual-hosted git repository.

HTHou pushed a commit to branch codex/release-thrift-0.25.0
in repository https://gitbox.apache.org/repos/asf/iotdb-bin-resources.git


The following commit(s) were added to refs/heads/codex/release-thrift-0.25.0 by 
this push:
     new 521b507  Support Thrift builds on Windows ARM runners
521b507 is described below

commit 521b507bc6f72a2a5000e9edbc87b3f3fd9939f8
Author: HTHou <[email protected]>
AuthorDate: Sat Oct 3 19:49:19 2026 +0800

    Support Thrift builds on Windows ARM runners
---
 .github/workflows/iotdb-tools-thrift-artifacts.yml | 8 +++++++-
 iotdb-tools-thrift/README.md                       | 5 +++--
 iotdb-tools-thrift/README_zh.md                    | 6 +++---
 iotdb-tools-thrift/pom.xml                         | 4 ++--
 4 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/iotdb-tools-thrift-artifacts.yml 
b/.github/workflows/iotdb-tools-thrift-artifacts.yml
index 89dfbc6..a5c5428 100644
--- a/.github/workflows/iotdb-tools-thrift-artifacts.yml
+++ b/.github/workflows/iotdb-tools-thrift-artifacts.yml
@@ -142,7 +142,13 @@ jobs:
             $archive.Dispose()
           }
 
-          $expectedBinary = if ($classifier.StartsWith("windows")) { 
"bin/Release/thrift.exe" } else { "bin/thrift" }
+          $expectedBinary = if ($classifier -eq "windows-x86_64") {
+            "bin/Release/thrift.exe"
+          } elseif ($classifier -eq "windows-aarch64") {
+            "bin/thrift.exe"
+          } else {
+            "bin/thrift"
+          }
           Write-Host "Archive: $($zip.Name)"
           $files | ForEach-Object { Write-Host " - $_" }
 
diff --git a/iotdb-tools-thrift/README.md b/iotdb-tools-thrift/README.md
index 45d0ddf..c43dafb 100644
--- a/iotdb-tools-thrift/README.md
+++ b/iotdb-tools-thrift/README.md
@@ -79,8 +79,9 @@ The directory must contain these files:
 `${project.version}` is the Maven project version, for example `0.25.0.0`.
 
 Verify the archives before deploying them. Each archive should contain only the
-`bin/thrift` executable, or `bin/Release/thrift.exe` on Windows, and the
-executable should report the expected Apache Thrift version.
+`bin/thrift` executable, `bin/Release/thrift.exe` on Windows x86_64, or
+`bin/thrift.exe` on Windows ARM64, and the executable should report the 
expected
+Apache Thrift version.
 
 ## Deploy Prebuilt Artifacts to Nexus
 
diff --git a/iotdb-tools-thrift/README_zh.md b/iotdb-tools-thrift/README_zh.md
index 405e693..ffbbc6a 100644
--- a/iotdb-tools-thrift/README_zh.md
+++ b/iotdb-tools-thrift/README_zh.md
@@ -77,9 +77,9 @@ workflow 会上传一个名为 `iotdb-tools-thrift-all-platforms` 的汇总 arti
 
 `${project.version}` 是 Maven 项目版本,例如 `0.25.0.0`。
 
-deploy 前请先检查这些压缩包。每个压缩包应当只包含 `bin/thrift` 可执行文件,
-Windows 平台为 `bin/Release/thrift.exe`,并且该可执行文件输出的 Apache
-Thrift 版本符合预期。
+deploy 前请先检查这些压缩包。每个压缩包应当只包含 `bin/thrift` 可执行文件;
+Windows x86_64 平台为 `bin/Release/thrift.exe`,Windows ARM64 平台为
+`bin/thrift.exe`。该可执行文件输出的 Apache Thrift 版本应符合预期。
 
 ## 将预构建 artifacts 发布到 Nexus
 
diff --git a/iotdb-tools-thrift/pom.xml b/iotdb-tools-thrift/pom.xml
index 248ebd6..91a7495 100644
--- a/iotdb-tools-thrift/pom.xml
+++ b/iotdb-tools-thrift/pom.xml
@@ -449,8 +449,8 @@
             </activation>
             <properties>
                 <os.classifier>windows-aarch64</os.classifier>
-                <!-- We're using Mingw everywhere else, but it seems boost is 
not supported for that -->
-                <cmake.generator>Visual Studio 17 2022</cmake.generator>
+                <!-- The GitHub-hosted Windows ARM runner provides LLVM and 
Ninja, but not Visual Studio. -->
+                <cmake.generator>Ninja</cmake.generator>
             </properties>
         </profile>
 

Reply via email to