Skip to content

Commit fd935a6

Browse files
committed
utils: remove Host, Build, Target duplication
Adopt the `$Arch` parameter uniformly. If something is built for the host we can use `$HostArch` explicitly (which identifies the environment that the toolchain will run on). `$BuildArch` gives us an explicit architecture when building for the machine where the toolchain is being built. For the target libraries, we simply pass in the appropriate `$Arch` value.
1 parent c4b0bae commit fd935a6

File tree

2 files changed

+260
-362
lines changed

2 files changed

+260
-362
lines changed

utils/build-windows-toolchain.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ call :CloneRepositories || (exit /b 1)
7373
:: We only have write access to BuildRoot, so use that as the image root.
7474
powershell.exe -ExecutionPolicy RemoteSigned -File %~dp0build.ps1 ^
7575
-SourceCache %SourceRoot% ^
76-
-BinaryCache %BuildRoot% ^
76+
-BinaryCache "%BuildRoot%\" ^
7777
-ImageRoot %BuildRoot% ^
7878
%SkipPackagingArg% ^
7979
%TestArg% ^

0 commit comments

Comments
 (0)