[rocksdb] update to v9.10.0 (#43094)

This commit is contained in:
Yury Bura 2025-01-07 01:32:38 +01:00 committed by GitHub
parent 2ee88b870f
commit bca3843639
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 25 additions and 3 deletions

View File

@ -0,0 +1,16 @@
env/io_posix.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/env/io_posix.h b/env/io_posix.h
index 60788df9b..8ddfb3456 100644
--- a/env/io_posix.h
+++ b/env/io_posix.h
@@ -30,7 +30,7 @@
// For non linux platform, the following macros are used only as place
// holder.
#if !(defined OS_LINUX) && !(defined OS_FREEBSD) && !(defined CYGWIN) && \
- !(defined OS_AIX) && !(defined OS_ANDROID)
+ !(defined OS_AIX) && !(defined OS_ANDROID && __ANDROID_API__ >= 23)
#define POSIX_FADV_NORMAL 0 /* [MC1] no further special treatment */
#define POSIX_FADV_RANDOM 1 /* [MC1] expect random page refs */
#define POSIX_FADV_SEQUENTIAL 2 /* [MC1] expect sequential page refs */

View File

@ -2,10 +2,11 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO facebook/rocksdb
REF "v${VERSION}"
SHA512 34afd421c86bdb3741f49e35466efbaef041d8461bedf7d32fa6d808e3cc38807aafddfd0bb563f34d21de8f0d31dfc26dcae3208c2dd36da449913cef9a3e1b
SHA512 b9a53c13f69e723cc41f8431ffc2f0b0be7a85d7a598b2f7a41cf89c34cb3ec55ba8b7874d579914851da59f252e2fcbe8091e490e9a6eca68d7995e2f8b667e
HEAD_REF main
PATCHES
0001-fix-dependencies.patch
0002-fix-android.patch
)
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "dynamic" WITH_MD_LIBRARY)

View File

@ -1,6 +1,6 @@
{
"name": "rocksdb",
"version": "9.8.4",
"version": "9.10.0",
"description": "A library that provides an embeddable, persistent key-value store for fast storage",
"homepage": "https://github.com/facebook/rocksdb",
"license": "GPL-2.0-only OR Apache-2.0",

View File

@ -8029,7 +8029,7 @@
"port-version": 0
},
"rocksdb": {
"baseline": "9.8.4",
"baseline": "9.10.0",
"port-version": 0
},
"rpclib": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6587a5da30b690d56e47430a61cddbd3737e4f2d",
"version": "9.10.0",
"port-version": 0
},
{
"git-tree": "efc6be9410c84ce01053b664e06702749d8c0951",
"version": "9.8.4",