-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Omnibus patch for CDB * clean up a bunch of lint errors * move to using failure crate * cdb-generation-utility for running performance tests * selectable mmap or heap backends * bindgen the cdb_rs.h include file so we can share structures between C and Rust * merged cdb_ffi and cdb_rs * build tweak to integrate rust builds * make rust CI optional * kevyang feedback, add test for cdb_destroy pointer nulling * fix clippy lints * more kyang feedback * remove twitter-specific stuff, address yao's feedback * add distinguishing marker to Cargo.toml in cdb dir * ignore dist dir * fix scripts to be compatible with ancient version of git in centos
- Loading branch information
Showing
40 changed files
with
924 additions
and
436 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,3 +47,4 @@ compile_commands.json | |
|
||
*.cmd | ||
core | ||
CMAKE_BINARY_DIR |
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
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,20 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
die() { echo "fatal: $*" >&2; exit 1; } | ||
|
||
TEMP="$(mktemp -d -t TEMP.XXXXXXX)" || die "failed to make tmpdir" | ||
cleanup() { [[ -n "${TEMP:-}" ]] && rm -rf "${TEMP}"; } | ||
trap cleanup EXIT | ||
|
||
|
||
if [[ -n "$(git status --porcelain)" ]]; then | ||
die "dirty working copy state, please commit changes before running this script" | ||
fi | ||
|
||
git archive --format=tar --prefix=pelikan/ HEAD .|tar -C "$TEMP" -xf- | ||
cd "$TEMP/pelikan" | ||
|
||
bash ./ci/run.sh |
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
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
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
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
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
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 |
---|---|---|
|
@@ -5,3 +5,5 @@ | |
*.cdb | ||
perf.data* | ||
*.cdb* | ||
.cargo/ | ||
dist/ |
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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
add_subdirectory(cdb_ffi) | ||
execute_process(COMMAND | ||
env "CMAKE_BINARY_DIR=${CMAKE_BINARY_DIR}" bash scripts/build-cargo-config.sh | ||
WORKING_DIRECTORY "$CMAKE_CURRENT_LIST_DIR}") | ||
add_subdirectory(cdb_rs) | ||
add_dependencies(ccommon_rs_static_target ccommon-static) |
Oops, something went wrong.