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

Unified Diff: scripts/build-tsan-for-chromium.sh

Issue 3177021: Update TSan to r2386.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/valgrind/
Patch Set: '' Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « binaries/mac/bin/valgrind-tsan.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/build-tsan-for-chromium.sh
===================================================================
--- scripts/build-tsan-for-chromium.sh (revision 56518)
+++ scripts/build-tsan-for-chromium.sh (working copy)
@@ -8,7 +8,8 @@
source common.sh
if system_is_snow_leopard
then
- echo "ThreadSanitizer is not supported on Mac OS X 10.6 (Snow Leopard) yet."
+ echo "ThreadSanitizer is not supported on Mac OS X 10.6 yet." >&2
+ echo "See http://code.google.com/p/data-race-test/issues/detail?id=44" >&2
exit 1
fi
@@ -44,29 +45,16 @@
"$OUT_BIN/valgrind-tsan.sh"
}
-TSAN_REV=2200
+TSAN_REV=2386
TSAN_DIR="$THISDIR/tsan" # Directory to checkout TSan sources
rm -rf $TSAN_DIR
svn co -r "$TSAN_REV" http://data-race-test.googlecode.com/svn/trunk $TSAN_DIR
-# The separate .sh file defines Valgrind/VEX revisions.
-source "tsan/third_party/valgrind_rev.sh"
+VG_TSAN_DIR="$THISDIR/valgrind" # Directory to checkout Valgrind sources
+sh tsan/third_party/update_valgrind.sh # Fetch sources from valgrind-variant
-VG_TSAN_DIR="$THISDIR/valgrind-tsan" # Directory to checkout Valgrind sources
-checkout_and_patch_valgrind "$VALGRIND_REV" "$VEX_REV" "$VG_TSAN_DIR"
-
cd "$VG_TSAN_DIR"
-# Apply TSan-specific patches except
-# * limits
-# * guest_amd64_toIR
-# since they are already applied in common.sh.
-rm "$THISDIR"/tsan/valgrind_patches/{limits,guest_amd64_toIR}.patch
-for P in "$THISDIR"/tsan/valgrind_patches/*.patch
-do
- patch -p0 -i $P
-done
-
if [ `uname -s` == "Darwin" ]
then
if ls /opt/local/bin/ | grep "^gcc-mp-4\.4" >/dev/null
« 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