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

Side by Side Diff: scripts/build-tsan-for-chromium.sh

Issue 2084009: Update TSan to rev2088 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/valgrind/
Patch Set: Created 10 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « binaries/mac/bin/valgrind-tsan.sh ('k') | no next file » | 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 2
3 # Copyright (c) 2009-2010 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2009-2010 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Script to build ThreadSanitizer binaries for use with chromium 7 # Script to build ThreadSanitizer binaries for use with chromium
8 source common.sh 8 source common.sh
9 9
10 POST_BUILD_HOOK_DEFINED=yes 10 POST_BUILD_HOOK_DEFINED=yes
(...skipping 19 matching lines...) Expand all
30 make -j4 $SPECIAL_FLAGS OFFLINE= PIN_ROOT= \ 30 make -j4 $SPECIAL_FLAGS OFFLINE= PIN_ROOT= \
31 VALGRIND_INST_ROOT="$BINARIES_DIR/$PLATFORM" \ 31 VALGRIND_INST_ROOT="$BINARIES_DIR/$PLATFORM" \
32 VALGRIND_ROOT="$VG_TSAN_DIR" $SPECIAL_TARGET 32 VALGRIND_ROOT="$VG_TSAN_DIR" $SPECIAL_TARGET
33 33
34 # See below for the definition of ORIG_BINARIES_DIR 34 # See below for the definition of ORIG_BINARIES_DIR
35 $THISDIR/tsan/tsan/mk-self-contained-valgrind.sh \ 35 $THISDIR/tsan/tsan/mk-self-contained-valgrind.sh \
36 "$VG_TSAN_DIR/out/$PLATFORM" "tsan" \ 36 "$VG_TSAN_DIR/out/$PLATFORM" "tsan" \
37 "$ORIG_BINARIES_DIR/$PLATFORM/bin/valgrind-tsan.sh" 37 "$ORIG_BINARIES_DIR/$PLATFORM/bin/valgrind-tsan.sh"
38 } 38 }
39 39
40 TSAN_REV=1970 40 TSAN_REV=2088
41 TSAN_DIR="$THISDIR/tsan" # Directory to checkout TSan sources 41 TSAN_DIR="$THISDIR/tsan" # Directory to checkout TSan sources
42 rm -rf $TSAN_DIR 42 rm -rf $TSAN_DIR
43 svn co -r "$TSAN_REV" http://data-race-test.googlecode.com/svn/trunk $TSAN_DIR 43 svn co -r "$TSAN_REV" http://data-race-test.googlecode.com/svn/trunk $TSAN_DIR
44 44
45 # The separate .sh file defines Valgrind/VEX revisions. 45 # The separate .sh file defines Valgrind/VEX revisions.
46 source "tsan/third_party/valgrind_rev.sh" 46 source "tsan/third_party/valgrind_rev.sh"
47 47
48 VG_TSAN_DIR="$THISDIR/valgrind-tsan" # Directory to checkout Valgrind sources 48 VG_TSAN_DIR="$THISDIR/valgrind-tsan" # Directory to checkout Valgrind sources
49 checkout_and_patch_valgrind "$VALGRIND_REV" "$VEX_REV" "$VG_TSAN_DIR" 49 checkout_and_patch_valgrind "$VALGRIND_REV" "$VEX_REV" "$VG_TSAN_DIR"
50 50
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 fi 82 fi
83 fi 83 fi
84 fi 84 fi
85 85
86 # Ugly hack! 86 # Ugly hack!
87 # We build Valrgind binaries in the $VG_TSAN_DIR/out and then pack 87 # We build Valrgind binaries in the $VG_TSAN_DIR/out and then pack
88 # them into self-contained .sh file into $ORIG_BINARIES_DIR/$PLATFORM 88 # them into self-contained .sh file into $ORIG_BINARIES_DIR/$PLATFORM
89 ORIG_BINARIES_DIR=$BINARIES_DIR 89 ORIG_BINARIES_DIR=$BINARIES_DIR
90 BINARIES_DIR="$VG_TSAN_DIR/out" 90 BINARIES_DIR="$VG_TSAN_DIR/out"
91 build_valgrind_for_available_platforms 91 build_valgrind_for_available_platforms
OLDNEW
« no previous file with comments | « binaries/mac/bin/valgrind-tsan.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698