2000-11-17 01:41:09 +01:00
|
|
|
/bin/rm -f */.deps/*.P */*.o
|
|
|
|
make -k clean
|
|
|
|
/bin/rm -f */.deps/*.P */*.o
|
2001-11-06 23:13:29 +01:00
|
|
|
/bin/rm -f */.deps/*.P config.cache innobase/config.cache bdb/build_unix/config.cache mysql-*.tar.gz
|
2000-11-17 01:41:09 +01:00
|
|
|
aclocal; autoheader; aclocal; automake; autoconf
|
|
|
|
|
2003-01-09 10:11:06 +01:00
|
|
|
CC=ccc CFLAGS="-fast" CXX=cxx CXXFLAGS="-fast -noexceptions -nortti" ./configure --prefix=/usr/local/mysql --disable-shared --with-extra-charsets=complex --enable-thread-safe-client --with-mysqld-ldflags=-non_shared --with-client-ldflags=-non_shared --without-extra-tools --disable-dependency-tracking
|
2000-11-18 22:13:48 +01:00
|
|
|
|
2001-11-07 23:43:27 +01:00
|
|
|
make -j2
|
|
|
|
find . -name ".deps" | xargs rm -r
|
2000-11-17 01:41:09 +01:00
|
|
|
make
|
|
|
|
if [ $? = 0 ]
|
|
|
|
then
|
2001-11-07 01:30:34 +01:00
|
|
|
find . -name ".deps" | xargs rm -r
|
2000-11-17 01:41:09 +01:00
|
|
|
bin/mysqladmin shutdown
|
|
|
|
sur make install
|
|
|
|
if [ $? = 0 ]
|
|
|
|
then
|
|
|
|
scripts/make_binary_distribution
|
|
|
|
fi
|
2001-01-03 15:54:46 +01:00
|
|
|
make test
|
2000-11-17 01:41:09 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
exit
|
|
|
|
|
|
|
|
# This should give better performance by compiling many files at once, but
|
|
|
|
# according to our benchmarks there isn't any real difference.
|
|
|
|
|
|
|
|
pwd=`pwd`
|
|
|
|
for i in */make-ccc
|
|
|
|
do
|
|
|
|
cd `dirname $i`
|
|
|
|
make-ccc
|
|
|
|
cd $pwd
|
|
|
|
done
|
|
|
|
cd sql
|
|
|
|
rm mysqld .deps/*.P
|
|
|
|
make mysqld
|
|
|
|
cd $pwd
|