[bitmagic] update to 8.0.1 (#44812)

This commit is contained in:
toge 2025-04-05 16:28:45 +09:00 committed by GitHub
parent 538cd117cb
commit a211eed4f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 10 additions and 29 deletions

View File

@ -1,22 +0,0 @@
diff --git a/src/bm.h b/src/bm.h
index 547b108..0c59785 100644
--- a/src/bm.h
+++ b/src/bm.h
@@ -523,7 +523,7 @@ public:
{
bvect_ = ii.bvect_;
if (!buf_)
- buf_ = bvect_->allocate_tempblock();
+ buf_ = (value_type*) bvect_->blockman_.get_allocator().alloc_bit_block();
buf_size_ = ii.buf_size_;
::memcpy(buf_, ii.buf_, buf_size_ * sizeof(*buf_));
sorted_ = ii.sorted_;
@@ -534,7 +534,7 @@ public:
{
bvect_ = ii.bvect_;
if (buf_)
- bvect_->free_tempblock(buf_);
+ bvect_->blockman_.get_allocator().free_bit_block((bm::word_t*)buf_);
buf_ = ii.buf_; ii.buf_ = 0;
buf_size_ = ii.buf_size_;
sorted_ = ii.sorted_;

View File

@ -2,10 +2,9 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO tlk00/BitMagic
REF "v${VERSION}"
SHA512 d034f66b8631d09cb0be11b96f5f12dea416ef2cfca42ed7f0865aeb65102a4951821805ec65bee793541ce1a665e5d11ba4bedb0d79956c0eee6c856afb29b2
REF "v${VERSION}"
SHA512 49e1fe4b1628d54ca6b45d8b2a5a1f31aaec67a949630b3ca60c2e70af536d7954fbf8577cf26981436339818ddf243c5c2579585755f42c9dc6a87e0e6d9548
HEAD_REF master
PATCHES
fix-clang.patch #https://github.com/tlk00/BitMagic/commit/fab01f43eca266bf56efb1aca659773c911a83fb
)

View File

@ -1,7 +1,6 @@
{
"name": "bitmagic",
"version": "7.13.4",
"port-version": 1,
"version": "8.0.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"

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e99ecd5760a75e09682d6e1485ebbdde4cfa51a5",
"version": "8.0.1",
"port-version": 0
},
{
"git-tree": "14d510fa0efbea29992a891120f898df71dc746d",
"version": "7.13.4",

View File

@ -689,8 +689,8 @@
"port-version": 1
},
"bitmagic": {
"baseline": "7.13.4",
"port-version": 1
"baseline": "8.0.1",
"port-version": 0
},
"bitserializer": {
"baseline": "0.75",