1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-10 01:50:53 +09:00

Add -cross flag to build.ps1 (#100678)

Fixes VMR build error on Windows after https://github.com/dotnet/installer/pull/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.
This commit is contained in:
Alexander Köplinger 2024-04-05 18:14:56 +02:00 committed by GitHub
parent 068ba8eba9
commit d79a753f0b
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -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,