-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
container: link against system rocksdb (#96)
This commit installs librocksdb-dev inside the build image layer and sets the ROCKSDB_LIB_DIR environment variable so that librocksdb-sys is build against the pre-compiled artifacts rather than vendoring rocksdb. This should significantly speed up build times. Note that we transitively depend on `librocksdb-sys:0.8.3+7.4.4` which requires librocksdb 7.4.4, while debian bookworm provides librocksdb 7.8.3. This commit assumes that rocksdb is backward compatible (i.e. 7.8.3 can be used in place of 7.4.4). Note that this commit does not yet account for cross compilation on an x86 host targetting aarch64.
- Loading branch information
1 parent
fe51825
commit 873887c
Showing
3 changed files
with
15 additions
and
8 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
target/ | ||
|
||
|
||
# jetbrains | ||
.idea | ||
# direnv | ||
.envrc |
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