Merge lp:~tplavcic/percona-server/ps-bld138-5.5 into lp:percona-server/5.5

Proposed by Tomislav Plavcic
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 688
Proposed branch: lp:~tplavcic/percona-server/ps-bld138-5.5
Merge into: lp:percona-server/5.5
Diff against target: 58 lines (+7/-13)
1 file modified
build-ps/build-binary.sh (+7/-13)
To merge this branch: bzr merge lp:~tplavcic/percona-server/ps-bld138-5.5
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+228999@code.launchpad.net

Description of the change

Added option to build-binary.sh to build with yassl.

5.1 uses just --with-ssl (without path) when building with yassl
5.5 & 5.6 use --with-ssl=bundled (for yassl) and --with-ssl=system (for openssl)

Also for 5.5 it was removed "make UDF" from build-binary since it was ported to cmake (seems it was removed from 5.6 already).

It was tested with these builds:
http://jenkins.percona.com/view/TEST/job/percona-server-5.1-binaries-test-yassl/6/label_exp=centos6-64/
http://jenkins.percona.com/job/percona-server-5.5-binary-tarballs-test/label_exp=centos5-64/1/
http://jenkins.percona.com/job/percona-server-5.6-binaries-release-test/label_exp=centos6-64/8/

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'build-ps/build-binary.sh'
--- build-ps/build-binary.sh 2014-06-11 13:39:54 +0000
+++ build-ps/build-binary.sh 2014-07-31 10:55:29 +0000
@@ -20,6 +20,7 @@
20DEBUG_COMMENT=''20DEBUG_COMMENT=''
21WITH_JEMALLOC=''21WITH_JEMALLOC=''
22WITH_SSL='/usr'22WITH_SSL='/usr'
23WITH_SSL_TYPE='system'
23OPENSSL_INCLUDE=''24OPENSSL_INCLUDE=''
24OPENSSL_LIBRARY=''25OPENSSL_LIBRARY=''
25CRYPTO_LIBRARY=''26CRYPTO_LIBRARY=''
@@ -34,7 +35,7 @@
34if ! getopt --test35if ! getopt --test
35then36then
36 go_out="$(getopt --options=iqdvjt: \37 go_out="$(getopt --options=iqdvjt: \
37 --longoptions=i686,quiet,debug,valgrind,with-jemalloc:,with-ssl:,tag: \38 --longoptions=i686,quiet,debug,valgrind,with-jemalloc:,with-yassl,with-ssl:,tag: \
38 --name="$(basename "$0")" -- "$@")"39 --name="$(basename "$0")" -- "$@")"
39 test $? -eq 0 || exit 140 test $? -eq 0 || exit 1
40 eval set -- $go_out41 eval set -- $go_out
@@ -68,6 +69,10 @@
68 WITH_JEMALLOC="$1"69 WITH_JEMALLOC="$1"
69 shift70 shift
70 ;;71 ;;
72 --with-yassl )
73 shift
74 WITH_SSL_TYPE="bundled"
75 ;;
71 --with-ssl )76 --with-ssl )
72 shift77 shift
73 WITH_SSL="$1"78 WITH_SSL="$1"
@@ -199,7 +204,7 @@
199 -DCMAKE_BUILD_TYPE="$CMAKE_BUILD_TYPE" \204 -DCMAKE_BUILD_TYPE="$CMAKE_BUILD_TYPE" \
200 -DWITH_EMBEDDED_SERVER=OFF \205 -DWITH_EMBEDDED_SERVER=OFF \
201 -DFEATURE_SET=community \206 -DFEATURE_SET=community \
202 -DWITH_SSL=system \207 -DWITH_SSL="$WITH_SSL_TYPE" \
203 -DCMAKE_INSTALL_PREFIX="/usr/local/$PRODUCT_FULL" \208 -DCMAKE_INSTALL_PREFIX="/usr/local/$PRODUCT_FULL" \
204 -DMYSQL_DATADIR="/usr/local/$PRODUCT_FULL/data" \209 -DMYSQL_DATADIR="/usr/local/$PRODUCT_FULL/data" \
205 -DCOMPILATION_COMMENT="$COMMENT" \210 -DCOMPILATION_COMMENT="$COMMENT" \
@@ -223,17 +228,6 @@
223228
224 )229 )
225230
226 # Build UDF
227 (
228 cd "UDF"
229 autoreconf --install
230 CXX=${UDF_CXX:-g++} ./configure --includedir="$SOURCEDIR/include" \
231 --libdir="/usr/local/$PRODUCT_FULL/mysql/plugin"
232 make $MAKE_JFLAG
233 make DESTDIR="$INSTALLDIR" install
234
235 )
236
237 # Build jemalloc231 # Build jemalloc
238 if test "x$WITH_JEMALLOC" != x232 if test "x$WITH_JEMALLOC" != x
239 then233 then

Subscribers

People subscribed via source and target branches