Skip to content

build: drop ARM32[WIP]#1730

Closed
fxliang wants to merge 4 commits intorime:masterfrom
fxliang:droparm
Closed

build: drop ARM32[WIP]#1730
fxliang wants to merge 4 commits intorime:masterfrom
fxliang:droparm

Conversation

@fxliang
Copy link
Copy Markdown
Contributor

@fxliang fxliang commented Nov 13, 2025

fix github actions workflows

Drop ARM32 build, because Windows SDK with ARM32 support has been drop in github actions

@driver1998 arm64x_wrapper help needed

@lotem
Copy link
Copy Markdown
Member

lotem commented Nov 13, 2025

真的,沒啥好支持的。
現在 ARM Windows 電腦都不喫香了。

@fxliang
Copy link
Copy Markdown
Contributor Author

fxliang commented Nov 13, 2025

不费太大劲就留着,费劲就扔了

@fxliang fxliang closed this Nov 13, 2025
@fxliang fxliang reopened this Nov 13, 2025
driver1998 added a commit to driver1998/weasel that referenced this pull request Nov 13, 2025
Since ARM32 support is being dropped (rime#1730), remove the related logic in WeaselSetup.

Otherwise install will fail complaining about missing ARM32 TSF dlls.
@driver1998
Copy link
Copy Markdown
Contributor

报错看着跟arm64x_wrapper没关系啊

@fxliang
Copy link
Copy Markdown
Contributor Author

fxliang commented Nov 14, 2025

报错看着跟arm64x_wrapper没关系啊

build.bat的输出是异常的(本地没有这个问题),xbuild.bat的结果就是xmake后执行arm64x_wrapper下的脚本出问题了

vcxproj的问题我修完了,现在xbuild.bat和build.bat的构建都在执行arm64_wrapper下出问题了

@driver1998
Copy link
Copy Markdown
Contributor

driver1998 commented Nov 14, 2025

**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.14.19
** Copyright (c) 2025 Microsoft Corporation
**********************************************************************

Windows SDK Version = 10.0.26100.0
Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35219 for ARM64
Copyright (C) Microsoft Corporation.  All rights reserved.

dummy.c
Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35219 for ARM64
Copyright (C) Microsoft Corporation.  All rights reserved.
dummy.c

Microsoft (R) Library Manager Version 14.44.35219.0
Copyright (C) Microsoft Corporation.  All rights reserved.

   Creating library WeaselTSF_x64.lib and object WeaselTSF_x64.exp
Microsoft (R) Library Manager Version 14.44.35219.0
Copyright (C) Microsoft Corporation.  All rights reserved.

   Creating library WeaselTSF_arm64.lib and object WeaselTSF_arm64.exp
Microsoft (R) Incremental Linker Version 14.44.35219.0
Copyright (C) Microsoft Corporation.  All rights reserved.

   Creating library weaselARM64X.lib and object weaselARM64X.exp
Microsoft (R) Library Manager Version 14.44.35219.0
Copyright (C) Microsoft Corporation.  All rights reserved.

   Creating library WeaselIME_x64.lib and object WeaselIME_x64.exp
Microsoft (R) Library Manager Version 14.44.35219.0
Copyright (C) Microsoft Corporation.  All rights reserved.

   Creating library WeaselIME_arm64.lib and object WeaselIME_arm64.exp
Microsoft (R) Incremental Linker Version 14.44.35219.0
Copyright (C) Microsoft Corporation.  All rights reserved.

   Creating library weaselARM64X.lib and object weaselARM64X.exp
        1 file(s) copied.
        1 file(s) copied.
The system cannot find the path specified.
error building weasel...
Error: Process completed with exit code 1.

我猜测那两个 1 file(s) copied. 指的是这里的两个copy命令,那也就是说问题不在arm64x_wrapper里。

weasel/build.bat

Lines 215 to 226 in c127fa7

if %build_arm64% == 1 (
pushd arm64x_wrapper
call build.bat
if errorlevel 1 goto error
popd
copy arm64x_wrapper\weaselARM64X.dll output
if errorlevel 1 goto error
copy arm64x_wrapper\weaselARM64X.ime output
if errorlevel 1 goto error
)

最后的The system cannot find the path specified.,我有点怀疑是下面的makensis,是不是runner上NSIS的路径变了?

weasel/build.bat

Lines 227 to 236 in c127fa7

if %build_installer% == 1 (
"%ProgramFiles(x86)%"\NSIS\Bin\makensis.exe ^
/DWEASEL_VERSION=%WEASEL_VERSION% ^
/DWEASEL_BUILD=%WEASEL_BUILD% ^
/DPRODUCT_VERSION=%PRODUCT_VERSION% ^
output\install.nsi
if errorlevel 1 goto error
)
goto end

我本地没有装NSIS,确实就是这样的报错。
image

要不你将几个build.bat的@echo off都去掉,让cmd显示具体执行的命令?这样更好排查。

@fxliang fxliang force-pushed the droparm branch 3 times, most recently from 3a83d21 to 1eb9c4d Compare November 14, 2025 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants