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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d6333cf5
Commit
d6333cf5
authored
Dec 03, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build debug env for mariadb-5.5.34
parent
0aa72f43
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
13 deletions
+23
-13
scripts/make.mysql.debug.env.bash
scripts/make.mysql.debug.env.bash
+23
-13
No files found.
scripts/make.mysql.debug.env.bash
View file @
d6333cf5
...
@@ -51,7 +51,7 @@ function github_clone() {
...
@@ -51,7 +51,7 @@ function github_clone() {
git_tag
=
git_tag
=
mysql
=
mysql
mysql
=
mysql
mysql_tree
=
5.5.30
mysql_tree
=
mysql-5.5.34
jemalloc
=
jemalloc
jemalloc
=
jemalloc
jemalloc_tree
=
3.3.1
jemalloc_tree
=
3.3.1
ftengine
=
ft-engine
ftengine
=
ft-engine
...
@@ -77,20 +77,20 @@ while [ $# -ne 0 ] ; do
...
@@ -77,20 +77,20 @@ while [ $# -ne 0 ] ; do
done
done
# setup environment variables
# setup environment variables
install_dir
=
$PWD
/
$mysql
-install
build_dir
=
$PWD
/build
mkdir
$build_dir
if
[
$?
!=
0
]
;
then
exit
1
;
fi
install_dir
=
$PWD
/install
mkdir
$install_dir
mkdir
$install_dir
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
# checkout the fractal tree
# checkout the fractal tree
github_clone
$ftindex
$ftindex_tree
github_clone
$ftindex
$ftindex_tree
# checkout jemalloc
github_clone
$jemalloc
$jemalloc_tree
github_clone
$jemalloc
$jemalloc_tree
pushd
$ftindex
/third_party
if
[
$?
!=
0
]
;
then
exit
1
;
fi
ln
-s
../../
$jemalloc
$jemalloc
if
[
$?
!=
0
]
;
then
exit
1
;
fi
popd
# checkout mysql
'
# checkout mysql
github_clone
$mysql
$mysql_tree
github_clone
$mysql
$mysql_tree
# checkout the community backup
# checkout the community backup
...
@@ -122,11 +122,21 @@ if [ $? != 0 ] ; then exit 1; fi
...
@@ -122,11 +122,21 @@ 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
pushd
$mysql
/extra
if
[
$?
!=
0
]
;
then
exit
1
;
fi
ln
-s
../../
$jemalloc
$jemalloc
if
[
$?
!=
0
]
;
then
exit
1
;
fi
popd
else
pushd
$ftindex
/third_party
if
[
$?
!=
0
]
;
then
exit
1
;
fi
ln
-s
../../
$jemalloc
$jemalloc
if
[
$?
!=
0
]
;
then
exit
1
;
fi
popd
fi
# build in the mysql directory
pushd
$build_dir
mkdir
$mysql
/build.debug
if
[
$?
!=
0
]
;
then
exit
1
;
fi
pushd
$mysql
/build.debug
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
extra_cmake_options
=
"-DCMAKE_LINK_DEPENDS_NO_SHARED=ON"
extra_cmake_options
=
"-DCMAKE_LINK_DEPENDS_NO_SHARED=ON"
if
((
$cmake_valgrind
))
;
then
if
((
$cmake_valgrind
))
;
then
...
@@ -135,7 +145,7 @@ fi
...
@@ -135,7 +145,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
CC
=
$cc
CXX
=
$cxx
cmake
-DCMAKE_BUILD_TYPE
=
Debug
-DCMAKE_INSTALL_PREFIX
=
$install_dir
-DBUILD_TESTING
=
OFF
$extra_cmake_options
../
$mysql
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