From ab17a5ea65dfa3ee59a8e1a55222626bba9c9eef Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 4 Dec 2018 10:52:43 -0800 Subject: [PATCH] build --- Build.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build.md b/Build.md index c30a17b..1a232a6 100644 --- a/Build.md +++ b/Build.md @@ -109,7 +109,7 @@ git clone https://git.llvm.org/git/clang.git llvm/tools/clang cd llvm # create a build directory named `Release/` cmake -H. -BRelease -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DLLVM_ENABLE_LLD=ON -DLLVM_TARGETS_TO_BUILD=X86 -ninja -C Release clangFormat clangIndex clangTooling +ninja -C Release clangFormat clangFrontendTool clangIndex clangTooling ``` * Remove `LLVM_ENABLE_LLD` if you don't have lld (a much faster linker than bfd/gold) installed