[llvm] 9026d3b - Fix sphinx documentation after a6a37a2fcd2a8048a75bd0d8280497ed89d73224
Alexandre Ganea via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 31 05:06:23 PDT 2020
Author: Alexandre Ganea
Date: 2020-08-31T08:06:13-04:00
New Revision: 9026d3b2f942db81b0d8588fd0990d389669dc55
URL: https://github.com/llvm/llvm-project/commit/9026d3b2f942db81b0d8588fd0990d389669dc55
DIFF: https://github.com/llvm/llvm-project/commit/9026d3b2f942db81b0d8588fd0990d389669dc55.diff
LOG: Fix sphinx documentation after a6a37a2fcd2a8048a75bd0d8280497ed89d73224
Added:
Modified:
llvm/docs/CMake.rst
Removed:
################################################################################
diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index cba6308b03ec..2972f1dec0e7 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -473,8 +473,12 @@ LLVM-specific variables
midly improves Clang build times, by about 5-10%. At the moment, rpmalloc,
snmalloc and mimalloc are supported. Use the path to `git clone` to select
the respective allocator, for example:
- D:\git> git clone https://github.com/mjansson/rpmalloc
- D:\llvm-project> cmake ... -DLLVM_INTEGRATED_CRT_ALLOC=D:\git\rpmalloc
+
+ .. code-block:: console
+
+ $ D:\git> git clone https://github.com/mjansson/rpmalloc
+ $ D:\llvm-project> cmake ... -DLLVM_INTEGRATED_CRT_ALLOC=D:\git\rpmalloc
+
This flag needs to be used along with the static CRT, ie. if building the
Release target, add -DLLVM_USE_CRT_RELEASE=MT.
More information about the llvm-commits
mailing list