From 33b1de82a7b0f0788cd7023e138e733925b11fef Mon Sep 17 00:00:00 2001 From: Siying Dong Date: Tue, 18 Jul 2017 10:57:10 -0700 Subject: [PATCH] Remove format compatibility hack Summary: We don't need this format compatibility hack anymore. We should remove it to make things simpler. Closes https://github.com/facebook/rocksdb/pull/2607 Differential Revision: D5444107 Pulled By: siying fbshipit-source-id: 7ef587dd0cacfc15a4083a137adba8e6bfddac7e --- build_tools/rocksdb-lego-determinator | 34 +-------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/build_tools/rocksdb-lego-determinator b/build_tools/rocksdb-lego-determinator index 044c3df35..09e79f376 100755 --- a/build_tools/rocksdb-lego-determinator +++ b/build_tools/rocksdb-lego-determinator @@ -583,39 +583,7 @@ run_format_compatible() rm -rf /dev/shm/rocksdb mkdir /dev/shm/rocksdb - echo ' - if [ -e "build_tools/build_detect_platform" ] - then - sed "s/tcmalloc/nothingnothingnothing/g" build_tools/build_detect_platform > $TEST_TMPDIR/temp_build_file - rm -rf build_tools/build_detect_platform - cp $TEST_TMPDIR/temp_build_file build_tools/build_detect_platform - chmod +x build_tools/build_detect_platform - fi - - if [ -e "build_detect_platform" ] - then - sed "s/tcmalloc/nothingnothingnothing/g" build_detect_platform > $TEST_TMPDIR/temp_build_file - rm -rf build_detect_platform - cp $TEST_TMPDIR/temp_build_file build_detect_platform - chmod +x build_detect_platform - fi - - make ldb -j32 - - if [ -e "build_detect_platform" ] - then - git checkout -- build_detect_platform - fi - - if [ -e "build_tools/build_detect_platform" ] - then - git checkout -- build_tools/build_detect_platform - fi - ' > temp_build_ldb.sh - - sed "s/make ldb -j32/source temp_build_ldb.sh/g" tools/check_format_compatible.sh > tools/temp_check_format_compatible.sh - chmod +x tools/temp_check_format_compatible.sh - tools/temp_check_format_compatible.sh + tools/check_format_compatible.sh } FORMAT_COMPATIBLE_COMMANDS="[