Rename NextPowerOfTwo to RoundUpToPowerOfTwo.
[oota-llvm.git] / examples / Makefile
index eb5dabdcb13bc9e3d0f2d61fc650a8c9fc2ea138..5594c05fa3a083e3e3a26e182933ee8d8e2e10d2 100644 (file)
@@ -16,4 +16,17 @@ ifeq ($(HAVE_PTHREAD),1)
 PARALLEL_DIRS += ParallelJIT 
 endif
 
+ifeq ($(LLVM_ON_UNIX),1)
+    ifeq ($(ARCH),x86)
+       PARALLEL_DIRS += ExceptionDemo
+    endif
+    ifeq ($(ARCH),x86_64)
+       PARALLEL_DIRS += ExceptionDemo
+    endif
+endif
+
+ifeq ($(filter $(BINDINGS_TO_BUILD),ocaml),ocaml)
+       PARALLEL_DIRS += OCaml-Kaleidoscope
+endif
+
 include $(LEVEL)/Makefile.common