Use PARALLEL_DIRS instead of DIRS in the Makefile

based build since the subdirectories all appear to
have no inter-directory dependencies. This speeds
up parallel makefile builds greatly.

llvm-svn: 219660
This commit is contained in:
Eric Christopher 2014-10-14 06:26:33 +00:00
parent 99891da71a
commit 1b9eb1a13a
3 changed files with 21 additions and 21 deletions

View File

@ -8,7 +8,7 @@
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ..
DIRS := API Breakpoint Commands Core DataFormatters Expression Host Interpreter Plugins Symbol Target Utility
PARALLEL_DIRS := API Breakpoint Commands Core DataFormatters Expression Host Interpreter Plugins Symbol Target Utility
LIBRARYNAME := lldbInitAndLog
BUILD_ARCHIVE = 1

View File

@ -12,7 +12,7 @@ LLDB_LEVEL := ../..
include $(LLDB_LEVEL)/../../Makefile.config
DIRS := ABI/MacOSX-arm ABI/MacOSX-arm64 ABI/MacOSX-i386 ABI/SysV-x86_64 \
PARALLEL_DIRS := ABI/MacOSX-arm ABI/MacOSX-arm64 ABI/MacOSX-i386 ABI/SysV-x86_64 \
ABI/SysV-hexagon \
Disassembler/llvm \
ObjectContainer/BSD-Archive ObjectFile/ELF ObjectFile/PECOFF \
@ -30,33 +30,33 @@ DIRS := ABI/MacOSX-arm ABI/MacOSX-arm64 ABI/MacOSX-i386 ABI/SysV-x86_64 \
InstrumentationRuntime/AddressSanitizer
ifeq ($(HOST_OS),Darwin)
DIRS += Process/MacOSX-Kernel
DIRS += DynamicLoader/MacOSX-DYLD DynamicLoader/Darwin-Kernel
DIRS += ObjectContainer/Universal-Mach-O ObjectFile/Mach-O
DIRS += SymbolVendor/MacOSX
#DIRS += Process/MacOSX-User
DIRS += Process/mach-core
DIRS += SystemRuntime/MacOSX
DIRS += Process/elf-core
DIRS += JITLoader/GDB
PARALLEL_DIRS += Process/MacOSX-Kernel
PARALLEL_DIRS += DynamicLoader/MacOSX-DYLD DynamicLoader/Darwin-Kernel
PARALLEL_DIRS += ObjectContainer/Universal-Mach-O ObjectFile/Mach-O
PARALLEL_DIRS += SymbolVendor/MacOSX
#PARALLEL_DIRS += Process/MacOSX-User
PARALLEL_DIRS += Process/mach-core
PARALLEL_DIRS += SystemRuntime/MacOSX
PARALLEL_DIRS += Process/elf-core
PARALLEL_DIRS += JITLoader/GDB
endif
ifeq ($(HOST_OS),Linux)
DIRS += DynamicLoader/MacOSX-DYLD
DIRS += Process/Linux Process/POSIX
DIRS += Process/elf-core
DIRS += JITLoader/GDB
PARALLEL_DIRS += DynamicLoader/MacOSX-DYLD
PARALLEL_DIRS += Process/Linux Process/POSIX
PARALLEL_DIRS += Process/elf-core
PARALLEL_DIRS += JITLoader/GDB
endif
ifeq ($(HOST_OS),MingW)
DIRS += Process/elf-core
DIRS += JITLoader/GDB
PARALLEL_DIRS += Process/elf-core
PARALLEL_DIRS += JITLoader/GDB
endif
ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD))
DIRS += Process/FreeBSD Process/POSIX
DIRS += Process/elf-core
DIRS += JITLoader/GDB
PARALLEL_DIRS += Process/FreeBSD Process/POSIX
PARALLEL_DIRS += Process/elf-core
PARALLEL_DIRS += JITLoader/GDB
endif
include $(LLDB_LEVEL)/Makefile

View File

@ -11,7 +11,7 @@ LLDB_LEVEL := ../../..
include $(LLDB_LEVEL)/../../Makefile.config
DIRS := gdb-server MacOSX Linux FreeBSD POSIX Windows Kalimba
PARALLEL_DIRS := gdb-server MacOSX Linux FreeBSD POSIX Windows Kalimba
# ifeq ($(HOST_OS),Darwin)
# DIRS += MacOSX