diff options
author | Bruce Forstall <brucefo@microsoft.com> | 2018-07-06 17:19:32 -0700 |
---|---|---|
committer | Bruce Forstall <Bruce_Forstall@msn.com> | 2018-08-01 22:37:04 -0700 |
commit | 22ba5204472650338e3d695074d1da90ee94ca87 (patch) | |
tree | 759b538e9b76ef09d64fb01c49c65fbb1750d6b2 /netci.groovy | |
parent | d7191b58cfc263479f57b45084097b773d8c235a (diff) | |
download | coreclr-22ba5204472650338e3d695074d1da90ee94ca87.tar.gz coreclr-22ba5204472650338e3d695074d1da90ee94ca87.tar.bz2 coreclr-22ba5204472650338e3d695074d1da90ee94ca87.zip |
Enable ARM64 builds using release product tools
Remove support for specifying the toolset directory for arm64,
which was used to point to an internal toolset.
Building for arm64 now works just like the other platforms, e.g.
invoke `build arm64`.
The requirements:
. Visual Studio 2017 Update 4 or later, with ARM64 toolset installed
. Windows SDK 10.0.17134.0 or later
. CMake 3.10 or later
Diffstat (limited to 'netci.groovy')
-rwxr-xr-x | netci.groovy | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/netci.groovy b/netci.groovy index 7b191cabf8..2bd49acb4b 100755 --- a/netci.groovy +++ b/netci.groovy @@ -708,7 +708,13 @@ def static setMachineAffinity(def job, def os, def architecture, def options = n def isBuild = options['use_arm64_build_machine'] == true if (isBuild == true) { - Utilities.setMachineAffinity(job, os, 'latest-arm64') + // Current set of machines with private Windows arm64 toolset: + // Utilities.setMachineAffinity(job, os, 'latest-arm64') + // + // New set of machines with public Windows arm64 toolset, coming from Helix: + job.with { + label('Windows.10.Amd64.ClientRS4.DevEx.Open') + } } else { Utilities.setMachineAffinity(job, os, 'arm64-windows_nt') } @@ -2423,10 +2429,6 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR def buildOpts = '' - if (architecture == 'arm64') { - buildOpts += " toolset_dir C:\\ats2" - } - if (doCoreFxTesting) { buildOpts += ' skiptests' } else { @@ -2453,12 +2455,7 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR def absoluteFxRoot = "%WORKSPACE%\\_\\fx" def fxBranch = getFxBranch(branch) - def toolsetDirOpt = '' - if (architecture == 'arm64') { - toolsetDirOpt = "-toolset_dir C:\\ats2" - } - - buildCommands += "python -u %WORKSPACE%\\tests\\scripts\\run-corefx-tests.py -arch ${architecture} -ci_arch ${architecture} -build_type ${configuration} -fx_root ${absoluteFxRoot} -fx_branch ${fxBranch} -env_script ${envScriptPath} -no_run_tests ${toolsetDirOpt}" + buildCommands += "python -u %WORKSPACE%\\tests\\scripts\\run-corefx-tests.py -arch ${architecture} -ci_arch ${architecture} -build_type ${configuration} -fx_root ${absoluteFxRoot} -fx_branch ${fxBranch} -env_script ${envScriptPath} -no_run_tests" // Zip up the CoreFx runtime and tests. We don't need the CoreCLR binaries; they have been copied to the CoreFX tree. buildCommands += "powershell -NoProfile -Command \"Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('${workspaceRelativeFxRootWin}\\bin\\testhost\\netcoreapp-Windows_NT-Release-${architecture}', '${workspaceRelativeFxRootWin}\\fxruntime.zip')\""; |