mirror of
https://github.com/facebook/rocksdb.git
synced 2024-12-02 01:16:16 +00:00
8ae149eba1
Summary: Add the jni library for musl-libc, specifically for incorporating into Alpine based docker images. The classifier is `musl64`. I have signed the CLA electronically. Pull Request resolved: https://github.com/facebook/rocksdb/pull/3143 Differential Revision: D18719372 fbshipit-source-id: 6189d149310b6436d6def7d808566b0234b23313
19 lines
438 B
Bash
Executable file
19 lines
438 B
Bash
Executable file
#!/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 rocksdbjavastatic
|
|
|
|
cp java/target/librocksdbjni-linux*.so java/target/rocksdbjni-*-linux*.jar /rocksdb-java-target
|
|
|