Skip to content

Commit f4c589f

Browse files
Import changeset
1 parent 7eec25e commit f4c589f

File tree

2,375 files changed

+454571
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,375 files changed

+454571
-0
lines changed

Diff for: .cvsignore

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
.snprj
2+
COPYING
3+
COPYING.LIB
4+
INSTALL-SOURCE
5+
INSTALL-SOURCE-GENERIC
6+
Logs
7+
MIRRORS
8+
Makefile
9+
Makefile.in
10+
NEW-RPMS
11+
PUBLIC
12+
Projects
13+
TODO
14+
WIN-LICENSE
15+
aclocal.m4
16+
binary
17+
compile
18+
confdefs.h
19+
config.cache
20+
config.h
21+
config.log
22+
config.status
23+
configure
24+
configure.in-removed
25+
conftest.c
26+
conftest.s1
27+
conftest.s2
28+
conftest.subs
29+
internal-docs
30+
libtool
31+
linked_client_sources
32+
linked_server_sources
33+
mysql-copyright-120700-194832
34+
mysql-copyright-120700-221248
35+
skr
36+
stamp-h
37+
tmp

Diff for: BUILD/.cvsignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
compile-pentium-test

Diff for: BUILD/compile-alpha

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
make -k clean
2+
/bin/rm -f */.deps/*.P */*.o
3+
/bin/rm -f config.cache
4+
aclocal; autoheader; aclocal; automake; autoconf
5+
6+
CFLAGS="-O6 -fomit-frame-pointer -mcpu=ev6 -Wa,-mev6" CXX=gcc CXXFLAGS="-O6 -mcpu=ev6 -Wa,-mev6 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --disable-shared --with-extra-charsets=complex
7+
make

