commit ab4cf5ce68df04c0a96fbd4a0b236a21dbf9e123 Author: Sukhbir Singh sukhbir@torproject.org Date: Tue Nov 11 15:04:06 2014 +0530
Ensure automatic configuration of concurrent builds --- projects/instantbird/mozconfig-linux-i686 | 3 ++- projects/instantbird/mozconfig-linux-x86_64 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/projects/instantbird/mozconfig-linux-i686 b/projects/instantbird/mozconfig-linux-i686 index c2710eb..476ff74 100644 --- a/projects/instantbird/mozconfig-linux-i686 +++ b/projects/instantbird/mozconfig-linux-i686 @@ -13,7 +13,8 @@ export ASFLAGS=-m32 export MOZ_DEBUG_SYMBOLS=1 ac_add_options --enable-debug-symbols="-gdwarf-2"
-mk_add_options MOZ_MAKE_FLAGS="-j4" +CONCURRENCY=$(( `grep processor /proc/cpuinfo | wc -l` + 2 )) +mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
ac_add_options --with-ccache ac_add_options --enable-application=im diff --git a/projects/instantbird/mozconfig-linux-x86_64 b/projects/instantbird/mozconfig-linux-x86_64 index 71782cf..f3a4c41 100644 --- a/projects/instantbird/mozconfig-linux-x86_64 +++ b/projects/instantbird/mozconfig-linux-x86_64 @@ -10,7 +10,8 @@ export CXXFLAGS="-gdwarf-2" export MOZ_DEBUG_SYMBOLS=1 ac_add_options --enable-debug-symbols="-gdwarf-2"
-mk_add_options MOZ_MAKE_FLAGS="-j4" +CONCURRENCY=$(( `grep processor /proc/cpuinfo | wc -l` + 2 )) +mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
ac_add_options --with-ccache ac_add_options --enable-application=im
tor-commits@lists.torproject.org