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

Unified Diff: tools/valgrind/build-valgrind-for-chromium.sh

Issue 159175: Use local copies of files from bug tracker (URL still in comments); avoids wg... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 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 | « no previous file | tools/valgrind/fork.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/valgrind/build-valgrind-for-chromium.sh
===================================================================
--- tools/valgrind/build-valgrind-for-chromium.sh (revision 21217)
+++ tools/valgrind/build-valgrind-for-chromium.sh (working copy)
@@ -1,4 +1,8 @@
#!/bin/sh
+# Script to build valgrind for use with chromium
+
+THISDIR=`dirname $0`
+THISDIR=`cd $THISDIR && /bin/pwd`
set -x
set -e
@@ -14,18 +18,18 @@
cd ..
# Work around bug https://bugs.kde.org/show_bug.cgi?id=162848
-# fork() not handled properly
-wget "https://bugs.kde.org/attachment.cgi?id=35150"
-patch -p0 < "attachment.cgi?id=35150"
+# "fork() not handled properly"
+#wget -O fork.patch "https://bugs.kde.org/attachment.cgi?id=35150"
+patch -p0 < "$THISDIR"/fork.patch
# Work around bug https://bugs.kde.org/show_bug.cgi?id=186796
-# long suppressions truncated
-wget "https://bugs.kde.org/attachment.cgi?id=35174"
-patch -p0 < "attachment.cgi?id=35174"
+# "long suppressions truncated"
+#wget -O longlines.patch "https://bugs.kde.org/attachment.cgi?id=35174"
+patch -p0 < "$THISDIR"/longlines.patch
sh autogen.sh
./configure --prefix=/usr/local/valgrind-20090715
-make
+make -j4
sudo make install
cd /usr
test -f bin/valgrind && sudo mv bin/valgrind bin/valgrind.orig
« no previous file with comments | « no previous file | tools/valgrind/fork.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698