Merge pull request #36809 from cleverca22/split-rocks
rocksdb: use split outputs
This commit is contained in:
commit
53ec101edd
|
@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
|
||||||
name = "rocksdb-${version}";
|
name = "rocksdb-${version}";
|
||||||
version = "5.10.3";
|
version = "5.10.3";
|
||||||
|
|
||||||
|
outputs = [ "dev" "out" "static" ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "facebook";
|
owner = "facebook";
|
||||||
repo = "rocksdb";
|
repo = "rocksdb";
|
||||||
|
@ -65,6 +67,8 @@ stdenv.mkDerivation rec {
|
||||||
# Might eventually remove this when we are confident in the build process
|
# Might eventually remove this when we are confident in the build process
|
||||||
echo "BUILD CONFIGURATION FOR SANITY CHECKING"
|
echo "BUILD CONFIGURATION FOR SANITY CHECKING"
|
||||||
cat make_config.mk
|
cat make_config.mk
|
||||||
|
mkdir -pv $static/lib/
|
||||||
|
mv -vi $out/lib/librocksdb.a $static/lib/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in a new issue