Skip to content

Commit 3b897cd

Browse files
committed
Enable no-fbcode RocksDB build
Summary: I want to use open source build rather than fbcode one. This enables me to run `ROCKSDB_NO_FBCODE=1 make` and run it with my system g++. Test Plan: ROCKSDB_NO_FBCODE=1 make make Reviewers: sdong, ljin, yhchiang Reviewed By: yhchiang Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D23613
1 parent f445947 commit 3b897cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_tools/build_detect_platform

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ PLATFORM_CXXFLAGS="-std=c++11"
4646
COMMON_FLAGS="-DROCKSDB_PLATFORM_POSIX"
4747

4848
# Default to fbcode gcc on internal fb machines
49-
if [ -d /mnt/gvfs/third-party -a -z "$CXX" ]; then
49+
if [ -z "$ROCKSDB_NO_FBCODE" -a -d /mnt/gvfs/third-party ]; then
5050
FBCODE_BUILD="true"
5151
if [ -z "$USE_CLANG" ]; then
5252
CENTOS_VERSION=`rpm -q --qf "%{VERSION}" \

0 commit comments

Comments
 (0)