diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-08-16 12:24:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-16 12:24:47 (GMT) |
commit | 8cb750df13c3d508726b6d507d35b807f1826e32 (patch) | |
tree | ca2fde149325f1f5d9d7e6d8645dcd3afdb29e6b | |
parent | c2fb25a7145cbb6bbe92de28a230e963fe4d696f (diff) | |
download | cpython-8cb750df13c3d508726b6d507d35b807f1826e32.zip cpython-8cb750df13c3d508726b6d507d35b807f1826e32.tar.gz cpython-8cb750df13c3d508726b6d507d35b807f1826e32.tar.bz2 |
[3.12] gh-91795: Update build optimization part of PCbuild/readme.txt (GH-91849) (#107776)
gh-91795: Update build optimization part of PCbuild/readme.txt (GH-91849)
(cherry picked from commit 906b73be5eada1995bd667a02c59f7a11998310f)
Co-authored-by: Fatih <77548106+fatihkabakk@users.noreply.github.com>
-rw-r--r-- | PCbuild/readme.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/PCbuild/readme.txt b/PCbuild/readme.txt index fe44ca4..5c682a2 100644 --- a/PCbuild/readme.txt +++ b/PCbuild/readme.txt @@ -252,9 +252,11 @@ against a profiling library and contain extra debug information. The PGUpdate configuration takes the profiling data and generates optimized binaries. -The build_pgo.bat script automates the creation of optimized binaries. -It creates the PGI files, runs the unit test suite or PyBench with the -PGI python, and finally creates the optimized files. +The build.bat script has an argument `--pgo` that automate the creation +of optimized binaries. +It creates the PGI files, runs the unit test suite with the PGI python, +and finally creates the optimized files. +You can customize the job for profiling with `--pgo-job <job>` option. See https://docs.microsoft.com/en-us/cpp/build/profile-guided-optimizations |