diff options
author | Bruce Forstall <brucefo@microsoft.com> | 2017-11-07 21:49:26 -0800 |
---|---|---|
committer | Bruce Forstall <brucefo@microsoft.com> | 2017-11-13 09:51:20 -0800 |
commit | 5fae5edfff6ed6c2990059dac78e31b4f584402d (patch) | |
tree | 0e9e85dd24e688b1acfc687efb0a8e16e3d260e3 /netci.groovy | |
parent | 11398340bcb1b5919ebc2ba9aa473c72430844ea (diff) | |
download | coreclr-5fae5edfff6ed6c2990059dac78e31b4f584402d.tar.gz coreclr-5fae5edfff6ed6c2990059dac78e31b4f584402d.tar.bz2 coreclr-5fae5edfff6ed6c2990059dac78e31b4f584402d.zip |
Enable RyuJIT/arm32 crossgen compilation of S.P.C.dll
Currently, an ARM build and CI test run uses the legacy backend
arm32 JIT. This change enables a build of RyuJIT/arm32 as a
cross-targeting protojit.dll (altjit) in the cross tools (placed
next to the x86 hosted crossgen.exe in the build), and uses that
RyuJIT/arm32 cross-compiler to build System.Private.CoreLib.dll.
The CI system when testing RyuJIT/arm32 will use this to test
the crossgen'ed System.Private.CoreLib.dll built by RyuJIT/arm32
for all "arm" architecture jobs.
Diffstat (limited to 'netci.groovy')
-rwxr-xr-x | netci.groovy | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/netci.groovy b/netci.groovy index 31d0b840a8..44badd7b79 100755 --- a/netci.groovy +++ b/netci.groovy @@ -1793,8 +1793,15 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR def buildArchitecture = 'arm' + // For 'arm' (the RyuJIT/arm32 architecture), tell build.cmd to use RyuJIT/arm32 for crossgen compilation. + // RyuJIT/arm32 is currently not the default JIT; it is an aljit. So, this is a special case. + def armCrossgenOpt = '' + if (architecture == 'arm') { + armCrossgenOpt = '-altjitcrossgen' + } + // This is now a build only job. Do not run tests. Use the flow job. - buildCommands += "set __TestIntermediateDir=int&&build.cmd ${lowerConfiguration} ${buildArchitecture} -priority=${priority}" + buildCommands += "set __TestIntermediateDir=int&&build.cmd ${lowerConfiguration} ${buildArchitecture} -priority=${priority} ${armCrossgenOpt}" // Zip up the tests directory so that we don't use so much space/time copying // 10s of thousands of files around. |