Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: third_party/binutils/build-all.sh

Issue 596853002: [Gold] Fix race condition on parallel link (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/binutils/README.chromium ('k') | third_party/binutils/ehframe.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # Script to build binutils for both i386 and AMD64 Linux architectures. 6 # Script to build binutils for both i386 and AMD64 Linux architectures.
7 # Must be run on an AMD64 supporting machine which has debootstrap and sudo 7 # Must be run on an AMD64 supporting machine which has debootstrap and sudo
8 # installed. 8 # installed.
9 # Uses Ubuntu Lucid chroots as build environment. 9 # Uses Ubuntu Lucid chroots as build environment.
10 10
(...skipping 25 matching lines...) Expand all
36 fi 36 fi
37 37
38 38
39 if [ ! -d binutils-$VERSION ]; then 39 if [ ! -d binutils-$VERSION ]; then
40 # Extract the source 40 # Extract the source
41 tar jxf binutils-$VERSION.tar.bz2 41 tar jxf binutils-$VERSION.tar.bz2
42 42
43 # Patch the source 43 # Patch the source
44 ( 44 (
45 cd binutils-$VERSION 45 cd binutils-$VERSION
46 patch -p1 < ../ehframe.patch 46 patch -p1 < ../ehframe-race.patch
47 ) 47 )
48 fi 48 fi
49 49
50 for ARCH in i386 amd64; do 50 for ARCH in i386 amd64; do
51 if [ ! -d lucid-chroot-$ARCH ]; then 51 if [ ! -d lucid-chroot-$ARCH ]; then
52 # Refresh sudo credentials 52 # Refresh sudo credentials
53 sudo -v 53 sudo -v
54 54
55 # Create the chroot 55 # Create the chroot
56 echo "" 56 echo ""
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 # Clean up chroot 109 # Clean up chroot
110 sudo rm -rf "$BUILDDIR" 110 sudo rm -rf "$BUILDDIR"
111 done 111 done
112 112
113 echo "Check you are happy with the binaries in" 113 echo "Check you are happy with the binaries in"
114 echo " $OUTPUTDIR" 114 echo " $OUTPUTDIR"
115 echo "Then" 115 echo "Then"
116 echo " * upload to Google Storage using the upload.sh script" 116 echo " * upload to Google Storage using the upload.sh script"
117 echo " * roll dependencies" 117 echo " * roll dependencies"
OLDNEW
« no previous file with comments | « third_party/binutils/README.chromium ('k') | third_party/binutils/ehframe.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698