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
174eed92
Commit
174eed92
authored
Dec 11, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change debug build directory names
parent
29248787
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
16 deletions
+20
-16
scripts/make.mysql.debug.env.bash
scripts/make.mysql.debug.env.bash
+20
-16
No files found.
scripts/make.mysql.debug.env.bash
View file @
174eed92
...
@@ -17,10 +17,15 @@ function usage() {
...
@@ -17,10 +17,15 @@ function usage() {
}
}
function
github_clone
()
{
function
github_clone
()
{
local
repo
=
$1
;
local
tree
=
$2
local
repo
=
if
[
$#
-gt
0
]
;
then
repo
=
$1
;
shift
;
else
test
0
=
1
;
return
;
fi
local
tree
=
if
[
$#
-gt
0
]
;
then
tree
=
$1
;
shift
;
else
test
0
=
1
;
return
;
fi
local
destdir
=
if
[
$#
-gt
0
]
;
then
destdir
=
$1
;
shift
;
fi
if
[[
-z
"
$local_cache_dir
"
]]
;
then
if
[[
-z
"
$local_cache_dir
"
]]
;
then
git clone git@github.com:Tokutek/
$repo
git clone git@github.com:Tokutek/
$repo
$destdir
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
test
0
=
1
;
return
;
fi
else
else
if
((
"
$local_cache_update
"
))
;
then
if
((
"
$local_cache_update
"
))
;
then
pushd
$local_cache_dir
/
$repo
.git
pushd
$local_cache_dir
/
$repo
.git
...
@@ -28,13 +33,12 @@ function github_clone() {
...
@@ -28,13 +33,12 @@ function github_clone() {
git fetch
--all
-f
-p
-v
-t
git fetch
--all
-f
-p
-v
-t
popd
popd
fi
fi
git clone
--reference
$local_cache_dir
/
$repo
.git git@github.com:Tokutek/
$repo
git clone
--reference
$local_cache_dir
/
$repo
.git git@github.com:Tokutek/
$repo
$destdir
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
test
0
=
1
;
return
;
fi
fi
fi
pushd
$repo
if
[
-z
"
$destdir
"
]
;
then
pushd
$repo
;
else
pushd
$destdir
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
-z
"
$git_tag
"
]
;
then
if
[
-z
$git_tag
]
;
then
if
!
git branch |
grep
"
\<
$tree
\>
"
>
/dev/null
&&
git branch
-a
|
grep
"remotes/origin/
$tree
\>
"
>
/dev/null
;
then
if
!
git branch |
grep
"
\<
$tree
\>
"
>
/dev/null
&&
git branch
-a
|
grep
"remotes/origin/
$tree
\>
"
>
/dev/null
;
then
git checkout
--track
origin/
$tree
git checkout
--track
origin/
$tree
else
else
...
@@ -43,7 +47,7 @@ function github_clone() {
...
@@ -43,7 +47,7 @@ function github_clone() {
else
else
git checkout
$git_tag
git checkout
$git_tag
fi
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
test
0
=
1
;
return
;
fi
popd
popd
}
}
...
@@ -91,7 +95,7 @@ github_clone $ftindex $ftindex_tree
...
@@ -91,7 +95,7 @@ github_clone $ftindex $ftindex_tree
github_clone
$jemalloc
$jemalloc_tree
github_clone
$jemalloc
$jemalloc_tree
# checkout mysql
# checkout mysql
github_clone
$mysql
$mysql_tree
github_clone
$mysql
$mysql_tree
$mysql_tree
# checkout the community backup
# checkout the community backup
github_clone
$backup
$backup_tree
github_clone
$backup
$backup_tree
...
@@ -105,25 +109,25 @@ if [ $? != 0 ] ; then exit 1; fi
...
@@ -105,25 +109,25 @@ if [ $? != 0 ] ; then exit 1; fi
ln
-s
../../../
$ftindex
ft-index
ln
-s
../../../
$ftindex
ft-index
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
popd
popd
pushd
$mysql
/storage
pushd
$mysql
_tree
/storage
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
ln
-s
../../
$ftengine
/storage/tokudb tokudb
ln
-s
../../
$ftengine
/storage/tokudb tokudb
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
popd
popd
pushd
$mysql
pushd
$mysql
_tree
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
ln
-s
../
$backup
/backup toku_backup
ln
-s
../
$backup
/backup toku_backup
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
popd
popd
pushd
$mysql
/scripts
pushd
$mysql
_tree
/scripts
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
ln
../../
$ftengine
/scripts/tokustat.py
ln
../../
$ftengine
/scripts/tokustat.py
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
ln
../../
$ftengine
/scripts/tokufilecheck.py
ln
../../
$ftengine
/scripts/tokufilecheck.py
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
popd
popd
if
[[
$mysql
=
~ mariadb
]]
;
then
if
[[
$mysql
_tree
=
~ mariadb
]]
;
then
pushd
$mysql
/extra
pushd
$mysql
_tree
/extra
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
ln
-s
../../
$jemalloc
$jemalloc
ln
-s
../../
$jemalloc
$jemalloc
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
...
@@ -145,7 +149,7 @@ fi
...
@@ -145,7 +149,7 @@ fi
if
((
$cmake_debug_paranoid
))
;
then
if
((
$cmake_debug_paranoid
))
;
then
extra_cmake_options+
=
" -DTOKU_DEBUG_PARANOID=ON"
extra_cmake_options+
=
" -DTOKU_DEBUG_PARANOID=ON"
fi
fi
CC
=
$cc
CXX
=
$cxx
cmake
-DCMAKE_BUILD_TYPE
=
Debug
-DCMAKE_INSTALL_PREFIX
=
$install_dir
-DBUILD_TESTING
=
OFF
$extra_cmake_options
../
$mysql
CC
=
$cc
CXX
=
$cxx
cmake
-DCMAKE_BUILD_TYPE
=
Debug
-DCMAKE_INSTALL_PREFIX
=
$install_dir
-DBUILD_TESTING
=
OFF
$extra_cmake_options
../
$mysql
_tree
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
make
-j4
install
make
-j4
install
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
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