summaryrefslogtreecommitdiff
path: root/Build-tools/Do-all-build-steps
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-04-13 19:05:31 +0200
committerunknown <lenz@mysql.com>2005-04-13 19:05:31 +0200
commite621d27c77987aff36758a4923b98d0db187d85e (patch)
tree2ee3684cbc9ad673ca24d563fb6468347e23caf1 /Build-tools/Do-all-build-steps
parent7a2a7de28be35e04ac5ee2f01c96d91a353ae3bf (diff)
downloadmariadb-git-e621d27c77987aff36758a4923b98d0db187d85e.tar.gz
- Cleanup: removed obsolete build tools (build toolchain is now maintained sepearately)
BitKeeper/deleted/.del-Bootstrap~bfc426bd800ccc3a: Delete: Build-tools/Bootstrap BitKeeper/deleted/.del-Do-pkg~5079e47cde0baad8: Delete: Build-tools/Do-pkg BitKeeper/deleted/.del-logger.pm~9234101b5b668373: Delete: Build-tools/logger.pm BitKeeper/deleted/.del-Do-rpm~c0ef3ebafbf53117: Delete: Build-tools/Do-rpm BitKeeper/deleted/.del-cvs-sanity-check~a3c58acf37f27cee: Delete: Build-tools/cvs-sanity-check BitKeeper/deleted/.del-Do-all-build-steps~bb7d38f34728ac06: Delete: Build-tools/Do-all-build-steps BitKeeper/deleted/.del-Do-local-patch-file~b86e1bfa3b7c13d3: Delete: Build-tools/Do-local-patch-file BitKeeper/deleted/.del-Do-linux-build~b3b941454648a285: Delete: Build-tools/Do-linux-build BitKeeper/deleted/.del-Do-patch-file~a2e87df5f75fd496: Delete: Build-tools/Do-patch-file BitKeeper/deleted/.del-newest~2dd91db13f2ea308: Delete: Build-tools/newest BitKeeper/deleted/.del-Do-create-perl-rpms~1f946e7d8560b3d0: Delete: Build-tools/Do-create-perl-rpms BitKeeper/deleted/.del-Do-win-build~cb5c5e1df8b3de6: Delete: Build-tools/Do-win-build BitKeeper/deleted/.del-my_md5sum~4680250631e4fd9: Delete: Build-tools/my_md5sum BitKeeper/deleted/.del-Do-compile~d1a6d7e535befea3: Delete: Build-tools/Do-compile BitKeeper/deleted/.del-mysql-copyright~56fc330ae63cfe03: Delete: Build-tools/mysql-copyright BitKeeper/deleted/.del-mysql-copyright-2~e73ec01547206fec: Delete: Build-tools/mysql-copyright-2
Diffstat (limited to 'Build-tools/Do-all-build-steps')
-rwxr-xr-xBuild-tools/Do-all-build-steps108
1 files changed, 0 insertions, 108 deletions
diff --git a/Build-tools/Do-all-build-steps b/Build-tools/Do-all-build-steps
deleted file mode 100755
index 8ff8851aecd..00000000000
--- a/Build-tools/Do-all-build-steps
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-
-WD=`pwd`
-# Don't write a wrong path for BD !!!!!
-if [ -w /my/tmp ]
-then
- BD=/my/tmp/BUILD
-elif [ -n "$TMPDIR" ]
-then
- BD=$TMPDIR/BUILD
-else
- BD=/tmp/BUILD
-fi
-TMP_SCRIPT=$WD/Logs/00-temp-for-do-all-build-steps.$$
-
-# We build on work
-to_host=`hostname`
-cc=gcc
-ccc=gcc
-EXTRA_CONFIG="--without-perl"
-#AM_MAKEFLAGS="-j 2"
-echo "Building on $to_host"
-
-rm -rf $BD/*
-rm -f $WD/binary/*
-mkdir -p $WD/binary
-mkdir -p $WD/Logs
-mkdir -p $BD/Logs
-
-cat > $TMP_SCRIPT <<END
-# Show executed commands
-set -x
-# Move to the right place
-cd "$WD"
-# Create a build directory tree
-bk export $BD
-cd "$BD"
-chmod -R u+rw,g+rw .
-
-# Make it easy to remove an old build
-umask 002
-
-CC=$cc CXX=$ccc
-export CC CXX
-
-gmake -j 2 -k distclean
-rm -f NEW-RPMS/*
-
-# Stop on error
-set -e
-
-/bin/rm -f */.deps/*.P
-/bin/rm -f config.cache
-
-aclocal; autoheader; aclocal; automake; autoconf
-(cd bdb/dist && sh s_all)
-(cd innobase && aclocal && autoheader && aclocal && automake && autoconf)
-
-# A normal user starts here. We must use mit-threads, bdb and innodb.
-# Otherwise they do not end up in the distribution.
-./configure \
- --with-unix-socket-path=/var/tmp/mysql.sock \
- --with-low-memory \
- --with-mit-threads=yes $EXTRA_CONFIG \
- --enable-thread-safe-client \
- --enable-local-infile \
- --with-berkeley-db \
- --with-innodb \
- --with-vio \
- --without-pstack \
- --with-extra-tools \
- --with-embedded-server
-
-gmake -j 2
-
-time gmake -j 2 distcheck \
- EXTRA_CONF_ARGS="--with-unix-socket-path=/var/tmp/mysql.sock --with-low-memory $EXTRA_CONFIG"
-
-sh $BD/Build-tools/Do-rpm $*
-
-rm -f $TMP_SCRIPT
-END
-
-set -e
-
-log=$WD/Logs/Log-distcheck-`date +%y%m%d-%H%M`
-
-echo "Logging script $TMP_SCRIPT into $log"
-
-if test $to_host = "mysql-work"
-then
- # Try to get the right user for MySQL builds on work so that all
- # files is owned by the same user (mysql)
- ssh -n $to_host -l my "time sh $TMP_SCRIPT" > $log 2>&1
-else
- time sh $TMP_SCRIPT > $log 2>&1
-fi
-
-# Create a commercial MySQL distribution (mysqlcom-VER.tar.gz) from
-# the newly made source distribution
-
-cd "$BD"
-DIST=`ls -t mysql-*.tar.gz | head -1`
-$BD/Build-tools/mysql-copyright --target=. $DIST
-
-# move the binaries to the 'binary' directory
-mv $BD/mysql*tar.gz $WD/binary
-mv $BD/NEW-RPMS/* $WD/binary