Skip to content

Commit 5299f42

Browse files
WebKit ARM64 Builderclaude
andcommitted
Add debugging for ARM64 LLVM extraction hanging
Add exit code checking and verification to see exactly where the ARM64 LLVM extraction is failing or hanging. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent ff3b5ae commit 5299f42

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,11 +338,19 @@ jobs:
338338
339339
# Extract with 7zip (faster than installer)
340340
Write-Host "Extracting LLVM (this may take a few minutes)..."
341-
& "C:\Program Files\7-Zip\7z.exe" x $llvmInstaller -o"$llvmPath" -y -bso0 -bsp0
341+
$extractResult = & "C:\Program Files\7-Zip\7z.exe" x $llvmInstaller -o"$llvmPath" -y 2>&1
342+
Write-Host "7zip extraction completed with result: $LASTEXITCODE"
342343
343-
# Add to PATH
344-
echo "$llvmPath\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
345-
Write-Host "LLVM ARM64 installed"
344+
# Verify extraction worked
345+
if (Test-Path "$llvmPath\bin\clang.exe") {
346+
Write-Host "LLVM extracted successfully"
347+
# Add to PATH
348+
echo "$llvmPath\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
349+
Write-Host "LLVM ARM64 installed and added to PATH"
350+
} else {
351+
Write-Host "ERROR: LLVM extraction failed - clang.exe not found"
352+
exit 1
353+
}
346354
} else {
347355
# Use x64 packages
348356
scoop install cmake

0 commit comments

Comments
 (0)