1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-04-14 06:37:33 +00:00

Add Kaleidoscope to examples/ so that it gets built regularly and we'll notice

if an API change causes it to be out of date. The code is copied out of
LangImpl7.html.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68912 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2009-04-12 20:47:23 +00:00
parent de9b4c4a7f
commit 9f85634bd2
5 changed files with 1159 additions and 1 deletions

@ -1,6 +1,7 @@
add_subdirectory(BrainF)
add_subdirectory(Fibonacci)
add_subdirectory(HowToUseJIT)
add_subdirectory(Kaleidoscope)
add_subdirectory(ModuleMaker)
include(CheckIncludeFile)

@ -0,0 +1,5 @@
set(LLVM_LINK_COMPONENTS core jit native)
add_llvm_example(Kaleidoscope
toy.cpp
)

@ -0,0 +1,15 @@
##===- examples/Kaleidoscope/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
EXAMPLE_TOOL = 1
LINK_COMPONENTS := core jit native
include $(LEVEL)/Makefile.common

File diff suppressed because it is too large Load Diff

@ -10,7 +10,7 @@ LEVEL=..
include $(LEVEL)/Makefile.config
PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT ModuleMaker
PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
ifeq ($(HAVE_PTHREAD),1)
PARALLEL_DIRS += ParallelJIT