Skip to content

Commit 0480476

Browse files
authored
Merge pull request swiftlang#84346 from swiftlang/jepa-main4
[build-windows-toolchain.bat] Fix a few issues with swiftlang#84326
2 parents c8b281c + 7272215 commit 0480476

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/build-windows-toolchain.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ echo set SKIP_PACKAGING=%SKIP_PACKAGING%>> %TEMP%\call-build.cmd
2323
echo set SKIP_UPDATE_CHECKOUT=%SKIP_UPDATE_CHECKOUT%>> %TEMP%\call-build.cmd
2424
echo set REPO_SCHEME=%REPO_SCHEME%>> %TEMP%\call-build.cmd
2525
echo set WINDOWS_SDKS=%WINDOWS_SDKS%>> %TEMP%\call-build.cmd
26+
echo set HOST_ARCH_NAME=%HOST_ARCH_NAME%>> %TEMP%\call-build.cmd
2627
echo "%~f0">> %TEMP%\call-build.cmd
2728
start /i /b /wait cmd.exe /env=default /c "%TEMP%\call-build.cmd"
2829
set ec=%errorlevel%
@@ -81,7 +82,7 @@ call :CloneRepositories || (exit /b 1)
8182

8283
:: We only have write access to BuildRoot, so use that as the image root.
8384
powershell.exe -ExecutionPolicy RemoteSigned -File %~dp0build.ps1 ^
84-
%HostArchName% ^
85+
%HostArchNameArg% ^
8586
-SourceCache %SourceRoot% ^
8687
-BinaryCache %BuildRoot% ^
8788
-ImageRoot %BuildRoot% ^

0 commit comments

Comments
 (0)