[llvm-commits] CVS: llvm/examples/Makefile

Reid Spencer reid at x10sys.com
Wed May 31 18:09:57 PDT 2006



Changes in directory llvm/examples:

Makefile updated: 1.6 -> 1.7
---
Log message:

Support correct build:
1. Capture the ENABLE_THREADS configure variable in Makefile.config
2. Use ENABLE_THREADS to avoid building ParallelJIT if threads are not
   present.


---
Diffs of the changes:  (+5 -2)

 Makefile |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


Index: llvm/examples/Makefile
diff -u llvm/examples/Makefile:1.6 llvm/examples/Makefile:1.7
--- llvm/examples/Makefile:1.6	Tue Jul 12 16:51:34 2005
+++ llvm/examples/Makefile	Wed May 31 20:09:43 2006
@@ -10,7 +10,10 @@
 
 include $(LEVEL)/Makefile.config
 
-#PARALLEL_DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
-PARALLEL_DIRS:= ParallelJIT Fibonacci HowToUseJIT ModuleMaker BFtoLLVM
+PARALLEL_DIRS:= Fibonacci HowToUseJIT ModuleMaker BFtoLLVM
+
+ifeq ($(ENABLE_THREADS),1)
+PARALLEL_DIRS += ParallelJIT 
+endif
 
 include $(LEVEL)/Makefile.common






More information about the llvm-commits mailing list