Skip to content

Commit f23371f

Browse files
authored
LibFFI build requires x64 Cygwin, and skip the ARM build (GH-101743)
1 parent cb24118 commit f23371f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PCbuild/prepare_libffi.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ goto :Usage
6060
if NOT DEFINED BUILD_X64 if NOT DEFINED BUILD_X86 if NOT DEFINED BUILD_ARM32 if NOT DEFINED BUILD_ARM64 (
6161
set BUILD_X64=1
6262
set BUILD_X86=1
63-
set BUILD_ARM32=1
63+
set BUILD_ARM32=0
6464
set BUILD_ARM64=1
6565
set COPY_LICENSE=1
6666
)
@@ -204,7 +204,7 @@ if NOT DEFINED CYG_CACHE (set CYG_CACHE=C:/cygwin/var/cache/setup)
204204
if NOT DEFINED CYG_MIRROR (set CYG_MIRROR=http://mirrors.kernel.org/sourceware/cygwin/)
205205

206206
powershell -c "md $env:CYG_ROOT -ErrorAction SilentlyContinue"
207-
powershell -c "$setup = $env:CYG_ROOT+'/setup.exe'; if (!(Test-Path $setup)){invoke-webrequest https://cygwin.com/setup-x86.exe -outfile $setup}
207+
powershell -c "$setup = $env:CYG_ROOT+'/setup.exe'; if (!(Test-Path $setup)){invoke-webrequest https://cygwin.com/setup-x86_64.exe -outfile $setup}
208208
%CYG_ROOT%/setup.exe -qnNdO -R "%CYG_ROOT%" -s "%CYG_MIRROR%" -l "%CYG_CACHE%" -P make -P autoconf -P automake -P libtool -P dejagnu
209209

210210
endlocal

0 commit comments

Comments
 (0)