summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-10-14 06:26:33 +0000
committerEric Christopher <echristo@gmail.com>2014-10-14 06:26:33 +0000
commit1b9eb1a13ab8204356b34a0b1148dfa5dc3277dc (patch)
tree8d41265fce2c13cfa6ae1c1958f4427a6125279c
parent99891da71a88eb812a55574a717d0efe77052b8a (diff)
downloadbcm5719-llvm-1b9eb1a13ab8204356b34a0b1148dfa5dc3277dc.tar.gz
bcm5719-llvm-1b9eb1a13ab8204356b34a0b1148dfa5dc3277dc.zip
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
-rw-r--r--lldb/source/Makefile2
-rw-r--r--lldb/source/Plugins/Makefile38
-rw-r--r--lldb/source/Plugins/Platform/Makefile2
3 files changed, 21 insertions, 21 deletions
diff --git a/lldb/source/Makefile b/lldb/source/Makefile
index c716c480876..98076708aaf 100644
--- a/lldb/source/Makefile
+++ b/lldb/source/Makefile
@@ -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
diff --git a/lldb/source/Plugins/Makefile b/lldb/source/Plugins/Makefile
index 4302973c780..31964ee48c3 100644
--- a/lldb/source/Plugins/Makefile
+++ b/lldb/source/Plugins/Makefile
@@ -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
diff --git a/lldb/source/Plugins/Platform/Makefile b/lldb/source/Plugins/Platform/Makefile
index 6240743a1ab..1740a287dd6 100644
--- a/lldb/source/Plugins/Platform/Makefile
+++ b/lldb/source/Plugins/Platform/Makefile
@@ -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
OpenPOWER on IntegriCloud