Jelajahi Sumber

add arm64 to build scripts

Matt Gardner 8 tahun lalu
induk
melakukan
da86276cf6

+ 1 - 1
Build/scripts/finalize_build.ps1

@@ -10,7 +10,7 @@
 
 
 param (
 param (
     [Parameter(Mandatory=$True)]
     [Parameter(Mandatory=$True)]
-    [ValidateSet("x86", "x64", "arm")]
+    [ValidateSet("x86", "x64", "arm", "arm64")]
     [string]$arch,
     [string]$arch,
 
 
     [Parameter(Mandatory=$True)]
     [Parameter(Mandatory=$True)]

+ 1 - 1
Build/scripts/init_build.ps1

@@ -12,7 +12,7 @@
 # before running the Pre-Build script.
 # before running the Pre-Build script.
 
 
 param (
 param (
-    [ValidateSet("x86", "x64", "arm", "")]
+    [ValidateSet("x86", "x64", "arm", "arm64", "")]
     [string]$arch = "",
     [string]$arch = "",
     [ValidateSet("debug", "release", "test", "codecoverage", "")]
     [ValidateSet("debug", "release", "test", "codecoverage", "")]
     [string]$flavor = "",
     [string]$flavor = "",

+ 2 - 2
Build/scripts/post_build.ps1

@@ -13,7 +13,7 @@
 # Finalize Build Script, which should be invoked at the very end of the build.
 # Finalize Build Script, which should be invoked at the very end of the build.
 
 
 param (
 param (
-    [ValidateSet("x86", "x64", "arm", "*")]
+    [ValidateSet("x86", "x64", "arm", "arm64", "*")]
     [string]$arch = "*",
     [string]$arch = "*",
 
 
     [ValidateSet("debug", "release", "test", "codecoverage", "*")]
     [ValidateSet("debug", "release", "test", "codecoverage", "*")]
@@ -59,7 +59,7 @@ $global:exitcode = 0
 
 
 if ($arch -eq "*") {
 if ($arch -eq "*") {
 
 
-    foreach ($arch in ("x86", "x64", "arm")) {
+    foreach ($arch in ("x86", "x64", "arm", "arm64")) {
         ExecuteCommand "$PSScriptRoot\post_build.ps1 -arch $arch -flavor $flavor -srcpath ""$srcpath"" -buildRoot ""$buildRoot"" -objpath ""$objpath"" -srcsrvcmdpath ""$srcsrvcmdpath"" -bvtcmdpath ""$bvtcmdpath"" -repo ""$repo""" -logFile ""$logFile""
         ExecuteCommand "$PSScriptRoot\post_build.ps1 -arch $arch -flavor $flavor -srcpath ""$srcpath"" -buildRoot ""$buildRoot"" -objpath ""$objpath"" -srcsrvcmdpath ""$srcsrvcmdpath"" -bvtcmdpath ""$bvtcmdpath"" -repo ""$repo""" -logFile ""$logFile""
     }
     }
 
 

+ 1 - 1
Build/scripts/pre_build.ps1

@@ -27,7 +27,7 @@
 
 
 param (
 param (
     [Parameter(Mandatory=$True)]
     [Parameter(Mandatory=$True)]
-    [ValidateSet("x86", "x64", "arm")]
+    [ValidateSet("x86", "x64", "arm", "arm64")]
     [string]$arch,
     [string]$arch,
     [Parameter(Mandatory=$True)]
     [Parameter(Mandatory=$True)]
     [ValidateSet("debug", "release", "test", "codecoverage")]
     [ValidateSet("debug", "release", "test", "codecoverage")]

+ 1 - 1
Build/scripts/run_build.ps1

@@ -6,7 +6,7 @@
 # Use this script to run a build for the given BuildType (arch, flavor, subtype)
 # Use this script to run a build for the given BuildType (arch, flavor, subtype)
 
 
 param (
 param (
-    [ValidateSet("x86", "x64", "arm")]
+    [ValidateSet("x86", "x64", "arm", "arm64")]
     [Parameter(Mandatory=$True)]
     [Parameter(Mandatory=$True)]
     [string]$arch,
     [string]$arch,
     # We do not use ValidateSet here because this $flavor param is used to name the BuildConfuration
     # We do not use ValidateSet here because this $flavor param is used to name the BuildConfuration