Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Unified Diff: docs/README.rst

Issue 1960393002: Subzero: Add necessary PNaCl files for standalone build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero@master
Patch Set: make format Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Makefile.standalone ('k') | pnacl-llvm/NaClBitCodes.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/README.rst
diff --git a/docs/README.rst b/docs/README.rst
index 0257558a17fd0de0c4b8b3361ee92c51c5c33f58..922d99d2c6fd9de5a331c50fca027b63ca9eae1b 100644
--- a/docs/README.rst
+++ b/docs/README.rst
@@ -44,6 +44,27 @@ minimize the size of the translator by compiling out everything unnecessary.
The result of the ``make`` command is the target ``pnacl-sz`` in the current
directory.
+Building within LLVM trunk
+--------------------------
+
+Subzero can also be built from within a standard LLVM trunk checkout. Here is
+an example of how it can be checked out and built::
+
+ mkdir llvm-git
+ cd llvm-git
+ git clone http://llvm.org/git/llvm.git
+ cd llvm/projects/
+ git clone https://chromium.googlesource.com/native_client/pnacl-subzero
+ cd ../..
+ mkdir build
+ cd build
+ cmake -G Ninja ../llvm/
+ ninja
+ ./bin/pnacl-sz -version
+
+This creates a default build of ``pnacl-sz``; currently any options such as
+``DEBUG=1`` or ``MINIMAL=1`` have to be added manually.
+
``pnacl-sz``
------------
« no previous file with comments | « Makefile.standalone ('k') | pnacl-llvm/NaClBitCodes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698