Commit 52941015 authored by Julien Muchembled's avatar Julien Muchembled

fixup! mariadb: build without tests to save space

Commit de5e381d broke build of
MariaDB >= 10.5. There were warnings about that with 10.4.
parent 65a4a9bf
Pipeline #35661 failed with stage
in 0 seconds
...@@ -34,11 +34,12 @@ recipe = slapos.recipe.cmmi ...@@ -34,11 +34,12 @@ recipe = slapos.recipe.cmmi
shared = true shared = true
url = https://archive.mariadb.org/mariadb-${:version}/source/mariadb-${:version}.tar.gz url = https://archive.mariadb.org/mariadb-${:version}/source/mariadb-${:version}.tar.gz
pcre-location = ${pcre2:location} pcre-location = ${pcre2:location}
mariadb-client-test = mariadb-client-test
pre-configure = pre-configure =
d() { grep -q "$@"; sed -i "/$1/d" "$2"; } d() { x=$1; shift; [ "`grep -c "$@"`" = $x ]; sed -i "/$1/d" "$2"; }
d '\bSET(PLUGIN_AUTH_PAM YES CACHE BOOL "")' cmake/build_configurations/mysql_release.cmake d 1 '\bSET(PLUGIN_AUTH_PAM YES CACHE BOOL "")' cmake/build_configurations/mysql_release.cmake
d 'ADD_SUBDIRECTORY(\(mysql-test\|tests\)\b' CMakeLists.txt d 5 '^ *\b\(ADD_SUBDIRECTORY(\(mysql-test\|tests\)\|my_safe_process\|${:mariadb-client-test}\)\b' CMakeLists.txt
d '\bINSTALL_MYSQL_TEST\b' cmake/plugin.cmake d 1 '\bINSTALL_MYSQL_TEST\b' cmake/plugin.cmake
configure-command = ${cmake:location}/bin/cmake configure-command = ${cmake:location}/bin/cmake
configure-options = configure-options =
-DCMAKE_INSTALL_PREFIX=@@LOCATION@@ -DCMAKE_INSTALL_PREFIX=@@LOCATION@@
...@@ -98,6 +99,7 @@ post-install = ...@@ -98,6 +99,7 @@ post-install =
<= mariadb-common <= mariadb-common
version = 10.4.34 version = 10.4.34
md5sum = 7b885d620ab5bcd91cebc6ed220c69a7 md5sum = 7b885d620ab5bcd91cebc6ed220c69a7
mariadb-client-test = mysql_client_test
pcre-location = ${pcre:location} pcre-location = ${pcre:location}
patch-options = -p1 patch-options = -p1
patches = patches =
......
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