diff options
author | Daniel Podder <dpodder@gmail.com> | 2016-10-04 01:39:49 -0700 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2016-10-04 10:39:49 +0200 |
commit | 114b58869def96c720d0c2fd9b77ceccdc924b96 (patch) | |
tree | 91445052c408051a7582b8a891b2166162e38bc6 /src/jit/standalone/CMakeLists.txt | |
parent | 4d6710d76ba222b1bf9aaef9b475a3229f827824 (diff) | |
download | coreclr-114b58869def96c720d0c2fd9b77ceccdc924b96.tar.gz coreclr-114b58869def96c720d0c2fd9b77ceccdc924b96.tar.bz2 coreclr-114b58869def96c720d0c2fd9b77ceccdc924b96.zip |
Add PGO GENPROFILE support to coreclr and clrjit (#7423)
* Add PGO GENPROFILE support to coreclr and clrjit
Update the cmake build system to enable support for Profile Guided
Optimization (PGO) on Windows, and enable this feature for two target
binaries (coreclr and clrjit).
With this change, toggle between instrumented and profile-optimized
settings for target binaries by passing pgoinstrument argument to the build.cmd
Assume profile-optimized mode by default. Fall back to regular non-PGO
optimized builds if profile data is not available.
Diffstat (limited to 'src/jit/standalone/CMakeLists.txt')
-rw-r--r-- | src/jit/standalone/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jit/standalone/CMakeLists.txt b/src/jit/standalone/CMakeLists.txt index b4efc30a8e..2e6317098e 100644 --- a/src/jit/standalone/CMakeLists.txt +++ b/src/jit/standalone/CMakeLists.txt @@ -53,3 +53,6 @@ target_link_libraries(${JIT_BASE_NAME} # add the install targets install_clr(${JIT_BASE_NAME}) + +# Enable profile guided optimization +add_pgo(${JIT_BASE_NAME}) |