diff options
author | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2009-09-22 21:15:00 +0000 |
---|---|---|
committer | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2009-09-22 21:15:00 +0000 |
commit | 2d8813cfb08d90342117ae91b310672859ed1191 (patch) | |
tree | 5a544d99ae81fa974a543e5ce4b5dade3c2bc8c8 /llvm | |
parent | 6e2b34bc14cccfc7194c6fec2e6b134cef64c129 (diff) | |
download | bcm5719-llvm-2d8813cfb08d90342117ae91b310672859ed1191.tar.gz bcm5719-llvm-2d8813cfb08d90342117ae91b310672859ed1191.zip |
Rename Kaleidoscope to show that it's for Chapter 7 of the tutorial.
llvm-svn: 82573
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/examples/Kaleidoscope/CMakeLists.txt | 6 | ||||
-rw-r--r-- | llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt | 5 | ||||
-rw-r--r-- | llvm/examples/Kaleidoscope/Chapter7/Makefile | 15 | ||||
-rw-r--r-- | llvm/examples/Kaleidoscope/Chapter7/toy.cpp (renamed from llvm/examples/Kaleidoscope/toy.cpp) | 0 | ||||
-rw-r--r-- | llvm/examples/Kaleidoscope/Makefile | 8 |
5 files changed, 25 insertions, 9 deletions
diff --git a/llvm/examples/Kaleidoscope/CMakeLists.txt b/llvm/examples/Kaleidoscope/CMakeLists.txt index af32fbfc512..b7c0ae2a5a8 100644 --- a/llvm/examples/Kaleidoscope/CMakeLists.txt +++ b/llvm/examples/Kaleidoscope/CMakeLists.txt @@ -1,5 +1 @@ -set(LLVM_LINK_COMPONENTS core jit interpreter native) - -add_llvm_example(Kaleidoscope - toy.cpp - ) +add_subdirectory(Chapter7) diff --git a/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt new file mode 100644 index 00000000000..9b8227c6934 --- /dev/null +++ b/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt @@ -0,0 +1,5 @@ +set(LLVM_LINK_COMPONENTS core jit interpreter native) + +add_llvm_example(Kaleidoscope-Ch7 + toy.cpp + ) diff --git a/llvm/examples/Kaleidoscope/Chapter7/Makefile b/llvm/examples/Kaleidoscope/Chapter7/Makefile new file mode 100644 index 00000000000..905bec3e5e0 --- /dev/null +++ b/llvm/examples/Kaleidoscope/Chapter7/Makefile @@ -0,0 +1,15 @@ +##===- examples/Kaleidoscope-Ch7/Makefile ------------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## +LEVEL = ../.. +TOOLNAME = Kaleidoscope-Ch7 +EXAMPLE_TOOL = 1 + +LINK_COMPONENTS := core jit interpreter native + +include $(LEVEL)/Makefile.common diff --git a/llvm/examples/Kaleidoscope/toy.cpp b/llvm/examples/Kaleidoscope/Chapter7/toy.cpp index 8b0c321c06c..8b0c321c06c 100644 --- a/llvm/examples/Kaleidoscope/toy.cpp +++ b/llvm/examples/Kaleidoscope/Chapter7/toy.cpp diff --git a/llvm/examples/Kaleidoscope/Makefile b/llvm/examples/Kaleidoscope/Makefile index 9990b2b2871..13a77599a25 100644 --- a/llvm/examples/Kaleidoscope/Makefile +++ b/llvm/examples/Kaleidoscope/Makefile @@ -6,10 +6,10 @@ # License. See LICENSE.TXT for details. # ##===----------------------------------------------------------------------===## -LEVEL = ../.. -TOOLNAME = Kaleidoscope -EXAMPLE_TOOL = 1 +LEVEL=../.. -LINK_COMPONENTS := core jit interpreter native +include $(LEVEL)/Makefile.config + +PARALLEL_DIRS:= Chapter7 include $(LEVEL)/Makefile.common |