diff options
author | Michelle McDaniel <adiaaida@gmail.com> | 2017-10-06 05:15:16 -0700 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2017-10-06 14:15:16 +0200 |
commit | 9c6e5b689e043beccdb97385727367e5f0277ac1 (patch) | |
tree | c49baa29286f8b48d6a7b6584343f65c835c4648 /netci.groovy | |
parent | 46e6857e92f9dfbd248217ccf1f42ff70e2763dd (diff) | |
download | coreclr-9c6e5b689e043beccdb97385727367e5f0277ac1.tar.gz coreclr-9c6e5b689e043beccdb97385727367e5f0277ac1.tar.bz2 coreclr-9c6e5b689e043beccdb97385727367e5f0277ac1.zip |
Disable PGO optimization on linux (#14290)
With the update to llvm 3.9, the pgo data is incompatible since it was
generated with llvm 3.6. Currently, both the pgo data generation builds
and the automatic updates of counts are currently down, so pgo data is
not being updated. Until these problems are fixed, disable pgo
optimization for release builds on linux.
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 a608b4c5a5..f47dc0fe6c 100755 --- a/netci.groovy +++ b/netci.groovy @@ -1911,13 +1911,18 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR if (scenario == 'standalone_gc') { 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 |