Merge lp:~tplavcic/percona-server/bug1314568-5.6 into lp:percona-server/5.6

Proposed by Tomislav Plavcic
Status: Superseded
Proposed branch: lp:~tplavcic/percona-server/bug1314568-5.6
Merge into: lp:percona-server/5.6
Diff against target: 43 lines (+13/-2)
2 files modified
build-ps/build-binary.sh (+12/-2)
configure.cmake (+1/-0)
To merge this branch: bzr merge lp:~tplavcic/percona-server/bug1314568-5.6
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Needs Fixing
Review via email: mp+220916@code.launchpad.net

This proposal has been superseded by a proposal from 2014-05-27.

Description of the change

Initialised variable COMMON_FLAGS which was set only on centos so the script refused to run on Ubuntu
Added -DHAVE_purify in configure.cmake for valgrind build (agreed with Laurynas over mail)
Tested locally by running the script on Ubuntu

To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

The middle diff chunk is from another diff?

Will need a re-merge from fixed 5.5.

review: Needs Fixing

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'build-ps/build-binary.sh'
2--- build-ps/build-binary.sh 2014-04-25 15:30:49 +0000
3+++ build-ps/build-binary.sh 2014-05-27 06:43:06 +0000
4@@ -23,7 +23,9 @@
5 OPENSSL_LIBRARY=''
6 CRYPTO_LIBRARY=''
7 TAG=''
8-
9+#
10+COMMON_FLAGS=''
11+#
12 # Some programs that may be overriden
13 TAR=${TAR:-tar}
14
15@@ -144,7 +146,15 @@
16 PRODUCT="Percona-Server-$MYSQL_VERSION-$PERCONA_SERVER_VERSION"
17
18 # Build information
19-REVISION="$(cd "$SOURCEDIR"; grep '^revno: ' Docs/INFO_SRC |sed -e 's/revno: //')"
20+if test -e "$SOURCEDIR/Docs/INFO_SRC"
21+then
22+ REVISION="$(cd "$SOURCEDIR"; grep '^revno: ' Docs/INFO_SRC |sed -e 's/revno: //')"
23+elif test -e "$SOURCEDIR/.bzr/branch/last-revision"
24+then
25+ REVISION="$(cd "$SOURCEDIR"; cat .bzr/branch/last-revision | awk -F ' ' '{print $1}')"
26+else
27+ REVISION=""
28+fi
29 PRODUCT_FULL="Percona-Server-$MYSQL_VERSION-$PERCONA_SERVER_VERSION"
30 PRODUCT_FULL="$PRODUCT_FULL-$REVISION${BUILD_COMMENT:-}$TAG.$(uname -s).$TARGET"
31 COMMENT="Percona Server with XtraDB (GPL), Release $PERCONA_SERVER_VERSION"
32
33=== modified file 'configure.cmake'
34--- configure.cmake 2014-03-03 17:51:33 +0000
35+++ configure.cmake 2014-05-27 06:43:06 +0000
36@@ -1097,6 +1097,7 @@
37 CHECK_INCLUDE_FILES("${VALGRIND_HEADERS}" HAVE_VALGRIND_HEADERS)
38 IF(HAVE_VALGRIND_HEADERS)
39 SET(HAVE_VALGRIND 1)
40+ ADD_DEFINITIONS(-DHAVE_purify)
41 ELSE()
42 MESSAGE(FATAL_ERROR "Unable to find Valgrind header files ${VALGRIND_HEADERS}. Make sure you have them in your include path.")
43 ENDIF()

Subscribers

People subscribed via source and target branches