diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-10-20 19:57:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-20 19:57:33 -0700 |
commit | 56ddba2285c99fb4e3c4da5b279dbcb1ccef51f5 (patch) | |
tree | 1726eba1ff5039582751d116dae8e5cf98ac5682 /netci.groovy | |
parent | ef94fd4be1c10e11c57a117c18ce2df91a6152d9 (diff) | |
download | coreclr-56ddba2285c99fb4e3c4da5b279dbcb1ccef51f5.tar.gz coreclr-56ddba2285c99fb4e3c4da5b279dbcb1ccef51f5.tar.bz2 coreclr-56ddba2285c99fb4e3c4da5b279dbcb1ccef51f5.zip |
Revert "Reenable PGO on Linux Release builds" (#14645)
Diffstat (limited to 'netci.groovy')
-rwxr-xr-x | netci.groovy | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/netci.groovy b/netci.groovy index da07030ab9..f47dc0fe6c 100755 --- a/netci.groovy +++ b/netci.groovy @@ -1912,12 +1912,17 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR standaloneGc = 'buildstandalonegc' } + def disablePgo = '' + if (lowerConfiguration == 'release') { + disablePgo = 'nopgooptimize' + } + if (!enableCorefxTesting) { // We run pal tests on all OS but generate mscorlib (and thus, nuget packages) // only on supported OS platforms. def bootstrapRid = Utilities.getBoostrapPublishRid(os) def bootstrapRidEnv = bootstrapRid != null ? "__PUBLISH_RID=${bootstrapRid} " : '' - buildCommands += "${bootstrapRidEnv}./build.sh verbose ${lowerConfiguration} ${architecture} ${standaloneGc}" + buildCommands += "${bootstrapRidEnv}./build.sh verbose ${lowerConfiguration} ${architecture} ${standaloneGc} ${disablePgo}" buildCommands += "src/pal/tests/palsuite/runpaltests.sh \${WORKSPACE}/bin/obj/${osGroup}.${architecture}.${configuration} \${WORKSPACE}/bin/paltestout" // Set time out |