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
28a376a7
Commit
28a376a7
authored
May 29, 2013
by
Yoni Fogel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add valgrind and paranoid options to make.mysql.debug.env.bash
parent
10a99633
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
scripts/make.mysql.debug.env.bash
scripts/make.mysql.debug.env.bash
+11
-1
No files found.
scripts/make.mysql.debug.env.bash
View file @
28a376a7
...
...
@@ -13,6 +13,7 @@ function usage() {
echo
"--backup=
$backup
--backup_tree=
$backup_tree
"
echo
"--cc=
$cc
--cxx=
$cxx
"
echo
"--local_cache_dir=
$local_cache_dir
--local_cache_update=
$local_cache_update
"
echo
"--cmake_valgrind=
$cmake_valgrind
--cmake_debug_paranoid=
$cmake_debug_paranoid
"
}
function
github_clone
()
{
...
...
@@ -63,6 +64,8 @@ cc=gcc47
cxx
=
g++47
local_cache_dir
=
local_cache_update
=
1
cmake_valgrind
=
cmake_debug_paranoid
=
while
[
$#
-ne
0
]
;
do
arg
=
$1
;
shift
...
...
@@ -125,7 +128,14 @@ mkdir $mysql/build.debug
if
[
$?
!=
0
]
;
then
exit
1
;
fi
pushd
$mysql
/build.debug
if
[
$?
!=
0
]
;
then
exit
1
;
fi
CC
=
$cc
CXX
=
$cxx
cmake ..
-DCMAKE_BUILD_TYPE
=
Debug
-DCMAKE_INSTALL_PREFIX
=
$install_dir
-DBUILD_TESTING
=
OFF
extra_cmake_options
=
if
((
$cmake_valgrind
))
;
then
extra_cmake_options+
=
" -DUSE_VALGRIND=ON"
fi
if
((
$cmake_debug_paranoid
))
;
then
extra_cmake_options+
=
" -DTOKU_DEBUG_PARANOID=ON"
fi
CC
=
$cc
CXX
=
$cxx
cmake ..
-DCMAKE_BUILD_TYPE
=
Debug
-DCMAKE_INSTALL_PREFIX
=
$install_dir
-DBUILD_TESTING
=
OFF
$extra_cmake_options
if
[
$?
!=
0
]
;
then
exit
1
;
fi
make
-j4
install
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