Merge pull request #38415 from Infinisil/fix/rocksdblite
rocksdb_lite: Fix
This commit is contained in:
commit
d5ee86533a
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||
CMAKE_CXX_FLAGS = "-std=gnu++11";
|
||||
JEMALLOC_LIB = stdenv.lib.optionalString (malloc == jemalloc) "-ljemalloc";
|
||||
|
||||
${if enableLite then "LIBNAME" else null} = "librocksdb_lite";
|
||||
LIBNAME = "librocksdb${stdenv.lib.optionalString enableLite "_lite"}";
|
||||
${if enableLite then "CXXFLAGS" else null} = "-DROCKSDB_LITE=1";
|
||||
|
||||
buildAndInstallFlags = [
|
||||
@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
|
||||
echo "BUILD CONFIGURATION FOR SANITY CHECKING"
|
||||
cat make_config.mk
|
||||
mkdir -pv $static/lib/
|
||||
mv -vi $out/lib/librocksdb.a $static/lib/
|
||||
mv -vi $out/lib/${LIBNAME}.a $static/lib/
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@ -77,7 +77,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://rocksdb.org;
|
||||
description = "A library that provides an embeddable, persistent key-value store for fast storage";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.x86_64 ++ platforms.aarch64;
|
||||
platforms = platforms.x86_64;
|
||||
maintainers = with maintainers; [ adev wkennington ];
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user