[PATCH] D58139: replace all instances of 'mcjit' flag in tutorial docs with 'orcjit' flag

Brian Mansfield via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 12 11:08:46 PST 2019


bmansfieldRIT created this revision.
bmansfieldRIT added a project: LLVM.
Herald added a subscriber: llvm-commits.

Kaleidoscope now uses the ORC JIT engine, orcjit is the correct flag here.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D58139

Files:
  llvm/docs/tutorial/LangImpl04.rst
  llvm/docs/tutorial/LangImpl05.rst
  llvm/docs/tutorial/LangImpl06.rst
  llvm/docs/tutorial/LangImpl07.rst
  llvm/docs/tutorial/LangImpl09.rst


Index: llvm/docs/tutorial/LangImpl09.rst
===================================================================
--- llvm/docs/tutorial/LangImpl09.rst
+++ llvm/docs/tutorial/LangImpl09.rst
@@ -452,7 +452,7 @@
 .. code-block:: bash
 
     # Compile
-    clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core mcjit native` -O3 -o toy
+    clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core orcjit native` -O3 -o toy
     # Run
     ./toy
 
Index: llvm/docs/tutorial/LangImpl07.rst
===================================================================
--- llvm/docs/tutorial/LangImpl07.rst
+++ llvm/docs/tutorial/LangImpl07.rst
@@ -870,7 +870,7 @@
 .. code-block:: bash
 
     # Compile
-    clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core mcjit native` -O3 -o toy
+    clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core orcjit native` -O3 -o toy
     # Run
     ./toy
 
Index: llvm/docs/tutorial/LangImpl06.rst
===================================================================
--- llvm/docs/tutorial/LangImpl06.rst
+++ llvm/docs/tutorial/LangImpl06.rst
@@ -747,7 +747,7 @@
 .. code-block:: bash
 
     # Compile
-    clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core mcjit native` -O3 -o toy
+    clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core orcjit native` -O3 -o toy
     # Run
     ./toy
 
Index: llvm/docs/tutorial/LangImpl05.rst
===================================================================
--- llvm/docs/tutorial/LangImpl05.rst
+++ llvm/docs/tutorial/LangImpl05.rst
@@ -801,7 +801,7 @@
 .. code-block:: bash
 
     # Compile
-    clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core mcjit native` -O3 -o toy
+    clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core orcjit native` -O3 -o toy
     # Run
     ./toy
 
Index: llvm/docs/tutorial/LangImpl04.rst
===================================================================
--- llvm/docs/tutorial/LangImpl04.rst
+++ llvm/docs/tutorial/LangImpl04.rst
@@ -634,7 +634,7 @@
 .. code-block:: bash
 
     # Compile
-    clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core mcjit native` -O3 -o toy
+    clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core orcjit native` -O3 -o toy
     # Run
     ./toy
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58139.186515.patch
Type: text/x-patch
Size: 2435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190212/c34e7295/attachment.bin>


More information about the llvm-commits mailing list