diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2021-05-03 03:43:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 03:43:52 (GMT) |
commit | e08059edef3be07ada3058d68ad2c9cc13b7418e (patch) | |
tree | fa3a6f9250e42fb495f46458ed5ba936ed2e5010 /Misc | |
parent | 8c598dbb9483bcfcb88fc579ebf27821d8861465 (diff) | |
download | cpython-e08059edef3be07ada3058d68ad2c9cc13b7418e.zip cpython-e08059edef3be07ada3058d68ad2c9cc13b7418e.tar.gz cpython-e08059edef3be07ada3058d68ad2c9cc13b7418e.tar.bz2 |
bpo-42235: [macOS] Use LTO/PGO in build-installer.py with new enough compilers (GH-23079)
With recent enough compilers we can build binaries with
LTO/PGO on macOS. This patch enables this when building on
macOS 10.15 or later (Xcode 11 or later).
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/macOS/2020-11-01-17-37-16.bpo-42235.A97_BN.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/macOS/2020-11-01-17-37-16.bpo-42235.A97_BN.rst b/Misc/NEWS.d/next/macOS/2020-11-01-17-37-16.bpo-42235.A97_BN.rst new file mode 100644 index 0000000..eef4fcd --- /dev/null +++ b/Misc/NEWS.d/next/macOS/2020-11-01-17-37-16.bpo-42235.A97_BN.rst @@ -0,0 +1,2 @@ +``Mac/BuildScript/build-installer.py`` will now use "--enable-optimizations" +and ``--with-lto`` when building on macOS 10.15 or later. |