Message372766
| Author |
vstinner |
| Recipients |
lukasz.langa, methane, ned.deily, rhettinger, ronaldoussoren, vstinner |
| Date |
2020年07月01日.16:40:00 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1593621600.78.0.452357545445.issue41181@roundup.psfhosted.org> |
| In-reply-to |
| Content |
>> Clang 6.0 doesn't support LTO and PGO?
> No, it appears not.
That's really surprising. I see LTO mentioned in LLVM 3.4 changelog for example:
https://releases.llvm.org/3.4/tools/clang/docs/ReleaseNotes.html#new-compiler-flags
Did you try to build Python with my PR? Which error message do you get? How can I try? I only own a macbook which runs a recent macOS version. Maybe I could try to get clang 6.0 on Linux.
If PGO is not available, just enabling LTO should already make Python faster significantly.
I understand why Python is built on macOS 10.9, and this issue and my PR doesn't change anything about that. I don't request to require newer CPU features or to require newer macOS API or syscall. LTO only changes how Python itself is built. |
|