-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LMDBInodeCatalog + LMDBFileContentStore
Summary: X-link: facebookincubator/velox#7542 ties all of the pieces together. The bulk of the net-new logic is in `OverlayFile`, with the LMDB stuff being ported from other implementations or just delegating calls to other classes. Reviewed By: kmancini Differential Revision: D46914322 fbshipit-source-id: 3434b71c92ece6b94a3c08828df286b04152d50f
- Loading branch information
1 parent
2423e3e
commit e3bf55c
Showing
3 changed files
with
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright (c) Meta Platforms, Inc. and affiliates. | ||
# | ||
# This software may be used and distributed according to the terms of the | ||
# GNU General Public License version 2. | ||
|
||
find_library(LMDB_LIBRARIES NAMES lmdb liblmdb) | ||
mark_as_advanced(LMDB_LIBRARIES) | ||
|
||
find_path(LMDB_INCLUDE_DIR NAMES lmdb.h) | ||
mark_as_advanced(LMDB_INCLUDE_DIR) | ||
|
||
find_package_handle_standard_args( | ||
LMDB | ||
REQUIRED_VARS LMDB_LIBRARIES LMDB_INCLUDE_DIR) | ||
|
||
if(LMDB_FOUND) | ||
set(LMDB_LIBRARIES ${LMDB_LIBRARIES}) | ||
set(LMDB_INCLUDE_DIR, ${LMDB_INCLUDE_DIR}) | ||
endif() |
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,17 @@ | ||
[manifest] | ||
name = lmdb | ||
|
||
[build] | ||
builder = make | ||
subdir = lmdb-LMDB_0.9.31/libraries/liblmdb | ||
|
||
[download] | ||
url = https://github.com/LMDB/lmdb/archive/refs/tags/LMDB_0.9.31.tar.gz | ||
sha256 = dd70a8c67807b3b8532b3e987b0a4e998962ecc28643e1af5ec77696b081c9b0 | ||
|
||
[make.build_args] | ||
BUILD_STATIC_ONLY=y | ||
|
||
[make.install_args] | ||
install | ||
BUILD_STATIC_ONLY=y |