Merge pull request #33267 from Izorkin/mariadb-mysqltest

mariadb: disabling mysql-test and sql-bench directories
This commit is contained in:
Orivej Desh 2018-01-06 03:11:32 +00:00 committed by GitHub
commit 210a281a1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,6 +134,8 @@ everything = stdenv.mkDerivation (common // {
"-DINSTALL_DOCREADMEDIR=share/doc/mysql"
"-DINSTALL_DOCDIR=share/doc/mysql"
"-DINSTALL_SHAREDIR=share/mysql"
"-DINSTALL_MYSQLTESTDIR=OFF"
"-DINSTALL_SQLBENCHDIR=OFF"
"-DENABLED_LOCAL_INFILE=ON"
"-DWITH_READLINE=ON"
@ -152,7 +154,7 @@ everything = stdenv.mkDerivation (common // {
];
postInstall = common.postInstall + ''
rm -r "$out"/{mysql-test,sql-bench,data} # Don't need testing data
rm -r "$out"/data # Don't need testing data
rm "$out"/share/man/man1/mysql-test-run.pl.1
rm "$out"/bin/rcmysql
'';