2019-11-27 00:51:26 +00:00
|
|
|
#!/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
|
2021-12-22 20:56:45 +00:00
|
|
|
PORTABLE=1 make -j2 rocksdbjavastatic
|
2019-11-27 00:51:26 +00:00
|
|
|
|
2021-12-22 20:56:45 +00:00
|
|
|
cp java/target/librocksdbjni-linux*.so java/target/rocksdbjni-*-linux*.jar java/target/rocksdbjni-*-linux*.jar.sha1 /rocksdb-java-target
|