filter_bench not needed for ROCKSDB_LITE (#5978)

Summary:
filter_bench is a specialized micro-benchmarking tool that
should not be needed with ROCKSDB_LITE. This should fix the LITE build.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5978

Test Plan: make LITE=1 check

Differential Revision: D18177941

Pulled By: pdillinger

fbshipit-source-id: b73a171404661e09e018bc99afcf8d4bf1e2949c
main
Peter Dillinger 5 years ago committed by Facebook Github Bot
parent 79018ba51b
commit 26dc29633e
  1. 6
      util/filter_bench.cc

@ -3,10 +3,10 @@
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
#ifndef GFLAGS
#if !defined(GFLAGS) || defined(ROCKSDB_LITE)
#include <cstdio>
int main() {
fprintf(stderr, "Please install gflags to run rocksdb tools\n");
fprintf(stderr, "filter_bench requires gflags and !ROCKSDB_LITE\n");
return 1;
}
#else
@ -660,4 +660,4 @@ int main(int argc, char **argv) {
return 0;
}
#endif // GFLAGS
#endif // !defined(GFLAGS) || defined(ROCKSDB_LITE)

Loading…
Cancel
Save