-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 166716d
Showing
1,910 changed files
with
723,589 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,6 @@ | ||
# Supress UBSAN warnings related to stl_tree.h, e.g. | ||
# UndefinedBehaviorSanitizer: undefined-behavior /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_tree.h:1505:43 in | ||
# /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_tree.h:1505:43: | ||
# runtime error: upcast of address 0x000001fa8820 with insufficient space for an object of type | ||
# 'std::_Rb_tree_node<std::pair<const std::__cxx11::basic_string<char>, rocksdb::(anonymous namespace)::LockHoldingInfo> >' | ||
src:*bits/stl_tree.h |
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,24 @@ | ||
$VS_DOWNLOAD_LINK = "https://go.microsoft.com/fwlink/?LinkId=691126" | ||
$COLLECT_DOWNLOAD_LINK = "https://aka.ms/vscollect.exe" | ||
curl.exe --retry 3 -kL $VS_DOWNLOAD_LINK --output vs_installer.exe | ||
if ($LASTEXITCODE -ne 0) { | ||
echo "Download of the VS 2015 installer failed" | ||
exit 1 | ||
} | ||
$VS_INSTALL_ARGS = @("/Quiet", "/NoRestart") | ||
$process = Start-Process "${PWD}\vs_installer.exe" -ArgumentList $VS_INSTALL_ARGS -NoNewWindow -Wait -PassThru | ||
Remove-Item -Path vs_installer.exe -Force | ||
$exitCode = $process.ExitCode | ||
if (($exitCode -ne 0) -and ($exitCode -ne 3010)) { | ||
echo "VS 2015 installer exited with code $exitCode, which should be one of [0, 3010]." | ||
curl.exe --retry 3 -kL $COLLECT_DOWNLOAD_LINK --output Collect.exe | ||
if ($LASTEXITCODE -ne 0) { | ||
echo "Download of the VS Collect tool failed." | ||
exit 1 | ||
} | ||
Start-Process "${PWD}\Collect.exe" -NoNewWindow -Wait -PassThru | ||
New-Item -Path "C:\w\build-results" -ItemType "directory" -Force | ||
Copy-Item -Path "C:\Users\circleci\AppData\Local\Temp\vslogs.zip" -Destination "C:\w\build-results\" | ||
exit 1 | ||
} | ||
echo "VS 2015 installed." |
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,35 @@ | ||
$VS_DOWNLOAD_LINK = "https://aka.ms/vs/15/release/vs_buildtools.exe" | ||
$COLLECT_DOWNLOAD_LINK = "https://aka.ms/vscollect.exe" | ||
$VS_INSTALL_ARGS = @("--nocache","--quiet","--wait", "--add Microsoft.VisualStudio.Workload.VCTools", | ||
"--add Microsoft.VisualStudio.Component.VC.Tools.14.13", | ||
"--add Microsoft.Component.MSBuild", | ||
"--add Microsoft.VisualStudio.Component.Roslyn.Compiler", | ||
"--add Microsoft.VisualStudio.Component.TextTemplating", | ||
"--add Microsoft.VisualStudio.Component.VC.CoreIde", | ||
"--add Microsoft.VisualStudio.Component.VC.Redist.14.Latest", | ||
"--add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", | ||
"--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64", | ||
"--add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Win81") | ||
|
||
curl.exe --retry 3 -kL $VS_DOWNLOAD_LINK --output vs_installer.exe | ||
if ($LASTEXITCODE -ne 0) { | ||
echo "Download of the VS 2017 installer failed" | ||
exit 1 | ||
} | ||
|
||
$process = Start-Process "${PWD}\vs_installer.exe" -ArgumentList $VS_INSTALL_ARGS -NoNewWindow -Wait -PassThru | ||
Remove-Item -Path vs_installer.exe -Force | ||
$exitCode = $process.ExitCode | ||
if (($exitCode -ne 0) -and ($exitCode -ne 3010)) { | ||
echo "VS 2017 installer exited with code $exitCode, which should be one of [0, 3010]." | ||
curl.exe --retry 3 -kL $COLLECT_DOWNLOAD_LINK --output Collect.exe | ||
if ($LASTEXITCODE -ne 0) { | ||
echo "Download of the VS Collect tool failed." | ||
exit 1 | ||
} | ||
Start-Process "${PWD}\Collect.exe" -NoNewWindow -Wait -PassThru | ||
New-Item -Path "C:\w\build-results" -ItemType "directory" -Force | ||
Copy-Item -Path "C:\Users\circleci\AppData\Local\Temp\vslogs.zip" -Destination "C:\w\build-results\" | ||
exit 1 | ||
} | ||
echo "VS 2017 installed." |
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,44 @@ | ||
name: Check buck targets and code format | ||
on: [push, pull_request] | ||
jobs: | ||
check: | ||
name: Check TARGETS file and code format | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout feature branch | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Fetch from upstream | ||
run: | | ||
git remote add upstream https://github.com/facebook/rocksdb.git && git fetch upstream | ||
- name: Where am I | ||
run: | | ||
echo git status && git status | ||
echo "git remote -v" && git remote -v | ||
echo git branch && git branch | ||
- name: Setup Python | ||
uses: actions/setup-python@v1 | ||
|
||
- name: Install Dependencies | ||
run: python -m pip install --upgrade pip | ||
|
||
- name: Install argparse | ||
run: pip install argparse | ||
|
||
- name: Download clang-format-diff.py | ||
uses: wei/wget@v1 | ||
with: | ||
args: https://raw.githubusercontent.com/llvm/llvm-project/release/12.x/clang/tools/clang-format/clang-format-diff.py | ||
|
||
- name: Check format | ||
run: VERBOSE_CHECK=1 make check-format | ||
|
||
- name: Compare buckify output | ||
run: make check-buck-targets | ||
|
||
- name: Simple source code checks | ||
run: make check-sources |
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,95 @@ | ||
make_config.mk | ||
rocksdb.pc | ||
|
||
*.a | ||
*.arc | ||
*.d | ||
*.dylib* | ||
*.gcda | ||
*.gcno | ||
*.o | ||
*.o.tmp | ||
*.so | ||
*.so.* | ||
*_test | ||
*_bench | ||
*_stress | ||
*.out | ||
*.class | ||
*.jar | ||
*.*jnilib* | ||
*.d-e | ||
*.o-* | ||
*.swp | ||
*~ | ||
*.vcxproj | ||
*.vcxproj.filters | ||
*.sln | ||
.watchmanconfig | ||
CMakeCache.txt | ||
CMakeFiles/ | ||
build/ | ||
|
||
ldb | ||
manifest_dump | ||
sst_dump | ||
blob_dump | ||
block_cache_trace_analyzer | ||
tools/block_cache_analyzer/*.pyc | ||
column_aware_encoding_exp | ||
util/build_version.cc | ||
build_tools/VALGRIND_LOGS/ | ||
coverage/COVERAGE_REPORT | ||
.gdbhistory | ||
.gdb_history | ||
package/ | ||
unity.a | ||
tags | ||
etags | ||
rocksdb_dump | ||
rocksdb_undump | ||
db_test2 | ||
trace_analyzer | ||
block_cache_trace_analyzer | ||
io_tracer_parser | ||
.DS_Store | ||
.vs | ||
.vscode | ||
|
||
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 | ||
buckifier/__pycache__ | ||
|
||
compile_commands.json | ||
clang-format-diff.py | ||
.py3/ | ||
|
||
fuzz/proto/gen/ | ||
fuzz/crash-* | ||
|
||
cmake-build-* | ||
third-party/folly/ |
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,3 @@ | ||
[submodule "third-party/rest_rpc"] | ||
path = third-party/rest_rpc | ||
url = https://github.com/qicosmos/rest_rpc.git |
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,4 @@ | ||
extraction: | ||
cpp: | ||
index: | ||
build_command: make static_lib |
Oops, something went wrong.