mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
d1d07c99d7
Remove wait_if_global_read_lock on commit as this can cause deadlocks BUILD/FINISH.sh: Cleanup BUILD/SETUP.sh: Cleanup BUILD/compile-pentium-valgrind-max: Don't write message twice mysql-test/r/innodb.result: Removed failure as this can cause deadlocks mysql-test/r/rpl_max_relay_size.result: Make test repeatable mysql-test/t/innodb.test: Removed failure as this can cause deadlocks mysql-test/t/rpl_max_relay_size.test: Removed failure as this can cause deadlocks sql/handler.cc: Remove wait_if_global_read_lock as this can cause deadlocks sql/opt_range.cc: Indentation cleanup sql/sql_db.cc: Comment cleanup sql/sql_parse.cc: Comment cleanup sql/sql_repl.cc: Indentation cleanup sql/sql_select.cc: Indentation cleanup
57 lines
1.5 KiB
Bash
57 lines
1.5 KiB
Bash
cflags="$c_warnings $extra_flags"
|
|
cxxflags="$cxx_warnings $base_cxxflags $extra_flags"
|
|
extra_configs="$extra_configs $local_infile_configs"
|
|
configure="./configure $base_configs $extra_configs"
|
|
for arg
|
|
do
|
|
# Escape special characters so they don't confuse eval
|
|
configure="$configure "`echo "$arg" | \
|
|
sed -e 's,\([^a-zA-Z0-9_.=-]\),\\\\\1,g'`
|
|
done
|
|
|
|
commands="\
|
|
$make -k clean || true
|
|
/bin/rm -rf */.deps/*.P config.cache innobase/config.cache bdb/build_unix/config.cache bdb/dist/autom4te.cache autom4te.cache innobase/autom4te.cache;
|
|
|
|
aclocal || (echo \"Can't execute aclocal\" && exit 1)
|
|
autoheader || (echo \"Can't execute autoheader\" && exit 1)
|
|
aclocal || (echo \"Can't execute aclocal\" && exit 1)
|
|
automake || (echo \"Can't execute automake\" && exit 1)
|
|
autoconf || (echo \"Can't execute autoconf\" && exit 1)
|
|
(cd bdb/dist && sh s_all)
|
|
(cd innobase && aclocal && autoheader && aclocal && automake && autoconf)
|
|
if [ -d gemini ]
|
|
then
|
|
(cd gemini && aclocal && autoheader && aclocal && automake && autoconf)
|
|
fi"
|
|
|
|
if [ -z "$just_clean" ]
|
|
then
|
|
commands="$commands
|
|
CFLAGS=\"$cflags\" CXX=\"$CXX\" CXXFLAGS=\"$cxxflags\" CXXLDFLAGS=\"$CXXLDFLAGS\" \
|
|
$configure"
|
|
fi
|
|
|
|
if [ -z "$just_configure" -a -z "$just_clean" ]
|
|
then
|
|
commands="$commands
|
|
|
|
$make $AM_MAKEFLAGS"
|
|
|
|
if [ "x$strip" = "xyes" ]
|
|
then
|
|
commands="$commands
|
|
|
|
mkdir -p tmp
|
|
nm --numeric-sort sql/mysqld > tmp/mysqld.sym
|
|
objdump -d sql/mysqld > tmp/mysqld.S
|
|
strip sql/mysqld"
|
|
fi
|
|
fi
|
|
|
|
if test -z "$just_print"
|
|
then
|
|
eval "set -x; $commands"
|
|
else
|
|
echo "$commands"
|
|
fi
|