[sentencepiece] update to 0.2.1 (#47546)

This commit is contained in:
toge
2025-09-30 02:25:44 +09:00
committed by GitHub
parent 445cd73488
commit 7f8b4cd0e6
5 changed files with 9 additions and 18 deletions

View File

@@ -1,12 +0,0 @@
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d983089..19736d8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -264,7 +264,6 @@ if (NOT MSVC)
if (SPM_COVERAGE)
set(CMAKE_CXX_FLAGS "-O0 -Wall -fPIC -coverage ${CMAKE_CXX_FLAGS}")
else()
- set(CMAKE_CXX_FLAGS "-O3 -Wall -fPIC ${CMAKE_CXX_FLAGS}")
endif()
if (SPM_ENABLE_TENSORFLOW_SHARED)
add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)

View File

@@ -6,11 +6,10 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO google/sentencepiece
REF "v${VERSION}"
SHA512 b4214f5bfbe2a0757794c792e87e7c53fda7e65b2511b37fc757f280bf9287ba59b5d630801e17de6058f8292a3c6433211917324cb3446a212a51735402e614
SHA512 012850b63b2323e16acc5dacc0a494ad3f6375425ee86274f0946032e47c088a3b307758b99d752fcf54acf76c82d7d13d0c14bbf07aa9b612c4f1fbd30cf1cf
HEAD_REF master
PATCHES
abseil.diff
cxxflags.diff
linkage.diff
)

View File

@@ -1,7 +1,6 @@
{
"name": "sentencepiece",
"version": "0.2.0",
"port-version": 2,
"version": "0.2.1",
"description": "SentencePiece is an unsupervised text tokenizer and detokenizer mainly for Neural Network-based text generation systems where the vocabulary size is predetermined prior to the neural model training",
"homepage": "https://github.com/google/sentencepiece",
"license": "Apache-2.0",

View File

@@ -8789,8 +8789,8 @@
"port-version": 8
},
"sentencepiece": {
"baseline": "0.2.0",
"port-version": 2
"baseline": "0.2.1",
"port-version": 0
},
"sentry-native": {
"baseline": "0.11.1",

View File

@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2cf2b018e811cdee4e5efee0a66e07eff7bdc0c1",
"version": "0.2.1",
"port-version": 0
},
{
"git-tree": "4c4e0d438d3d86d651ccf3ac963c546dad41a769",
"version": "0.2.0",