Merge lp:~gl-az/percona-xtrabackup/2.0-valgrind into lp:percona-xtrabackup/2.0
Status: | Rejected |
---|---|
Rejected by: | Alexey Kopytov |
Proposed branch: | lp:~gl-az/percona-xtrabackup/2.0-valgrind |
Merge into: | lp:percona-xtrabackup/2.0 |
Diff against target: |
265 lines (+116/-72) 2 files modified
innobackupex (+17/-2) utils/build.sh (+99/-70) |
To merge this branch: | bzr merge lp:~gl-az/percona-xtrabackup/2.0-valgrind |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Registry Administrators | Pending | ||
Review via email: mp+166405@code.launchpad.net |
Description of the change
Added new environment variables to control build:
MAKE_ONLY - Set this to 1 to only re 'make' the server and xtrabackup. Nothing will be downloaded, unpacked or patched. This is not advised if any compiler or other flags are being changed from previous builds.
RELWITHDEBINFO - Set this to 1 to eliminate optimizations by changing C/CXXFLAGS to -g -O0 and pass CMAKE_BUILD_
WITH_VALGRIND - Set this to 1 to perform Valgrind compatible build. Eliminates optimizations just like RELWITHDEBINFO and also passes WITH_VALGRIND=ON to PS or MySQL 5.5+ cmake.
Added innobackupex option --use-valgrind which will prefix backup and apply-log calls to xtrabackup with "valgrind".
The valgrind binary must be within path and valgrind options may be set by either using the ~/.valgrindrc file or setting the environment variable VALGRIND_OPTS.
Unmerged revisions
- 561. By George Ormond Lorch III
-
Added new environment variables to control build:
MAKE_ONLY - Set this to 1 to only re 'make' the server and xtrabackup. Nothing will be downloaded, unpacked or patched. This is not advised if any compiler or other flags are being changed from previous builds.
RELWITHDEBINFO - Set this to 1 to eliminate optimizations by changing C/CXXFLAGS to -g -O0 and pass CMAKE_BUILD_TYPE=RelWithDeb Info to PS or MySQL 5.5+ cmake.
WITH_VALGRIND - Set this to 1 to perform Valgrind compatible build. Eliminates optimizations just like RELWITHDEBINFO and also passes WITH_VALGRIND=ON to PS or MySQL 5.5+ cmake.
Added innobackupex option --use-valgrind which will prefix backup and apply-log calls to xtrabackup with "valgrind".
The valgrind binary must be within path and valgrind options may be set by either using the ~/.valgrindrc file or setting the environment variable VALGRIND_OPTS.
As the 2.1 MP needs rebasing on trunk, let's not implement this in 2.0 (just to not put efforts at maintaining 2 different implementations).