From 71422c627264daedcbcd46f01f1ed0dcd8460f1b Mon Sep 17 00:00:00 2001 From: 7FrogTW Date: Mon, 6 Sep 2021 00:49:17 +0800 Subject: [PATCH] [sentencepiece] v0.1.95 (#19858) --- ports/sentencepiece/portfile.cmake | 6 ++---- ports/sentencepiece/rename-version.patch | 8 -------- ports/sentencepiece/vcpkg.json | 3 +-- versions/baseline.json | 4 ++-- versions/s-/sentencepiece.json | 5 +++++ 5 files changed, 10 insertions(+), 16 deletions(-) delete mode 100644 ports/sentencepiece/rename-version.patch diff --git a/ports/sentencepiece/portfile.cmake b/ports/sentencepiece/portfile.cmake index e554a0d5a2..38c551cee6 100644 --- a/ports/sentencepiece/portfile.cmake +++ b/ports/sentencepiece/portfile.cmake @@ -5,12 +5,10 @@ endif() vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO google/sentencepiece - REF v0.1.82 - SHA512 669d6a1e86c44587d725b1e93f11b707e510a180dec08afb79268158f5de009cb20ffccc72c501c84f032360e52e53ae227504f3538f59978629433e0d6fcf65 + REF v0.1.95 + SHA512 22484cf0311315e25a3184561f4e18b45286ad068bfb722c860e1b44fb16913c96d34723b486fab5e4e1e69f4b620a0e3cff410f56cb6561a67193ebaf565a31 HEAD_REF master - PATCHES rename-version.patch ) -file(RENAME "${SOURCE_PATH}/VERSION" "${SOURCE_PATH}/VERSION.txt") vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} diff --git a/ports/sentencepiece/rename-version.patch b/ports/sentencepiece/rename-version.patch deleted file mode 100644 index 823a1b9b02..0000000000 --- a/ports/sentencepiece/rename-version.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -15,4 +15,4 @@ - cmake_minimum_required(VERSION 3.1 FATAL_ERROR) --file(STRINGS "VERSION" SPM_VERSION) -+file(STRINGS "VERSION.txt" SPM_VERSION) - message(STATUS "VERSION: ${SPM_VERSION}") - project(sentencepiece VERSION ${SPM_VERSION} LANGUAGES CXX) diff --git a/ports/sentencepiece/vcpkg.json b/ports/sentencepiece/vcpkg.json index cdd9388858..0a621c341b 100644 --- a/ports/sentencepiece/vcpkg.json +++ b/ports/sentencepiece/vcpkg.json @@ -1,6 +1,5 @@ { "name": "sentencepiece", - "version": "0.1.82", - "port-version": 1, + "version": "0.1.95", "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" } diff --git a/versions/baseline.json b/versions/baseline.json index 6e7defe6b4..07b4d96bcb 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5853,8 +5853,8 @@ "port-version": 5 }, "sentencepiece": { - "baseline": "0.1.82", - "port-version": 1 + "baseline": "0.1.95", + "port-version": 0 }, "sentry-native": { "baseline": "0.4.12", diff --git a/versions/s-/sentencepiece.json b/versions/s-/sentencepiece.json index fe93e69d26..5a139553e2 100644 --- a/versions/s-/sentencepiece.json +++ b/versions/s-/sentencepiece.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "107679132fbb9a52ab4c995583db14a748554565", + "version": "0.1.95", + "port-version": 0 + }, { "git-tree": "80fecc6a62e7e634b59ec58f737202c0773fa73e", "version": "0.1.82",