diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-07-12 21:51:33 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-07-12 21:51:33 +0000 |
commit | e8cdc8b3a372015728bfbe494e4a8949fb66f6a6 (patch) | |
tree | 19da166abab7a77736d6c8b85c672780bc865e35 /examples/ParallelJIT/Makefile | |
parent | d3a490a08e8aa43280198ef0003c334d2c357545 (diff) | |
download | external_llvm-e8cdc8b3a372015728bfbe494e4a8949fb66f6a6.zip external_llvm-e8cdc8b3a372015728bfbe494e4a8949fb66f6a6.tar.gz external_llvm-e8cdc8b3a372015728bfbe494e4a8949fb66f6a6.tar.bz2 |
For PR418:
Add an example program that utilizes multiple threads in the JIT to process
work. This was used by Evan Jones as the original test case for ensuring
that the ExecutionEngine was thread safe.
Original source by Evan Jones (adapted from other LLVM JIT examples) and
made LLVM style compliant by Reid Spencer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22411 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/ParallelJIT/Makefile')
-rw-r--r-- | examples/ParallelJIT/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/ParallelJIT/Makefile b/examples/ParallelJIT/Makefile new file mode 100644 index 0000000..1001166 --- /dev/null +++ b/examples/ParallelJIT/Makefile @@ -0,0 +1,16 @@ +##===- examples/HowToUseJIT/Makefile -----------------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Valery A. Khamenya and is distributed under +# the University of Illinois Open Source License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## +LEVEL = ../.. +TOOLNAME = ParallelJIT +EXAMPLE_TOOL = 1 + +# Enable JIT support +LLVMLIBS := JIT + +include $(LEVEL)/Makefile.common |