1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

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.

llvm-svn: 28609
This commit is contained in:
Reid Spencer 2006-06-01 01:09:43 +00:00
parent 52140a0daa
commit 2ad09ed070
2 changed files with 8 additions and 2 deletions

View File

@ -201,6 +201,9 @@ OBJ_ROOT := .
# When ENABLE_DOXYGEN is enabled, the doxygen documentation will be built # When ENABLE_DOXYGEN is enabled, the doxygen documentation will be built
ENABLE_DOXYGEN = @ENABLE_DOXYGEN@ ENABLE_DOXYGEN = @ENABLE_DOXYGEN@
# Do we want to enable threads?
ENABLE_THREADS := @ENABLE_THREADS@
# This option tells the Makefiles to produce verbose output. # This option tells the Makefiles to produce verbose output.
# It essentially prints the commands that make is executing # It essentially prints the commands that make is executing
#VERBOSE = 1 #VERBOSE = 1

View File

@ -10,7 +10,10 @@ LEVEL=..
include $(LEVEL)/Makefile.config include $(LEVEL)/Makefile.config
#PARALLEL_DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile)) PARALLEL_DIRS:= Fibonacci HowToUseJIT ModuleMaker BFtoLLVM
PARALLEL_DIRS:= ParallelJIT Fibonacci HowToUseJIT ModuleMaker BFtoLLVM
ifeq ($(ENABLE_THREADS),1)
PARALLEL_DIRS += ParallelJIT
endif
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common