-
-
Notifications
You must be signed in to change notification settings - Fork 34.1k
Open
Labels
OS-windowsbuildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
When having a closer look at the new Windows PGO Tailcall build logs
I've stumbled over
error : PGO run did not succeed (no python315!*.pgc files) and there is no data to merge
A closer look reveals that this happens on all Windows PGO builds in case of calling the Clean or CleanAll target. The culprit is here
Lines 162 to 171 in 5944a53
| if "%do_pgo%"=="true" ( | |
| del /s "%dir%\*.pgc" | |
| del /s "%dir%\..\Lib\*.pyc" | |
| echo on | |
| call "%dir%\..\python.bat" %pgo_job% | |
| @echo off | |
| call :Kill | |
| set conf=PGUpdate | |
| set target=Build | |
| ) |
where
- the
pgo_jobis always invoked - and the target is always switched to
target=Build
in the PGUpdate phase.
I'll send a PR shortly.
cc @itamaro
Linked PRs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
OS-windowsbuildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error