llvm.org GIT mirror llvm / b756c79
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28609 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 13 years ago
2 changed file(s) with 8 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
200200 # When ENABLE_DOXYGEN is enabled, the doxygen documentation will be built
201201 ENABLE_DOXYGEN = @ENABLE_DOXYGEN@
202202
203 # Do we want to enable threads?
204 ENABLE_THREADS := @ENABLE_THREADS@
205
203206 # This option tells the Makefiles to produce verbose output.
204207 # It essentially prints the commands that make is executing
205208 #VERBOSE = 1
99
1010 include $(LEVEL)/Makefile.config
1111
12 #PARALLEL_DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
13 PARALLEL_DIRS:= ParallelJIT Fibonacci HowToUseJIT ModuleMaker BFtoLLVM
12 PARALLEL_DIRS:= Fibonacci HowToUseJIT ModuleMaker BFtoLLVM
13
14 ifeq ($(ENABLE_THREADS),1)
15 PARALLEL_DIRS += ParallelJIT
16 endif
1417
1518 include $(LEVEL)/Makefile.common