[llvm-commits] [dragonegg] r104119 - /dragonegg/trunk/extras/do_self_strap

Duncan Sands baldrick at free.fr
Wed May 19 06:49:13 PDT 2010


Author: baldrick
Date: Wed May 19 08:49:13 2010
New Revision: 104119

URL: http://llvm.org/viewvc/llvm-project?rev=104119&view=rev
Log:
Installation of gcc seems to have a race.  I think what might be happening
is that the installdirs, install-host and install-target targets are being
made in parallel, but the last one assumes that the first one has finished.
Try to work around all such problems by not doing a parallel make install.  

Modified:
    dragonegg/trunk/extras/do_self_strap

Modified: dragonegg/trunk/extras/do_self_strap
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/extras/do_self_strap?rev=104119&r1=104118&r2=104119&view=diff
==============================================================================
--- dragonegg/trunk/extras/do_self_strap (original)
+++ dragonegg/trunk/extras/do_self_strap Wed May 19 08:49:13 2010
@@ -58,6 +58,7 @@
 
 COMPARE="cmp --ignore-initial=16"	# How to compare object files
 MAKE="nice -n 20 make -j -l3"		# How to run make
+MAKE_INSTALL="nice -n 20 make install"	# How to run make install
 
 
 # Turn off plugin version checking, otherwise the check may fail if all stages
@@ -147,7 +148,7 @@
 
   echo "Installing stage $STAGE GCC"
   rm -fr $GCC_INSTALL $GCC_INSTALL_BASE
-  $MAKE install
+  $MAKE_INSTALL
   if [ "$GCC_INSTALL_BASE" != "$GCC_INSTALL" ] ; then
     # Move the just built GCC to its definitive install directory.
     mv $GCC_INSTALL_BASE $GCC_INSTALL





More information about the llvm-commits mailing list