diff options
author | Victor "Nate" Graf <nategraf1@gmail.com> | 2017-08-10 08:47:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-10 08:47:44 -0700 |
commit | b07a921524ec9e8c8f5e482707f9fc1b9b86d95e (patch) | |
tree | 1258246f4c4cd469518b8b56b02e1104c41d17c4 /netci.groovy | |
parent | ed729c09e043910e849782f1c884cde0b38362b1 (diff) | |
download | coreclr-b07a921524ec9e8c8f5e482707f9fc1b9b86d95e.tar.gz coreclr-b07a921524ec9e8c8f5e482707f9fc1b9b86d95e.tar.bz2 coreclr-b07a921524ec9e8c8f5e482707f9fc1b9b86d95e.zip |
Add enforcepgo for release Windows_NT default release build (#13275)
* Add enforcepgo for release Windows_NT default release build
* Restrict enforment of PGO to PGO supported builds
* Expand the usage of enforcpgo
* Fix break in the if-else control flow
Diffstat (limited to 'netci.groovy')
-rwxr-xr-x | netci.groovy | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/netci.groovy b/netci.groovy index b93b07271b..8aa10ee5df 100755 --- a/netci.groovy +++ b/netci.groovy @@ -1431,6 +1431,11 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR buildCommands += "tests\\scripts\\build_illink.cmd clone ${arch}" } + // 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')) { + buildOpts += ' enforcepgo' + } + if (Constants.jitStressModeScenarios.containsKey(scenario) || scenario == 'default' || scenario == 'r2r' || |