mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 16:30:56 +00:00
Block forward_iterator_bench under MAC and Windows
Summary: Travis is now failing because we cannot compile forward_iterator_bench under MAC https://travis-ci.org/facebook/rocksdb/jobs/91524025 In forward_iterator_bench.cc we are using multiple functions that are not available in MAC like htobe64 be64toh Blocking forward_iterator_bench under MAC Test Plan: compile under mac Reviewers: rven, yhchiang, anthony, sdong Reviewed By: sdong Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D50889
This commit is contained in:
parent
9b8c9be0b5
commit
605a24d94e
|
@ -13,6 +13,9 @@ int main() {
|
||||||
fprintf(stderr, "Please install gflags to run rocksdb tools\n");
|
fprintf(stderr, "Please install gflags to run rocksdb tools\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
#elif defined(OS_MACOSX) || defined(OS_WIN)
|
||||||
|
// Block forward_iterator_bench under MAC and Windows
|
||||||
|
int main() { return 0; }
|
||||||
#else
|
#else
|
||||||
#include <gflags/gflags.h>
|
#include <gflags/gflags.h>
|
||||||
#include <semaphore.h>
|
#include <semaphore.h>
|
||||||
|
|
Loading…
Reference in a new issue