Skip to content

Commit c0d3dc7

Browse files
committed
fixup! Add additional patch folder for performance patches
1 parent 94fc59c commit c0d3dc7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/building-from-source.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,12 @@ The same build directory can be used for both native and MinGW toolchains.
148148

149149
See [patches](https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/tree/main/patches)
150150
directory for the current set of differences from upstream.
151+
152+
The patches for llvm-project are split between two folders, llvm-project and
153+
llvm-project-perf. The former are generally required for building and
154+
successfully running all tests. The patches in llvm-project-perf are optional,
155+
and designed to improve performance in certain circumstances.
156+
157+
To reduce divergence from upstream and potential patch conflicts, the
158+
performance patches are not applied by default, but can be enabled for an
159+
automatic checkout with the APPLY_LLVM_PERFORMANCE_PATCHES option.

0 commit comments

Comments
 (0)