Diff for: BUILD/compile-alpha-ccc

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/bin/rm -f */.deps/*.P */*.o
2+
make -k clean
3+
/bin/rm -f */.deps/*.P */*.o
4+
/bin/rm -f config.cache mysql-*.tar.gz
5+
aclocal; autoheader; aclocal; automake; autoconf
6+
7+
CC=ccc CFLAGS="-fast -O3 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O6 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -mcpu=ev6 -Wa,-mev6" CXXLDFLAGS='/usr/lib/compaq/libots-2.2.7/libots.so /usr/lib/compaq/cpml-5.0.0/libcpml_ev6.a' ./configure --prefix=/usr/local/mysql --disable-shared --with-extra-charsets=complex
8+
make
9+
if [ $? = 0 ]
10+
then
11+
rm */.deps/*
12+
bin/mysqladmin shutdown
13+
make install
14+
if [ $? = 0 ]
15+
then
16+
scripts/make_binary_distribution
17+
fi
18+
fi
19+
20+
exit
21+
22+
# This should give better performance by compiling many files at once, but
23+
# according to our benchmarks there isn't any real difference.
24+
25+
pwd=`pwd`
26+
for i in */make-ccc
27+
do
28+
cd `dirname $i`
29+
make-ccc
30+
cd $pwd
31+
done
32+
cd sql
33+
rm mysqld .deps/*.P
34+
make mysqld
35+
cd $pwd

Diff for: BUILD/compile-alpha-debug

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
make -k clean
2+
/bin/rm -f */.deps/*.P
3+
/bin/rm -f config.cache
4+
aclocal; autoheader; aclocal; automake; autoconf
5+
6+
CFLAGS=-O6 CXX=gcc CXXFLAGS="-O6 -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --with-debug
7+
make

Diff for: BUILD/compile-ia64-O0

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
make -k clean
2+
/bin/rm -f */.deps/*.P config.cache
3+
4+
aclocal; autoheader; aclocal; automake; autoconf
5+
6+
CFLAGS="-O0 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O0 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex
7+
make
8+
strip sql/mysqld
9+
10+
11+
12+

Diff for: BUILD/compile-ia64-O0-sgicc

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
make -k clean
2+
/bin/rm -f */.deps/*.P config.cache
3+
4+
aclocal; autoheader; aclocal; automake; autoconf
5+
6+
CC=sgicc CFLAGS="-O0" CXX=sgicc CXXFLAGS="-O0" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex
7+
make
8+
strip sql/mysqld
9+
10+
11+
12+

Diff for: BUILD/compile-ia64-O2

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
make -k clean
2+
/bin/rm -f */.deps/*.P config.cache
3+
4+
aclocal; autoheader; aclocal; automake; autoconf
5+
6+
CFLAGS="-O2 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O2 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex
7+
make
8+
strip sql/mysqld
9+
10+
11+
12+

Diff for: BUILD/compile-ia64-O2-sgicc

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
make -k clean
2+
/bin/rm -f */.deps/*.P config.cache
3+
4+
aclocal; autoheader; aclocal; automake; autoconf
5+
6+
CC=sgicc CFLAGS="-O2" CXX=sgicc CXXFLAGS="-O2" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex
7+
make
8+
strip sql/mysqld
9+
10+
11+
12+

Diff for: BUILD/compile-ia64-O6

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
make -k clean
2+
/bin/rm -f */.deps/*.P config.cache
3+
4+
aclocal; autoheader; aclocal; automake; autoconf
5+
6+
CFLAGS="-O6 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O6 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex
7+
make
8+
strip sql/mysqld

Diff for: BUILD/compile-pentium

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
make -k clean
2+
/bin/rm -f */.deps/*.P config.cache
3+
4+
aclocal; autoheader; aclocal; automake; autoconf
5+
6+
CFLAGS="-O6 -mpentiumpro -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O6 -mpentiumpro -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex
7+
make
8+
strip sql/mysqld

Diff for: BUILD/compile-pentium-debug

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
make -k clean
2+
/bin/rm -f */.deps/*.P config.cache
3+
4+
aclocal; autoheader; aclocal; automake; autoconf
5+
6+
# If you are not using codefusion add "-Wpointer-arith" to WARNINGS
7+
# The following warning flag will give too many warnings:
8+
# -Wshadow -Wunused -Winline (The later isn't usable in C++ as
9+
# __attribute()__ doesn't work with gnu C++)
10+
11+
GLOBAL_WARNINGS="-Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wuninitialized -Wformat -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare -Wwrite-strings"
12+
C_WARNINGS="$GLOBAL_WARNINGS -Wunused"
13+
CC_WARNINGS="$GLOBAL_WARNINGS -Woverloaded-virtual -Wextern-inline -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor"
14+
15+
CFLAGS="-DFORCE_INIT_OF_VARS -O2 -mpentiumpro $C_WARNINGS" CXX=gcc \
16+
CXXFLAGS="-DFORCE_INIT_OF_VARS -O2 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti $CC_WARNINGS" \
17+
./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex --with-debug=full
18+
--with-berkeley-db=/usr/local/BerkeleyDB
19+
make

Diff for: BUILD/compile-pentium-gcov

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
make -k clean
2+
/bin/rm -f */.deps/*.P config.cache
3+
4+
aclocal; autoheader; aclocal; automake; autoconf
5+
6+
# If you are not using codefusion add "-Wpointer-arith" to WARNINGS
7+
# The following warning flag will give too many warnings:
8+
# -Wshadow -Wunused (The later isn't usable in C++ as
9+
# __attribute()__ doesn't work with gnu C++)
10+
11+
GLOBAL_WARNINGS="-Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wuninitialized -Wformat -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare -Wwrite-strings"
12+
C_WARNINGS="$GLOBAL_WARNINGS -Wunused"
13+
CC_WARNINGS="$GLOBAL_WARNINGS -Woverloaded-virtual -Wextern-inline -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor"
14+
15+
CFLAGS="-O2 -mpentiumpro -fprofile-arcs -ftest-coverage $C_WARNINGS" CXX=gcc CXXFLAGS="-O2 -mpentiumpro -fprofile-arcs -ftest-coverage -felide-constructors -fno-exceptions -fno-rtti $CC_WARNINGS" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex --with-debug=full
16+
make

Diff for: BUILD/compile-pentium-myodbc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
make -k clean
2+
/bin/rm -f */.deps/*.P config.cache
3+
4+
aclocal; autoheader; aclocal; automake; autoconf
5+
6+
CFLAGS="-O6 -mpentiumpro -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O6 -mpentiumpro -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --with-extra-charsets=complex --without-server

Diff for: BUILD/compile-solaris-sparc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
gmake -k clean
2+
/bin/rm -f */.deps/*.P */*.o
3+
/bin/rm -f config.cache
4+
aclocal; autoheader; aclocal; automake; autoconf
5+
6+
CFLAGS="-O6 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O6 -fomit-frame-pointer -f
7+
elide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/m
8+
ysql --with-extra-charsets=complex
9+
gmake

