summaryrefslogtreecommitdiff
path: root/BUILD/compile-pentium-valgrind-max-no-ndb
diff options
context:
space:
mode:
authorDavi Arnaut <davi@mysql.com>2008-05-27 12:35:35 -0300
committerDavi Arnaut <davi@mysql.com>2008-05-27 12:35:35 -0300
commitf972dce2a22525fa041f7df46af222235d03a7cb (patch)
tree15f81412d00fad12ae370c9ced2bf15adbcfa217 /BUILD/compile-pentium-valgrind-max-no-ndb
parente3320457e11fdfc2ac76d75dfb7e8a88d535b97b (diff)
downloadmariadb-git-f972dce2a22525fa041f7df46af222235d03a7cb.tar.gz
Add variation of compile-pentium-valgrind-max which does not build ndb.
BUILD/compile-pentium-valgrind-max-no-ndb: Disable ndb.
Diffstat (limited to 'BUILD/compile-pentium-valgrind-max-no-ndb')
-rwxr-xr-xBUILD/compile-pentium-valgrind-max-no-ndb24
1 files changed, 24 insertions, 0 deletions
diff --git a/BUILD/compile-pentium-valgrind-max-no-ndb b/BUILD/compile-pentium-valgrind-max-no-ndb
new file mode 100755
index 00000000000..66f6ae08a7f
--- /dev/null
+++ b/BUILD/compile-pentium-valgrind-max-no-ndb
@@ -0,0 +1,24 @@
+#! /bin/sh
+
+path=`dirname $0`
+. "$path/SETUP.sh"
+
+extra_flags="$pentium_cflags $debug_cflags $valgrind_flags"
+extra_configs="$pentium_configs $debug_configs $max_no_ndb_configs"
+
+. "$path/FINISH.sh"
+
+if test -z "$just_print"
+then
+ set +v +x
+ echo "\
+******************************************************************************
+Note that by default BUILD/compile-pentium-valgrind-max calls 'configure' with
+--enable-assembler. When Valgrind detects an error involving an assembly
+function (for example an uninitialized value used as an argument of an
+assembly function), Valgrind will not print the stacktrace and 'valgrind
+--gdb-attach=yes' will not work either. If you need a stacktrace in those
+cases, you have to run BUILD/compile-pentium-valgrind-max with the
+--disable-assembler argument.
+******************************************************************************"
+fi