[bitmagic] update to 9.2.1 (#53187)

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
toge 2026-08-06 09:36:33 +09:00 committed by GitHub
parent 1972d3e7e4
commit 6ba97b090b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 25 additions and 35 deletions

View File

@ -1,16 +0,0 @@
diff --git a/src/bmsparsevec_compr.h b/src/bmsparsevec_compr.h
index ed774c6d..5dbaf09f 100644
--- a/src/bmsparsevec_compr.h
+++ b/src/bmsparsevec_compr.h
@@ -280,7 +280,10 @@ public:
/** add a series of consequitve NULLs (no-value) to the container */
void add_null(size_type count) BMNOEXCEPT;
-
+
+ /** return true if insertion buffer is empty */
+ bool empty() const { return sv_bi_.empty(); }
+
/** flush the accumulated buffer */
void flush();
protected:

View File

@ -1,14 +1,16 @@
# Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO tlk00/BitMagic
REF "v${VERSION}"
SHA512 49e1fe4b1628d54ca6b45d8b2a5a1f31aaec67a949630b3ca60c2e70af536d7954fbf8577cf26981436339818ddf243c5c2579585755f42c9dc6a87e0e6d9548
HEAD_REF master
PATCHES
fix-clang.patch #https://github.com/tlk00/BitMagic/commit/6dfdcbd1222b3919c2a3b71bfde38db5c7862f97
)
file(GLOB HEADER_LIST "${SOURCE_PATH}/src/*.h")
file(INSTALL ${HEADER_LIST} DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
# Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO tlk00/BitMagic
REF "v${VERSION}"
SHA512 2a7ac70a62a25662221afd9c6ff2e978492e7ecf913b480567ce0a105e46bcf3a9efe13e7c9276825ea0ea8d59ba9764ac2658bff6f52aefa7590d9decbc8fd0
HEAD_REF master
)
file(GLOB HEADER_LIST "${SOURCE_PATH}/src/*.h")
file(INSTALL ${HEADER_LIST} DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
vcpkg_install_copyright(
FILE_LIST
"${SOURCE_PATH}/LICENSE"
"${SOURCE_PATH}/src/sse2neon.h"
)

View File

@ -1,8 +1,7 @@
{
"name": "bitmagic",
"version": "8.0.1",
"port-version": 1,
"version": "9.2.1",
"description": "Algorithms and tools for Algebra of Sets for information retrieval, indexing of databases, scientific algorithms, ranking, clustering, unsupervised machine learning and signal processing.",
"homepage": "http://bitmagic.io",
"license": "Apache-2.0"
"license": null
}

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c7c7bcd5041966a6a585eeb827d6cb985b7ae455",
"version": "9.2.1",
"port-version": 0
},
{
"git-tree": "8112a1ee30dc07987204b0599d20a1800a0ebd1c",
"version": "8.0.1",

View File

@ -745,8 +745,8 @@
"port-version": 0
},
"bitmagic": {
"baseline": "8.0.1",
"port-version": 1
"baseline": "9.2.1",
"port-version": 0
},
"bitserializer": {
"baseline": "0.85",