mariadb: add option to build server without rocksdb storage
This commit is contained in:
parent
0296e678cf
commit
eafdfc8f51
|
@ -4,6 +4,7 @@
|
||||||
, fixDarwinDylibNames, cctools, CoreServices, less
|
, fixDarwinDylibNames, cctools, CoreServices, less
|
||||||
, numactl # NUMA Support
|
, numactl # NUMA Support
|
||||||
, withStorageMroonga ? true, kytea, msgpack, zeromq
|
, withStorageMroonga ? true, kytea, msgpack, zeromq
|
||||||
|
, withStorageRocks ? true
|
||||||
, withStorageToku ? true
|
, withStorageToku ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -169,6 +170,10 @@ server = stdenv.mkDerivation (common // {
|
||||||
"-DWITH_NUMA=ON"
|
"-DWITH_NUMA=ON"
|
||||||
] ++ optional (!withStorageMroonga) [
|
] ++ optional (!withStorageMroonga) [
|
||||||
"-DWITHOUT_MROONGA=1"
|
"-DWITHOUT_MROONGA=1"
|
||||||
|
] ++ optional (!withStorageRocks) [
|
||||||
|
"-DWITHOUT_ROCKSDB=1"
|
||||||
|
] ++ optional (!stdenv.hostPlatform.isDarwin && withStorageRocks) [
|
||||||
|
"-DWITH_ROCKSDB_JEMALLOC=ON"
|
||||||
] ++ optional (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isMusl || !withStorageToku) [
|
] ++ optional (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isMusl || !withStorageToku) [
|
||||||
"-DWITHOUT_TOKUDB=1"
|
"-DWITHOUT_TOKUDB=1"
|
||||||
] ++ optional (!stdenv.hostPlatform.isDarwin && withStorageToku) [
|
] ++ optional (!stdenv.hostPlatform.isDarwin && withStorageToku) [
|
||||||
|
|
Loading…
Reference in New Issue