Clear CachedFunctionInfo upon Pass::releaseMemory. Because ValueMap will abort
[llvm.git] / examples / Makefile
blob5594c05fa3a083e3e3a26e182933ee8d8e2e10d2
1 ##===- examples/Makefile -----------------------------------*- Makefile -*-===##
2 #
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7 #
8 ##===----------------------------------------------------------------------===##
9 LEVEL=..
11 include $(LEVEL)/Makefile.config
13 PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
15 ifeq ($(HAVE_PTHREAD),1)
16 PARALLEL_DIRS += ParallelJIT
17 endif
19 ifeq ($(LLVM_ON_UNIX),1)
20 ifeq ($(ARCH),x86)
21 PARALLEL_DIRS += ExceptionDemo
22 endif
23 ifeq ($(ARCH),x86_64)
24 PARALLEL_DIRS += ExceptionDemo
25 endif
26 endif
28 ifeq ($(filter $(BINDINGS_TO_BUILD),ocaml),ocaml)
29 PARALLEL_DIRS += OCaml-Kaleidoscope
30 endif
32 include $(LEVEL)/Makefile.common