Diff for: BUILD/compile-solaris-sparc-purify

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
gmake -k clean
2+
/bin/rm -f */.deps/*.P */*.o
3+
/bin/rm -f config.cache
4+
aclocal; autoheader; aclocal; automake; autoconf
5+
6+
GLOBAL_WARNINGS="-Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wuninitialized -Wformat -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare -Wwrite-strings"
7+
C_WARNINGS="$GLOBAL_WARNINGS -Wunused"
8+
CC_WARNINGS="$GLOBAL_WARNINGS -Woverloaded-virtual -Wextern-inline -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor"
9+
10+
CFLAGS="-DHAVE_PURIFY -O2 $C_WARNINGS" CXX=gcc \
11+
CXXFLAGS="-DHAVE_PURIFY -O2 -felide-constructors -fno-exceptions -fno-rtti $CC_WARNINGS" \
12+
./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-debug=full
13+
gmake

Diff for: BUILD/test-alpha-ccc

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
cd /usr/local/mysql
2+
bin/mysqladmin shutdown
3+
libexec/mysqld --basedir . &
4+
cd sql-bench
5+
rm output/*
6+
perl run-all-tests --comment "Alpha DS20 2x500 MHz, 2G memory, key_buffer=16M; egcs 1.1.2 + ccc" --user=monty --password="ds20-gryta"
7+
perl run-all-tests --comment "Alpha DS20 2x500 MHz, 2G memory, key_buffer=16M; egcs 1.1.2 + ccc" --user=monty --password="ds20-gryta" --log --use-old
8+
mv output/* output-ccc
9+
perl run-all-tests --comment "Alpha DS20 2x500 MHz, 2G memory, key_buffer=16M; egcs 1.1.2 + ccc" --user=monty --password="ds20-gryta" --fast
10+
perl run-all-tests --comment "Alpha DS20 2x500 MHz, 2G memory, key_buffer=16M; egcs 1.1.2 + ccc" --user=monty --password="ds20-gryta" --log --use-old --fast
11+
mv output/* output-ccc

Diff for: Build-tools/Do-all-build-steps

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
#!/bin/bash
2+
3+
WD=`pwd`
4+
TMP_SCRIPT=$WD/Logs/00-temp-for-do-all-build-steps.$$
5+
6+
# We build on work
7+
to_host=`hostname`
8+
cc=gcc
9+
ccc=gcc
10+
EXTRA_CONFIG="--without-perl"
11+
12+
echo "Building on $to_host"
13+
14+
cat > $TMP_SCRIPT <<END
15+
# Show executed commands
16+
set -x
17+
# Move to the right place
18+
cd "$WD"
19+
20+
CC=$cc CXX=$ccc
21+
export CC CXX
22+
23+
gmake -k distclean
24+
rm -f NEW-RPMS/*
25+
26+
# Stop on error
27+
set -e
28+
29+
# Make everything readable for user and group
30+
# chmod -R u+rw,g+rw .
31+
32+
/bin/rm -f */.deps/*.P
33+
/bin/rm -f config.cache
34+
35+
aclocal; autoheader; aclocal; automake; autoconf
36+
37+
# Since we have moved the configure.in stuff from readline to the
38+
# toplevel why do this? David 990630
39+
# (cd readline; aclocal; autoheader; aclocal; automake; autoconf)
40+
41+
# A normal user starts here. We must use mit-threads. Otherwise it
42+
# does not end up in the distribution.
43+
./configure \
44+
--with-unix-socket-path=/var/tmp/mysql.sock \
45+
--with-low-memory \
46+
--with-mit-threads=yes $EXTRA_CONFIG
47+
48+
gmake # --jobs=4 does not work.
49+
50+
time gmake distcheck \
51+
EXTRA_CONF_ARGS="--with-unix-socket-path=/var/tmp/mysql.sock --with-low-memory $EXTRA_CONFIG"
52+
53+
$WD/Build-tools/Do-rpm
54+
55+
rm -f $TMP_SCRIPT
56+
END
57+
58+
mkdir -p $WD/Logs
59+
log=$WD/Logs/Log-distcheck-`date +%y%m%d-%H%M`
60+
61+
if test $to_host = "mysql-work"
62+
then
63+
# Try to get the right user for MySQL builds on work so that all
64+
# files is owned by the same user (mysql)
65+
ssh -n $to_host -l my "time bash $TMP_SCRIPT" > $log 2>&1
66+
else
67+
time bash $TMP_SCRIPT > $log 2>&1
68+
fi
69+
70+
# Create a commercial MySQL distribution (mysqlcom-VER.tar.gz) from
71+
# the newly made source distribution
72+
73+
DIST=`ls -t mysql-*.tar.gz | head -1`
74+
$WD/Build-tools/mysql-copyright --target=. $DIST

0 commit comments

Comments
 (0)