Skip to content

Commit 53b121e

Browse files
WebKit ARM64 Builderclaude
andcommitted
Fix ARM64 environment detection and add ccache to CI
- Add debugging output for Visual Studio environment setup - Force ARM64 environment variables on ARM64 systems - Add ccache to GitHub Actions dependency installation - Should resolve vcpkg cross-compilation vs native compilation issues 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent edc3ce2 commit 53b121e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ jobs:
269269
scoop install aria2
270270
271271
# Install all required tools at once
272-
scoop install cmake ninja python ruby perl make vcpkg
272+
scoop install cmake ninja python ruby perl make vcpkg ccache
273273
274274
- uses: actions/checkout@v4
275275
with:

windows-release.ps1

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@ if ($env:VSINSTALLDIR -eq $null) {
3636

3737
Write-Host "Target Architecture: $targetArch"
3838
. (Join-Path -Path $vsDir.FullName -ChildPath "Common7\Tools\Launch-VsDevShell.ps1") -Arch $targetArch
39+
40+
# Verify and force the environment for native ARM64
41+
Write-Host "After VS setup:"
42+
Write-Host " VSCMD_ARG_TGT_ARCH: $env:VSCMD_ARG_TGT_ARCH"
43+
Write-Host " PROCESSOR_ARCHITECTURE: $env:PROCESSOR_ARCHITECTURE"
44+
45+
if ($isARM64) {
46+
# Force native ARM64 environment
47+
$env:PROCESSOR_ARCHITECTURE = "ARM64"
48+
$env:VSCMD_ARG_TGT_ARCH = "arm64"
49+
Write-Host "Forced ARM64 environment variables"
50+
}
3951
}
4052
finally { Pop-Location }
4153
} else {

0 commit comments

Comments
 (0)