Perform optional clang building.

llvm-svn: 62895
This commit is contained in:
Mike Stump 2009-01-24 00:00:41 +00:00
parent 71394045e4
commit 82221d62a9
2 changed files with 11 additions and 0 deletions

View File

@ -612,6 +612,13 @@ $(RecursiveTargets)::
done done
endif endif
#-----------------------------------------------------------
# Handle the OPTIONAL_PARALLEL_DIRS options for optional parallel construction
#-----------------------------------------------------------
ifdef OPTIONAL_PARALLEL_DIRS
PARALLEL_DIRS += $(foreach T,$(OPTIONAL_PARALLEL_DIRS),$(shell test -d $(PROJ_SRC_DIR)/$(T) && echo "$(T)"))
endif
#----------------------------------------------------------- #-----------------------------------------------------------
# Handle the PARALLEL_DIRS options for parallel construction # Handle the PARALLEL_DIRS options for parallel construction
#----------------------------------------------------------- #-----------------------------------------------------------

View File

@ -8,6 +8,10 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL := .. LEVEL := ..
# Build clang if present.
OPTIONAL_PARALLEL_DIRS := clang
# NOTE: The tools are organized into five groups of four consisting of one # NOTE: The tools are organized into five groups of four consisting of one
# large and three small executables. This is done to minimize memory load # large and three small executables. This is done to minimize memory load
# in parallel builds. Please retain this ordering. # in parallel builds. Please retain this ordering.