Reenable PGO on Linux Release builds
authorMichelle McDaniel <adiaaida@gmail.com>
Tue, 17 Oct 2017 22:06:34 +0000 (15:06 -0700)
committerMichelle McDaniel <adiaaida@gmail.com>
Tue, 17 Oct 2017 22:06:34 +0000 (15:06 -0700)
Now that all the machines have been updated to have llvm 3.9 with PGO
support, reenable PGO builds.

netci.groovy

index f47dc0f..da07030 100755 (executable)
@@ -1912,17 +1912,12 @@ 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} ${disablePgo}"
+                        buildCommands += "${bootstrapRidEnv}./build.sh verbose ${lowerConfiguration} ${architecture} ${standaloneGc}"
                         buildCommands += "src/pal/tests/palsuite/runpaltests.sh \${WORKSPACE}/bin/obj/${osGroup}.${architecture}.${configuration} \${WORKSPACE}/bin/paltestout"
 
                         // Set time out