Commit 1940f717 authored by Rich Prohaska's avatar Rich Prohaska

build 5.5 and 5.6 in the same build directory

parent 12e3e629
...@@ -97,10 +97,11 @@ fi ...@@ -97,10 +97,11 @@ fi
# download all the mysql source # download all the mysql source
if [ ! -d $mysql_distro ] ; then if [ ! -d $mysql_distro ] ; then
github_download Tokutek/$mysql_repo $(git_tree $git_tag $mysql_tree) $mysql_distro github_download Tokutek/$mysql_repo $(git_tree $git_tag $mysql_tree) $mysql_distro-$mysql_version
fi fi
cd $mysql_distro cd $mysql_distro-$mysql_version
if [ $? != 0 ] ; then exit 1; fi
# install the backup source # install the backup source
if [ ! -d toku_backup ] ; then if [ ! -d toku_backup ] ; then
...@@ -128,7 +129,9 @@ if [ ! -d storage/tokudb/ft-index ] ; then ...@@ -128,7 +129,9 @@ if [ ! -d storage/tokudb/ft-index ] ; then
github_download Tokutek/ft-index $(git_tree $git_tag $ftindex_tree) storage/tokudb/ft-index github_download Tokutek/ft-index $(git_tree $git_tag $ftindex_tree) storage/tokudb/ft-index
fi fi
if [ ! -d storage/tokudb/ft-index/third_party/jemalloc ] ; then if [[ $mysql_distro =~ ^mariadb ]] ; then
github_download Tokutek/jemalloc $(git_tree $git_tag $jemalloc_tree) extra/jemalloc
elif [ ! -d storage/tokudb/ft-index/third_party/jemalloc ] ; then
github_download Tokutek/jemalloc $(git_tree $git_tag $jemalloc_tree) storage/tokudb/ft-index/third_party/jemalloc github_download Tokutek/jemalloc $(git_tree $git_tag $jemalloc_tree) storage/tokudb/ft-index/third_party/jemalloc
fi fi
......
...@@ -12,7 +12,7 @@ function copy_to_s3() { ...@@ -12,7 +12,7 @@ function copy_to_s3() {
local ts=$(date +%s) local ts=$(date +%s)
local ymd=$(date +%Y%m%d -d @$ts) local ymd=$(date +%Y%m%d -d @$ts)
local exitcode=0; local r=0 local exitcode=0; local r=0
for f in $(find . -maxdepth 1 \( -name $mysql_distro'*.tar.gz*' -o -name $mysql_distro'*.rpm*' \) ) ; do for f in $(find . -maxdepth 1 \( -name $mysql_distro-$mysql_version'*.tar.gz*' -o -name $mysql_distro-$mysql_version'*.rpm*' \) ) ; do
f=$(basename $f) f=$(basename $f)
echo `date` s3put $s3_build_bucket $f echo `date` s3put $s3_build_bucket $f
s3put $s3_build_bucket $f $f s3put $s3_build_bucket $f $f
...@@ -30,7 +30,7 @@ function copy_to_s3() { ...@@ -30,7 +30,7 @@ function copy_to_s3() {
if [ $r != 0 ] ; then if [ $r != 0 ] ; then
exitcode=1 exitcode=1
else else
for f in $(find . -maxdepth 1 \( -name $mysql_distro'*.tar.gz*' -o -name $mysql_distro'*.rpm*' \) ) ; do for f in $(find . -maxdepth 1 \( -name $mysql_distro-$mysql_version'*.tar.gz*' -o -name $mysql_distro-$mysql_version'*.rpm*' \) ) ; do
f=$(basename $f) f=$(basename $f)
echo `date` s3copykey $git_tag $f echo `date` s3copykey $git_tag $f
s3copykey $git_tag $f $s3_build_bucket $f s3copykey $git_tag $f $s3_build_bucket $f
...@@ -85,7 +85,7 @@ bash -x $HOME/github/ft-engine/scripts/make.mysql.bash $make_args ...@@ -85,7 +85,7 @@ bash -x $HOME/github/ft-engine/scripts/make.mysql.bash $make_args
if [ $? != 0 ] ; then exitcode=1; fi if [ $? != 0 ] ; then exitcode=1; fi
# generate md5 sums # generate md5 sums
for f in $(find $mysql_distro/build.* -maxdepth 1 \( -name '*.tar.gz' -o -name '*.rpm' \) ) ; do for f in $(find $mysql_distro-$mysql_version/build.* -maxdepth 1 \( -name '*.tar.gz' -o -name '*.rpm' \) ) ; do
newf=$(basename $f) newf=$(basename $f)
ln $f $newf ln $f $newf
if [ $? != 0 ] ; then exitcode=1; fi if [ $? != 0 ] ; then exitcode=1; fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment