fork of https://github.com/rust-rocksdb/rust-rocksdb for nextgraph
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
482 B
18 lines
482 B
1 year ago
|
#!/usr/bin/env bash
|
||
|
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
||
|
|
||
|
set -e
|
||
|
#set -x
|
||
|
|
||
|
# just in-case this is run outside Docker
|
||
|
mkdir -p /rocksdb-local-build
|
||
|
|
||
|
rm -rf /rocksdb-local-build/*
|
||
|
cp -r /rocksdb-host/* /rocksdb-local-build
|
||
|
cd /rocksdb-local-build
|
||
|
|
||
|
make clean-not-downloaded
|
||
|
PORTABLE=1 make -j2 rocksdbjavastatic
|
||
|
|
||
|
cp java/target/librocksdbjni-linux*.so java/target/rocksdbjni-*-linux*.jar java/target/rocksdbjni-*-linux*.jar.sha1 /rocksdb-java-target
|