def static configurationList = ['Debug', 'Checked', 'Release']
// This is the set of architectures
- def static architectureList = ['arm', 'armlb', 'x86_arm_altjit', 'x64_arm64_altjit', 'arm64', 'x64', 'x86', 'x86lb']
+ def static architectureList = ['arm', 'armlb', 'x86_arm_altjit', 'x64_arm64_altjit', 'arm64', 'x64', 'x86']
}
def static setMachineAffinity(def job, def os, def architecture, def options = null) {
}
break
case 'x86':
- case 'x86lb':
case 'x86_arm_altjit':
case 'x64_arm64_altjit':
baseName = architecture.toLowerCase() + '_' + configuration.toLowerCase() + '_' + os.toLowerCase()
switch (architecture) {
case 'x64':
case 'x86':
- case 'x86lb':
if (architecture == 'x86' && os == 'Ubuntu') {
Utilities.addPeriodicTrigger(job, '@daily')
}
}
}
// For x86, only add per-commit jobs for Windows
- else if (architecture == 'x86' || architecture == 'x86lb') {
+ else if (architecture == 'x86') {
if (os == 'Windows_NT') {
Utilities.addGithubPushTrigger(job)
}
}
break
// editor brace matching: }
- case 'x86lb': // editor brace matching: {
- assert (os == 'Windows_NT')
-
- def arch = 'x86'
- def jit = 'legacy_backend'
- switch (scenario) {
- case 'default':
- if (configuration == 'Checked') {
- Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${arch} ${jit} ${configuration} Build and Test",
- "(?i).*test\\W+${os}\\W+${arch}\\W+${jit}\\W+${configuration}\\W+Build and Test.*")
- }
- break
- default:
- println("Unknown scenario: ${os} ${arch} ${jit} ${scenario}");
- assert false
- break
- }
- break
- // editor brace matching: }
case 'x64_arm64_altjit':
case 'x86_arm_altjit': // editor brace matching: {
assert (os == 'Windows_NT')
switch (architecture) {
case 'x64':
case 'x86':
- case 'x86lb':
case 'x86_arm_altjit':
case 'x64_arm64_altjit':
def arch = architecture
def buildOpts = ''
- if ((architecture == 'x86lb') || (architecture == 'x86_arm_altjit')) {
+ if (architecture == 'x86_arm_altjit') {
arch = 'x86'
}
else if (architecture == 'x64_arm64_altjit') {
// If it is a release build for windows, ensure PGO is used, else fail the build
if ((lowerConfiguration == 'release') &&
(scenario in Constants.basicScenarios) &&
- (architecture != 'x86lb') &&
(architecture != 'x86_arm_altjit') &&
(architecture != 'x64_arm64_altjit')) {
def buildCommandsStr = ''
envScriptPath = "%WORKSPACE%\\SetStressModes.bat"
buildCommandsStr += genStressModeScriptStep(os, scenario, Constants.jitStressModeScenarios[scenario], envScriptPath)
- if (architecture == 'x86lb') {
- buildCommandsStr += appendStressModeScriptStep(os, "%WORKSPACE%\\tests\\legacyjit_x86_testenv.cmd", envScriptPath)
- }
- else if (architecture == 'x86_arm_altjit') {
+ if (architecture == 'x86_arm_altjit') {
buildCommandsStr += appendStressModeScriptStep(os, "%WORKSPACE%\\tests\\x86_arm_altjit.cmd", envScriptPath)
}
else if (architecture == 'x64_arm64_altjit') {
// into a single script.
buildCommands += buildCommandsStr
}
- else if (architecture == 'x86lb') {
- envScriptPath = "%WORKSPACE%\\tests\\legacyjit_x86_testenv.cmd"
- }
else if (architecture == 'x86_arm_altjit') {
envScriptPath = "%WORKSPACE%\\tests\\x86_arm_altjit.cmd"
}
return
}
break
- case 'x86lb':
case 'x86_arm_altjit':
case 'x64_arm64_altjit':
if (os != 'Windows_NT') {
default:
// arm, arm64, armlb: stress is handled through flow jobs.
- // x86lb: No stress modes for legacy jit. (There's no technical reason we couldn't allow these.)
return
}
}
break
}
- // Only implement 'default' for x86lb.
- if ((architecture == 'x86lb') && (scenario != 'default')) {
- return
- }
-
// Calculate names
def lowerConfiguration = configuration.toLowerCase()
def jobName = getJobName(configuration, architecture, os, scenario, isBuildOnly)
['Windows_NT'].each { os ->
['x64', 'x86'].each { arch ->
['ryujit'].each { jit ->
- if (arch == 'x64' && jit == 'legacy_backend') {
- return
- }
-
['full_opt', 'min_opt'].each { opt_level ->
def architecture = arch
def jobName = "perf_perflab_${os}_${arch}_${opt_level}_${jit}"
def testEnv = ""
- if (jit == 'legacy_backend') {
- testEnv = '-testEnv %WORKSPACE%\\tests\\legacyjit_x86_testenv.cmd'
- }
-
def newJob = job(Utilities.getFullJobName(project, jobName, isPR)) {
// Set the label.
label('windows_server_2016_clr_perf')
[true, false].each { isPR ->
['Windows_NT'].each { os ->
['x64', 'x86'].each { arch ->
- ['ryujit', 'legacy_backend'].each { jit ->
+ ['ryujit'].each { jit ->
[true, false].each { pgo_optimized ->
- if (arch == 'x64' && jit == 'legacy_backend') {
- return
- }
-
- // pgo not supported for legacy_backend
- if (pgo_optimized && jit == 'legacy_backend') {
- return
- }
-
['full_opt', 'min_opt'].each { opt_level ->
def architecture = arch