Skip to content

Commit

Permalink
Add -cross flag to build.ps1 (dotnet#100678)
Browse files Browse the repository at this point in the history
Fixes VMR build error on Windows after dotnet/installer#19321

We haven't used or passed this on Windows before and a bunch of logic is conditioned based on the `CrossBuild` property (which is what `-cross` is turned into in build.sh) so ignore it for now.
  • Loading branch information
akoeplinger authored and matouskozak committed Apr 30, 2024
1 parent 93d1012 commit 6194696
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eng/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Param(
[string]$testscope,
[switch]$testnobuild,
[ValidateSet("x86","x64","arm","arm64","wasm")][string[]][Alias('a')]$arch = @([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant()),
[switch]$cross = $false,
[string][Alias('s')]$subset,
[ValidateSet("Debug","Release","Checked")][string][Alias('rc')]$runtimeConfiguration,
[ValidateSet("Debug","Release")][string][Alias('lc')]$librariesConfiguration,
Expand Down

0 comments on commit 6194696

Please sign in to comment.