Skip to content

Conversation

@neonene
Copy link
Contributor

@neonene neonene commented Dec 6, 2021

Current Python cannot find paths correctly at the PGO profiling time.
Even if envvars are set, test_embed fails.

This issue does not exist when the PGO-instrumented build is located as high as the product build in directory level.

https://bugs.python.org/issue45582

@zooba
Copy link
Member

zooba commented Dec 8, 2021

It would be good to understand what the change in getpath is that caused this to start breaking, as it may impact other users as well.

That said, I approve of this change anyway.

@neonene
Copy link
Contributor Author

neonene commented Dec 9, 2021

I'll look into the change further.

@neonene
Copy link
Contributor Author

neonene commented Dec 9, 2021

Additionally, I've posted an alternative PR (#30014) which leaves the instrumented folder as it is.

@neonene neonene closed this Dec 10, 2021
@neonene neonene deleted the bpo-45582_pgo branch December 11, 2021 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants