Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1940f717
Commit
1940f717
authored
Dec 10, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build 5.5 and 5.6 in the same build directory
parent
12e3e629
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
scripts/make.mysql.bash
scripts/make.mysql.bash
+6
-3
scripts/tokutek.make.mysql.bash
scripts/tokutek.make.mysql.bash
+3
-3
No files found.
scripts/make.mysql.bash
View file @
1940f717
...
...
@@ -97,10 +97,11 @@ fi
# download all the mysql source
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
cd
$mysql_distro
cd
$mysql_distro
-
$mysql_version
if
[
$?
!=
0
]
;
then
exit
1
;
fi
# install the backup source
if
[
!
-d
toku_backup
]
;
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
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
fi
...
...
scripts/tokutek.make.mysql.bash
View file @
1940f717
...
...
@@ -12,7 +12,7 @@ function copy_to_s3() {
local
ts
=
$(
date
+%s
)
local
ymd
=
$(
date
+%Y%m%d
-d
@
$ts
)
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
)
echo
`
date
`
s3put
$s3_build_bucket
$f
s3put
$s3_build_bucket
$f
$f
...
...
@@ -30,7 +30,7 @@ function copy_to_s3() {
if
[
$r
!=
0
]
;
then
exitcode
=
1
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
)
echo
`
date
`
s3copykey
$git_tag
$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
if
[
$?
!=
0
]
;
then
exitcode
=
1
;
fi
# 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
)
ln
$f
$newf
if
[
$?
!=
0
]
;
then
exitcode
=
1
;
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment