Commit c862a15d authored by Xiaowu Zhang's avatar Xiaowu Zhang

Browse Files percona-toolkit: shared build

parent ab569eab
...@@ -14,6 +14,7 @@ extends = ...@@ -14,6 +14,7 @@ extends =
[groonga] [groonga]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://packages.groonga.org/source/groonga/groonga-8.0.0.tar.gz url = http://packages.groonga.org/source/groonga/groonga-8.0.0.tar.gz
md5sum = f4641e68a5301e641399f2d112a494dd md5sum = f4641e68a5301e641399f2d112a494dd
# temporary patch to respect more tokens in natural language mode. # temporary patch to respect more tokens in natural language mode.
...@@ -44,6 +45,7 @@ environment = ...@@ -44,6 +45,7 @@ environment =
[groonga-normalizer-mysql] [groonga-normalizer-mysql]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://packages.groonga.org/source/groonga-normalizer-mysql/groonga-normalizer-mysql-1.1.1.tar.gz url = http://packages.groonga.org/source/groonga-normalizer-mysql/groonga-normalizer-mysql-1.1.1.tar.gz
md5sum = 5a93c0238da114e5f91db659ffd499b0 md5sum = 5a93c0238da114e5f91db659ffd499b0
location = ${groonga:location} location = ${groonga:location}
......
...@@ -5,6 +5,7 @@ parts = ...@@ -5,6 +5,7 @@ parts =
[jemalloc] [jemalloc]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = https://github.com/jemalloc/jemalloc/releases/download/${:version}/jemalloc-${:version}.tar.bz2 url = https://github.com/jemalloc/jemalloc/releases/download/${:version}/jemalloc-${:version}.tar.bz2
version = 3.6.0 version = 3.6.0
md5sum = e76665b63a8fddf4c9f26d2fa67afdf2 md5sum = e76665b63a8fddf4c9f26d2fa67afdf2
...@@ -13,4 +14,4 @@ configure-options = ...@@ -13,4 +14,4 @@ configure-options =
--enable-readline --enable-readline
environment = environment =
CPPFLAGS=-I${readline:location}/include -I${ncurses:location}/include CPPFLAGS=-I${readline:location}/include -I${ncurses:location}/include
LDFLAGS=-L${buildout:parts-directory}/${:_buildout_section_name_} -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${readline:location}/lib -L${ncurses:location}/lib LDFLAGS=-L@@LOCATION@@ -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${readline:location}/lib -L${ncurses:location}/lib
...@@ -5,8 +5,9 @@ parts = ...@@ -5,8 +5,9 @@ parts =
[libaio] [libaio]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
# originally located at http://www.kernel.org/pub/linux/libs/aio/ # originally located at http://www.kernel.org/pub/linux/libs/aio/
shared = true
url = http://ftp.free.fr/mirrors/ftp.debian.org/pool/main/liba/libaio/libaio_0.3.109.orig.tar.gz url = http://ftp.free.fr/mirrors/ftp.debian.org/pool/main/liba/libaio/libaio_0.3.109.orig.tar.gz
md5sum = 435a5b16ca6198eaf01155263d855756 md5sum = 435a5b16ca6198eaf01155263d855756
location = ${buildout:parts-directory}/${:_buildout_section_name_} location = @@LOCATION@@
configure-command = echo configure-command = echo
make-options = prefix=${:location} make-options = prefix=${:location}
...@@ -7,12 +7,13 @@ extends = ...@@ -7,12 +7,13 @@ extends =
[libstemmer] [libstemmer]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://snowball.tartarus.org/dist/libstemmer_c.tgz url = http://snowball.tartarus.org/dist/libstemmer_c.tgz
md5sum = 6f32f8f81cd6fa0150333ab540af5e27 md5sum = 6f32f8f81cd6fa0150333ab540af5e27
patch-options = -p0 patch-options = -p0
patches = patches =
${:_profile_base_location_}/libstemmer.Makefile.patch#f337bfe457ecf00d3297043a153d402a ${:_profile_base_location_}/libstemmer.Makefile.patch#f337bfe457ecf00d3297043a153d402a
location = ${buildout:parts-directory}/${:_buildout_section_name_} location = @@LOCATION@@
configure-command = true configure-command = true
make-options = DESTDIR=${:location} make-options = DESTDIR=${:location}
environment = environment =
......
...@@ -27,13 +27,14 @@ parts = ...@@ -27,13 +27,14 @@ parts =
[mariadb] [mariadb]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = https://downloads.mariadb.org/f/mariadb-${:version}/source/mariadb-${:version}.tar.gz/from/http%3A//fr.mirror.babylon.network/mariadb/?serve url = https://downloads.mariadb.org/f/mariadb-${:version}/source/mariadb-${:version}.tar.gz/from/http%3A//fr.mirror.babylon.network/mariadb/?serve
version = 10.1.34 version = 10.1.34
md5sum = 2fc6c7809be74e9e7718e8863df26b2b md5sum = 2fc6c7809be74e9e7718e8863df26b2b
patch-options = -p0 patch-options = -p0
patches = patches =
${:_profile_base_location_}/mariadb_10.1.21_create_system_tables__no_test.patch#3c76aa9564a162f13aced7c0a3f783b3 ${:_profile_base_location_}/mariadb_10.1.21_create_system_tables__no_test.patch#3c76aa9564a162f13aced7c0a3f783b3
location = ${buildout:parts-directory}/${:_buildout_section_name_} location = @@LOCATION@@
configure-command = ${cmake:location}/bin/cmake configure-command = ${cmake:location}/bin/cmake
configure-options = configure-options =
-DCMAKE_INSTALL_PREFIX=${:location} -DCMAKE_INSTALL_PREFIX=${:location}
...@@ -82,6 +83,7 @@ post-install = ...@@ -82,6 +83,7 @@ post-install =
# mroonga - a storage engine for MySQL. It provides fast fulltext search feature to all MySQL users. # mroonga - a storage engine for MySQL. It provides fast fulltext search feature to all MySQL users.
# http://mroonga.github.com/ # http://mroonga.github.com/
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://packages.groonga.org/source/mroonga/mroonga-8.00.tar.gz url = http://packages.groonga.org/source/mroonga/mroonga-8.00.tar.gz
md5sum = 8b906705be5fc14785207ca6752b96e9 md5sum = 8b906705be5fc14785207ca6752b96e9
pre-configure = set -e pre-configure = set -e
......
...@@ -19,6 +19,7 @@ parts = ...@@ -19,6 +19,7 @@ parts =
[senna] [senna]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://www.nexedi.org/static/tarballs/senna/senna-r1311.tar.gz url = http://www.nexedi.org/static/tarballs/senna/senna-r1311.tar.gz
md5sum = 1cc51554789f81a9e5208da04a5c2f4c md5sum = 1cc51554789f81a9e5208da04a5c2f4c
configure-command = configure-command =
...@@ -27,7 +28,7 @@ configure-command = ...@@ -27,7 +28,7 @@ configure-command =
ACLOCAL_ARGS=-I${libtool:location}/share/aclocal ./autogen.sh ACLOCAL_ARGS=-I${libtool:location}/share/aclocal ./autogen.sh
./configure ./configure
configure-options = configure-options =
--prefix=${buildout:parts-directory}/${:_buildout_section_name_} --prefix=@@LOCATION@@
--without-mecab --without-mecab
--disable-glibtest --disable-glibtest
make-options = make-options =
...@@ -53,6 +54,7 @@ download-only = true ...@@ -53,6 +54,7 @@ download-only = true
[mysql-tritonn-5.0] [mysql-tritonn-5.0]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://www.nexedi.org/static/tarballs/mysql/mysql-5.0.87.tar.gz url = http://www.nexedi.org/static/tarballs/mysql/mysql-5.0.87.tar.gz
md5sum = 65e6229cc98b6a8d4c5206d7fe16c7be md5sum = 65e6229cc98b6a8d4c5206d7fe16c7be
# configure: how to avoid searching for my.cnf? # configure: how to avoid searching for my.cnf?
...@@ -66,7 +68,7 @@ configure-command = ...@@ -66,7 +68,7 @@ configure-command =
touch sql/sql_yacc.yy touch sql/sql_yacc.yy
./configure ./configure
configure-options = configure-options =
--prefix=${buildout:parts-directory}/${:_buildout_section_name_} --prefix=@@LOCATION@@
--with-senna --with-senna
--with-openssl=${openssl:location} --with-openssl=${openssl:location}
--without-mecab --without-mecab
......
...@@ -4,6 +4,7 @@ parts= ...@@ -4,6 +4,7 @@ parts=
[unixodbc] [unixodbc]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://www.unixodbc.org/unixODBC-2.3.5.tar.gz url = http://www.unixodbc.org/unixODBC-2.3.5.tar.gz
md5sum = abf14cf943f1f8c5e63a24cb26d54fd9 md5sum = abf14cf943f1f8c5e63a24cb26d54fd9
post-install = ln -s ${buildout:parts-directory}/${:_buildout_section_name_}/lib/libodbcinst.so ${buildout:parts-directory}/${:_buildout_section_name_}/lib/libodbcinst.so.1 post-install = ln -s ${buildout:parts-directory}/${:_buildout_section_name_}/lib/libodbcinst.so ${buildout:parts-directory}/${:_buildout_section_name_}/lib/libodbcinst.so.1
...@@ -4,8 +4,9 @@ parts = ...@@ -4,8 +4,9 @@ parts =
[zstd] [zstd]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
location = ${buildout:parts-directory}/${:_buildout_section_name_}
url = https://github.com/facebook/zstd/archive/v1.3.5.tar.gz url = https://github.com/facebook/zstd/archive/v1.3.5.tar.gz
md5sum = d2fc97be4852d666f086282053c02319 md5sum = d2fc97be4852d666f086282053c02319
shared = true
location = @@LOCATION@@
configure-command = : configure-command = :
make-options = PREFIX=${:location} make-options = PREFIX=${:location}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment