forked from rust-rocksdb/rust-rocksdb
-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from BusyJay/subtree
add rocksdb subtree
- Loading branch information
Showing
1,197 changed files
with
371,182 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Complete list of style options can be found at: | ||
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html | ||
--- | ||
BasedOnStyle: Google | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"project_id" : "rocksdb", | ||
"conduit_uri" : "https://phabricator.fb.com/api/", | ||
"copyright_holder" : "Facebook", | ||
"load" : [ | ||
"arcanist_util" | ||
], | ||
"lint.engine" : "FacebookFbcodeLintEngine", | ||
"lint.engine.single.linter" : "FbcodeCppLinter", | ||
"unit.engine" : "FacebookFbcodeUnitTestEngine", | ||
"arcanist_configuration" : "FacebookArcanistConfiguration", | ||
"base" : "git:HEAD^, hg:.^", | ||
"git.default-relative-commit" : "HEAD^", | ||
"git:arc.feature.start.default" : "origin/master", | ||
"arc.feature.start.default" : "master", | ||
"history.immutable" : false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
make_config.mk | ||
|
||
*.a | ||
*.arc | ||
*.d | ||
*.dylib* | ||
*.gcda | ||
*.gcno | ||
*.o | ||
*.so | ||
*.so.* | ||
*_test | ||
*_bench | ||
*_stress | ||
*.out | ||
*.class | ||
*.jar | ||
*.*jnilib* | ||
*.d-e | ||
*.o-* | ||
*.swp | ||
*~ | ||
*.vcxproj | ||
*.vcxproj.filters | ||
*.sln | ||
*.cmake | ||
CMakeCache.txt | ||
CMakeFiles/ | ||
build/ | ||
|
||
ldb | ||
manifest_dump | ||
sst_dump | ||
blob_dump | ||
column_aware_encoding_exp | ||
util/build_version.cc | ||
build_tools/VALGRIND_LOGS/ | ||
coverage/COVERAGE_REPORT | ||
.gdbhistory | ||
.gdb_history | ||
package/ | ||
.phutil_module_cache | ||
unity.a | ||
tags | ||
etags | ||
rocksdb_dump | ||
rocksdb_undump | ||
db_test2 | ||
|
||
java/out | ||
java/target | ||
java/test-libs | ||
java/*.log | ||
java/include/org_rocksdb_*.h | ||
|
||
.idea/ | ||
*.iml | ||
|
||
rocksdb.cc | ||
rocksdb.h | ||
unity.cc | ||
java/crossbuild/.vagrant | ||
.vagrant/ | ||
java/**/*.asc | ||
java/javadoc | ||
|
||
scan_build_report/ | ||
t | ||
LOG | ||
|
||
db_logs/ | ||
tp2/ | ||
fbcode/ | ||
fbcode | ||
buckifier/*.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
sudo: false | ||
dist: trusty | ||
language: cpp | ||
os: | ||
- linux | ||
- osx | ||
compiler: | ||
- clang | ||
- gcc | ||
osx_image: xcode8.3 | ||
jdk: | ||
- oraclejdk7 | ||
cache: | ||
- ccache | ||
- apt | ||
|
||
addons: | ||
apt: | ||
packages: ['zlib1g-dev', 'libbz2-dev', 'libsnappy-dev', 'curl', 'libgflags-dev', 'mingw-w64'] | ||
env: | ||
- TEST_GROUP=platform_dependent # 16-18 minutes | ||
- TEST_GROUP=1 # 33-35 minutes | ||
- TEST_GROUP=2 # 30-32 minutes | ||
# Run java tests | ||
- JOB_NAME=java_test # 4-11 minutes | ||
# Build ROCKSDB_LITE | ||
- JOB_NAME=lite_build # 3-4 minutes | ||
# Build examples | ||
- JOB_NAME=examples # 5-7 minutes | ||
- JOB_NAME=cmake # 3-5 minutes | ||
- JOB_NAME=cmake-mingw # 3 minutes | ||
|
||
matrix: | ||
exclude: | ||
- os: osx | ||
env: TEST_GROUP=1 | ||
- os: osx | ||
env: TEST_GROUP=2 | ||
- os : osx | ||
env: JOB_NAME=cmake-mingw | ||
- os : linux | ||
compiler: clang | ||
- os : osx | ||
compiler: gcc | ||
|
||
# https://docs.travis-ci.com/user/caching/#ccache-cache | ||
install: | ||
- if [ "${TRAVIS_OS_NAME}" == osx ]; then | ||
brew install ccache; | ||
PATH=$PATH:/usr/local/opt/ccache/libexec; | ||
fi | ||
|
||
before_script: | ||
# Increase the maximum number of open file descriptors, since some tests use | ||
# more FDs than the default limit. | ||
- ulimit -n 8192 | ||
|
||
script: | ||
- ${CXX} --version | ||
- if [ "${TEST_GROUP}" == 'platform_dependent' ]; then OPT=-DTRAVIS V=1 make -j4 all; OPT=-DTRAVIS V=1 ROCKSDBTESTS_END=db_block_cache_test make -j4 check_some; fi | ||
- if [ "${TEST_GROUP}" == '1' ]; then OPT=-DTRAVIS V=1 ROCKSDBTESTS_START=db_block_cache_test ROCKSDBTESTS_END=comparator_db_test make -j4 check_some; fi | ||
- if [ "${TEST_GROUP}" == '2' ]; then OPT=-DTRAVIS V=1 ROCKSDBTESTS_START=comparator_db_test make -j4 check_some; fi | ||
- if [ "${JOB_NAME}" == 'java_test' ]; then OPT=-DTRAVIS V=1 make clean jclean && make rocksdbjava jtest; fi | ||
- if [ "${JOB_NAME}" == 'lite_build' ]; then OPT="-DTRAVIS -DROCKSDB_LITE" V=1 make -j4 static_lib; fi | ||
- if [ "${JOB_NAME}" == 'examples' ]; then OPT=-DTRAVIS V=1 make -j4 static_lib; cd examples; make -j4; fi | ||
- if [ "${JOB_NAME}" == 'cmake' ]; then mkdir build && cd build && cmake .. && make -j4 rocksdb; fi | ||
- if [ "${JOB_NAME}" == 'cmake-mingw' ]; then mkdir build && cd build && cmake .. -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DCMAKE_SYSTEM_NAME=Windows && make -j4 rocksdb; fi | ||
notifications: | ||
email: | ||
- leveldb@fb.com | ||
webhooks: | ||
- https://buildtimetrend.herokuapp.com/travis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Facebook Inc. | ||
Facebook Engineering Team | ||
|
||
Google Inc. | ||
# Initial version authors: | ||
Jeffrey Dean <jeff@google.com> | ||
Sanjay Ghemawat <sanjay@google.com> | ||
|
||
# Partial list of contributors: | ||
Kevin Regan <kevin.d.regan@gmail.com> | ||
Johan Bilien <jobi@litl.com> |
Oops, something went wrong.