[Lldb-commits] [lldb] r219660 - Use PARALLEL_DIRS instead of DIRS in the Makefile

Eric Christopher echristo at gmail.com
Mon Oct 13 23:26:33 PDT 2014


Author: echristo
Date: Tue Oct 14 01:26:33 2014
New Revision: 219660

URL: http://llvm.org/viewvc/llvm-project?rev=219660&view=rev
Log:
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.

Modified:
    lldb/trunk/source/Makefile
    lldb/trunk/source/Plugins/Makefile
    lldb/trunk/source/Plugins/Platform/Makefile

Modified: lldb/trunk/source/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Makefile?rev=219660&r1=219659&r2=219660&view=diff
==============================================================================
--- lldb/trunk/source/Makefile (original)
+++ lldb/trunk/source/Makefile Tue Oct 14 01:26:33 2014
@@ -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
 

Modified: lldb/trunk/source/Plugins/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Makefile?rev=219660&r1=219659&r2=219660&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Makefile (original)
+++ lldb/trunk/source/Plugins/Makefile Tue Oct 14 01:26:33 2014
@@ -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
 	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

Modified: lldb/trunk/source/Plugins/Platform/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/Makefile?rev=219660&r1=219659&r2=219660&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/Makefile (original)
+++ lldb/trunk/source/Plugins/Platform/Makefile Tue Oct 14 01:26:33 2014
@@ -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





More information about the lldb-commits mailing list