Hi danalbert, jroelofs,

The current documentation does not explain that the standalone build requires 
the LLVM sources. This patch updates the documentation to reflect this 
requirement and explains how to manually specify the location of the required 
files. 

Any suggestions on better wording are encouraged.

http://reviews.llvm.org/D5836

Files:
  www/index.html
Index: www/index.html
===================================================================
--- www/index.html
+++ www/index.html
@@ -96,6 +96,16 @@
     linux you may need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++</code></li>
   <li><code>make</code></li>
   </ul>
+  <p> By default CMake uses <code>llvm-config</code> to locate the required
+      LLVM sources. If CMake cannot find <code>llvm-config</code> then you must
+      configure CMake using either of the following options.
+  </p>
+  <ul>
+  <li><code>-DLLVM_CONFIG=path/to/llvm-config</code></li>
+  <li><code>-DLLVM_PATH=path/to/llvm/sources</code></li>
+  </ul>
+
+  </p>
 
   <p>To run the tests:</p>
   <ul>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to