Skip to content

Commit

Permalink
Documentation/llvm: turn make command for ccache into code block
Browse files Browse the repository at this point in the history
The command provided to use ccache with clang is not a literal code
block. Once built, the documentation displays the '' symbols as a "
character, which is wrong, and the command can not be applied as
provided.

Turn the command into a literal code block.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
  • Loading branch information
Javier Carrasco authored and Masahiro Yamada committed Aug 16, 2024
1 parent 1472464 commit 145082e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/kbuild/llvm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Ccache

``ccache`` can be used with ``clang`` to improve subsequent builds, (though
KBUILD_BUILD_TIMESTAMP_ should be set to a deterministic value between builds
in order to avoid 100% cache misses, see Reproducible_builds_ for more info):
in order to avoid 100% cache misses, see Reproducible_builds_ for more info)::

KBUILD_BUILD_TIMESTAMP='' make LLVM=1 CC="ccache clang"

Expand Down

0 comments on commit 145082e

Please sign in to comment.