summaryrefslogtreecommitdiff
path: root/examples/ParallelJIT/Makefile
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-07-12 21:51:33 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-07-12 21:51:33 +0000
commite8cdc8b3a372015728bfbe494e4a8949fb66f6a6 (patch)
tree19da166abab7a77736d6c8b85c672780bc865e35 /examples/ParallelJIT/Makefile
parentd3a490a08e8aa43280198ef0003c334d2c357545 (diff)
downloadllvm-e8cdc8b3a372015728bfbe494e4a8949fb66f6a6.tar.gz
llvm-e8cdc8b3a372015728bfbe494e4a8949fb66f6a6.tar.bz2
llvm-e8cdc8b3a372015728bfbe494e4a8949fb66f6a6.tar.xz
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/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/ParallelJIT/Makefile b/examples/ParallelJIT/Makefile
new file mode 100644
index 0000000000..10011662d3
--- /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