8000 gh-101282: Apply BOLT optimisations to libpython for shared builds by indygreg · Pull Request #104709 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-101282: Apply BOLT optimisations to libpython for shared builds #104709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixup doc formatting
  • Loading branch information
erlend-aasland committed May 21, 2023
commit 52a266ebefe29d78e8e434cdb478c10005ad800e
15 changes: 8 additions & 7 deletions Doc/using/configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -313,13 +313,14 @@ also be used to improve performance.
experimental for now. Because this tool operates on machine code its success
is dependent on a combination of the build environment + the other
optimization configure args + the CPU architecture, and not all combinations
are supported. BOLT versions before LLVM 16 are known to crash BOLT under
some scenarios. Use of LLVM 16 or newer for BOLT optimization is stronger
encouraged.

The ``BOLT_INSTRUMENT_FLAGS`` and ``BOLT_APPLY_FLAGS`` configure variables
can be defined to override the default set of arguments for ``llvm-bolt``
to instrument and apply BOLT data to binaries, respectively.
are supported.
BOLT versions before LLVM 16 are known to crash BOLT under some scenarios.
Use of LLVM 16 or newer for BOLT optimization is strongly encouraged.

The :envvar:`!BOLT_INSTRUMENT_FLAGS` and :envvar:`!BOLT_APPLY_FLAGS`
:program:`configure` variables can be defined to override the default set of
arguments for :program:`llvm-bolt`` to instrument and apply BOLT data to
binaries, respectively.

.. versionadded:: 3.12

Expand Down
0