mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-28 15:33:54 +00:00
65996dd757
Summary: * Added Docker build environment for RocksJava on s390x * Cache alignment size for s390x was incorrectly calculated on gcc 6.4.0 * Tighter control over which installed version of Java is used is required - build now correctly adheres to `JAVA_HOME` if it is set * Alpine build scripts should be used on Alpine (previously CentOS script worked by falling through to minimal gcc version) Pull Request resolved: https://github.com/facebook/rocksdb/pull/9321 Reviewed By: mrambacher Differential Revision: D33259624 Pulled By: jay-zhuang fbshipit-source-id: d791a5150581344925c3c3f9cbb9a3622d63b3b6
18 lines
482 B
Bash
Executable file
18 lines
482 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 -j2 rocksdbjavastatic
|
|
|
|
cp java/target/librocksdbjni-linux*.so java/target/rocksdbjni-*-linux*.jar java/target/rocksdbjni-*-linux*.jar.sha1 /rocksdb-java-target
|