mariadb: drop build server with tokudb storage
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
{ stdenv, fetchurl, fetchFromGitHub, cmake, pkgconfig, makeWrapper, ncurses, nixosTests
|
||||
, libiconv, openssl, pcre, boost, judy, bison, libxml2, libkrb5, linux-pam, curl
|
||||
, libaio, libevent, jemalloc450, jemalloc, cracklib, systemd, perl
|
||||
, libaio, libevent, jemalloc, cracklib, systemd, perl
|
||||
, bzip2, lz4, lzo, snappy, xz, zlib, zstd
|
||||
, fixDarwinDylibNames, cctools, CoreServices, less
|
||||
, numactl # NUMA Support
|
||||
, withStorageMroonga ? true, kytea, msgpack, zeromq
|
||||
, withStorageRocks ? true
|
||||
, withStorageToku ? true
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
@@ -41,8 +40,7 @@ common = rec { # attributes common to both builds
|
||||
ncurses openssl zlib pcre libiconv curl
|
||||
] ++ optionals stdenv.hostPlatform.isLinux [ libaio systemd libkrb5 ]
|
||||
++ optionals stdenv.hostPlatform.isDarwin [ perl cctools CoreServices ]
|
||||
++ optional (!stdenv.hostPlatform.isDarwin && withStorageToku) [ jemalloc450 ]
|
||||
++ optional (!stdenv.hostPlatform.isDarwin && !withStorageToku) [ jemalloc ];
|
||||
++ optional (!stdenv.hostPlatform.isDarwin) [ jemalloc ];
|
||||
|
||||
prePatch = ''
|
||||
sed -i 's,[^"]*/var/log,/var/log,g' storage/mroonga/vendor/groonga/CMakeLists.txt
|
||||
@@ -174,6 +172,7 @@ server = stdenv.mkDerivation (common // {
|
||||
"-DWITH_INNODB_DISALLOW_WRITES=ON"
|
||||
"-DWITHOUT_EXAMPLE=1"
|
||||
"-DWITHOUT_FEDERATED=1"
|
||||
"-DWITHOUT_TOKUDB=1"
|
||||
] ++ optional (stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAarch32) [
|
||||
"-DWITH_NUMA=ON"
|
||||
] ++ optional (!withStorageMroonga) [
|
||||
@@ -182,9 +181,7 @@ server = stdenv.mkDerivation (common // {
|
||||
"-DWITHOUT_ROCKSDB=1"
|
||||
] ++ optional (!stdenv.hostPlatform.isDarwin && withStorageRocks) [
|
||||
"-DWITH_ROCKSDB_JEMALLOC=ON"
|
||||
] ++ optional (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isMusl || !withStorageToku) [
|
||||
"-DWITHOUT_TOKUDB=1"
|
||||
] ++ optional (!stdenv.hostPlatform.isDarwin && withStorageToku) [
|
||||
] ++ optional (!stdenv.hostPlatform.isDarwin) [
|
||||
"-DWITH_JEMALLOC=static"
|
||||
] ++ optional stdenv.hostPlatform.isDarwin [
|
||||
"-DPLUGIN_AUTH_PAM=OFF"
|
||||
|
||||
Reference in New Issue
Block a user