[PATCH] D112257: [www] Fix Ninja build instructions on Windows
Frederik Seiffert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 21 11:50:51 PDT 2021
triplef created this revision.
triplef added reviewers: aaron.ballman, Loghorn.
triplef requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
The `clang` target used in the line below is only generated with `LLVM_ENABLE_PROJECTS=clang`.
Without this change, running `ninja clang` will fail with:
ninja: error: unknown target 'clang', did you mean 'clean'?
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D112257
Files:
clang/www/get_started.html
Index: clang/www/get_started.html
===================================================================
--- clang/www/get_started.html
+++ clang/www/get_started.html
@@ -206,7 +206,7 @@
<li><tt>set CC=cl</tt> (necessary to force CMake to choose MSVC over mingw GCC
if you have it installed)</li>
<li><tt>set CXX=cl</tt></li>
- <li><tt>cmake -GNinja ..\llvm</tt></li>
+ <li><tt>cmake -GNinja -DLLVM_ENABLE_PROJECTS=clang ..\llvm</tt></li>
<li><tt>ninja clang</tt> This will build just clang.</li>
<li><tt>ninja check-clang</tt> This will run the clang tests.</li>
</ol>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112257.381346.patch
Type: text/x-patch
Size: 587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211021/6a9d0aa0/attachment.bin>
More information about the cfe-commits
mailing list