Attempt to fix the cmake build by requiring mcjit on the cmake
authorEric Christopher <echristo@gmail.com>
Mon, 8 Dec 2014 18:20:50 +0000 (18:20 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 8 Dec 2014 18:20:50 +0000 (18:20 +0000)
dependencies for the KS tutorials

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223677 91177308-0d34-0410-b5e6-96231b3b80d8

examples/Kaleidoscope/Chapter4/CMakeLists.txt
examples/Kaleidoscope/Chapter5/CMakeLists.txt
examples/Kaleidoscope/Chapter6/CMakeLists.txt
examples/Kaleidoscope/Chapter7/CMakeLists.txt
examples/Kaleidoscope/Chapter8/CMakeLists.txt

index 2f828dc819eecc0f4fabde0f1da218baeeb67a4e..46067d9973102548ee212ab9d7210be5d2081379 100644 (file)
@@ -7,6 +7,7 @@ set(LLVM_LINK_COMPONENTS
   ScalarOpts
   Support
   nativecodegen
+  mcjit
   )
 
 add_llvm_example(Kaleidoscope-Ch4
index 1912ddc07411b4ef0dd24261d74853e8e5f28e48..138cf0c0969aa4895cae0570460980c6f860ce00 100644 (file)
@@ -7,6 +7,7 @@ set(LLVM_LINK_COMPONENTS
   ScalarOpts
   Support
   nativecodegen
+  mcjit
   )
 
 add_llvm_example(Kaleidoscope-Ch5
index d36f03090e5b0a3efb15cbdd0e39c49dd85f90bf..af24377c761a77ea3e1a50d5cea3228a4b713395 100644 (file)
@@ -7,6 +7,7 @@ set(LLVM_LINK_COMPONENTS
   ScalarOpts
   Support
   nativecodegen
+  mcjit
   )
 
 add_llvm_example(Kaleidoscope-Ch6
index bdc0e5525db1075a08043d84aa0b631dafe19af7..304c94ba5a2aa70f3bb080faab09ca25ac727454 100644 (file)
@@ -8,6 +8,7 @@ set(LLVM_LINK_COMPONENTS
   Support
   TransformUtils
   nativecodegen
+  mcjit
   )
 
 set(LLVM_REQUIRES_RTTI 1)
index 053916f441d9da00805c0171ea19b0586cb2d28a..a09c6bee8b56803cfaf65a726b62077a4113d7a6 100644 (file)
@@ -8,6 +8,7 @@ set(LLVM_LINK_COMPONENTS
   Support
   TransformUtils
   nativecodegen
+  mcjit
   )
 
 set(LLVM_REQUIRES_RTTI 1)