Skip to content

Commit

Permalink
[LMDB] update to 0.9.29 (#24045)
Browse files Browse the repository at this point in the history
* #24044 LMDB update to 0.9.29

* #24044 LMDB update to 0.9.29

* #24044 LMDB update to 0.9.29

* Modernize port file.cmake

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
  • Loading branch information
juandemanjon and JonLiu1993 committed Apr 11, 2022
1 parent 6f9687b commit 9c5dcd6
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 14 deletions.
18 changes: 9 additions & 9 deletions ports/lmdb/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO LMDB/lmdb
REF 0c357cc88a00bda03aa4a982fc227a5872707df2 # LMDB_0.9.24
SHA512 a4d4ff96078eaf608eff08014d56561903f113a32617d3c9327dcdedfb7b261e03a80bf705f9d7159bb065eb1ab3c95af49d42525b75de0c2953223377042dec
REF 8ad7be2510414b9506ec9f9e24f24d04d9b04a1a # LMDB_0.9.29
SHA512 a18b6217761bdfcc5964d9817addd2d0c6c735d02a823717eb7ae1561a48110da0708a3290e21297d481e4d8eeb5d92a4a6860ff44888bf2da665cd9f167513c
HEAD_REF master
)

file(COPY ${CMAKE_CURRENT_LIST_DIR}/cmake/ DESTINATION ${SOURCE_PATH}/libraries/liblmdb)
file(COPY "${CMAKE_CURRENT_LIST_DIR}/cmake/" DESTINATION "${SOURCE_PATH}/libraries/liblmdb")

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/libraries/liblmdb
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/libraries/liblmdb"
OPTIONS_DEBUG
-DLMDB_INSTALL_HEADERS=OFF
)

vcpkg_install_cmake()
vcpkg_fixup_cmake_targets()
vcpkg_cmake_install()

file(INSTALL ${SOURCE_PATH}/libraries/liblmdb/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/lmdb RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

file(INSTALL "${SOURCE_PATH}/libraries/liblmdb/COPYRIGHT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/lmdb" RENAME copyright)

vcpkg_copy_pdbs()
15 changes: 12 additions & 3 deletions ports/lmdb/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
{
"name": "lmdb",
"version": "0.9.24",
"port-version": 2,
"version": "0.9.29",
"description": "LMDB is an extraordinarily fast, memory-efficient database",
"homepage": "https://github.com/LMDB/lmdb",
"license": null
"license": null,
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4249,8 +4249,8 @@
"port-version": 3
},
"lmdb": {
"baseline": "0.9.24",
"port-version": 2
"baseline": "0.9.29",
"port-version": 0
},
"lodepng": {
"baseline": "2021-12-04",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/lmdb.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "980e2c4a26c75996e3940a9b46032356643e592b",
"version": "0.9.29",
"port-version": 0
},
{
"git-tree": "022fa44ff8c5ef9ea4b308468259c0775d4a72c1",
"version": "0.9.24",
Expand Down

0 comments on commit 9c5dcd6

Please sign in to comment.