Revert "Moving to glibc-fb"
This reverts commit d24961b65e
.
For some reason, glibc2.17-fb breaks gflags. Reverting for now
This commit is contained in:
parent
66dc033af3
commit
e832e72b31
@ -11,13 +11,13 @@ if [ "$CENTOS_VERSION" = "6" ]; then
|
|||||||
else
|
else
|
||||||
TOOLCHAIN_EXECUTABLES="/mnt/gvfs/third-party/$TOOLCHAIN_REV/centos5.2-native"
|
TOOLCHAIN_EXECUTABLES="/mnt/gvfs/third-party/$TOOLCHAIN_REV/centos5.2-native"
|
||||||
fi
|
fi
|
||||||
TOOLCHAIN_LIB_BASE="/mnt/gvfs/third-party/$TOOLCHAIN_REV/gcc-4.8.1-glibc-2.17-fb"
|
TOOLCHAIN_LIB_BASE="/mnt/gvfs/third-party/$TOOLCHAIN_REV/gcc-4.8.1-glibc-2.17"
|
||||||
|
|
||||||
# location of libhdfs libraries
|
# location of libhdfs libraries
|
||||||
if test "$USE_HDFS"; then
|
if test "$USE_HDFS"; then
|
||||||
JAVA_HOME="/usr/local/jdk-6u22-64"
|
JAVA_HOME="/usr/local/jdk-6u22-64"
|
||||||
JINCLUDE="-I$JAVA_HOME/include -I$JAVA_HOME/include/linux"
|
JINCLUDE="-I$JAVA_HOME/include -I$JAVA_HOME/include/linux"
|
||||||
GLIBC_RUNTIME_PATH="/usr/local/fbcode/gcc-4.8.1-glibc-2.17-fb"
|
GLIBC_RUNTIME_PATH="/usr/local/fbcode/gcc-4.8.1-glibc-2.17"
|
||||||
HDFSLIB=" -Wl,--no-whole-archive hdfs/libhdfs.a -L$JAVA_HOME/jre/lib/amd64 "
|
HDFSLIB=" -Wl,--no-whole-archive hdfs/libhdfs.a -L$JAVA_HOME/jre/lib/amd64 "
|
||||||
HDFSLIB+=" -L$JAVA_HOME/jre/lib/amd64/server -L$GLIBC_RUNTIME_PATH/lib "
|
HDFSLIB+=" -L$JAVA_HOME/jre/lib/amd64/server -L$GLIBC_RUNTIME_PATH/lib "
|
||||||
HDFSLIB+=" -ldl -lverify -ljava -ljvm "
|
HDFSLIB+=" -ldl -lverify -ljava -ljvm "
|
||||||
|
@ -2531,6 +2531,8 @@ class Benchmark {
|
|||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
rocksdb::InstallStackTraceHandler();
|
rocksdb::InstallStackTraceHandler();
|
||||||
|
google::SetUsageMessage(std::string("\nUSAGE:\n") + std::string(argv[0]) +
|
||||||
|
" [OPTIONS]...");
|
||||||
google::ParseCommandLineFlags(&argc, &argv, true);
|
google::ParseCommandLineFlags(&argc, &argv, true);
|
||||||
|
|
||||||
FLAGS_compaction_style_e = (rocksdb::CompactionStyle) FLAGS_compaction_style;
|
FLAGS_compaction_style_e = (rocksdb::CompactionStyle) FLAGS_compaction_style;
|
||||||
|
@ -87,6 +87,9 @@ DEFINE_uint64(wal_size_limit_MB, 10, "the wal size limit for the run"
|
|||||||
"(in MB)");
|
"(in MB)");
|
||||||
|
|
||||||
int main(int argc, const char** argv) {
|
int main(int argc, const char** argv) {
|
||||||
|
google::SetUsageMessage(std::string("\nUSAGE:\n") + std::string(argv[0]) +
|
||||||
|
" --num_inserts=<num_inserts> --wal_ttl_seconds=<WAL_ttl_seconds>" +
|
||||||
|
" --wal_size_limit_MB=<WAL_size_limit_MB>");
|
||||||
google::ParseCommandLineFlags(&argc, const_cast<char***>(&argv), true);
|
google::ParseCommandLineFlags(&argc, const_cast<char***>(&argv), true);
|
||||||
|
|
||||||
Env* env = Env::Default();
|
Env* env = Env::Default();
|
||||||
|
@ -1488,6 +1488,8 @@ class StressTest {
|
|||||||
|
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
|
google::SetUsageMessage(std::string("\nUSAGE:\n") + std::string(argv[0]) +
|
||||||
|
" [OPTIONS]...");
|
||||||
google::ParseCommandLineFlags(&argc, &argv, true);
|
google::ParseCommandLineFlags(&argc, &argv, true);
|
||||||
|
|
||||||
if (FLAGS_statistics) {
|
if (FLAGS_statistics) {
|
||||||
|
Loading…
Reference in New Issue
Block a user