aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
author7FrogTW <jjyyg1123@gmail.com>2021-09-06 00:49:17 +0800
committerGitHub <noreply@github.com>2021-09-05 09:49:17 -0700
commit71422c627264daedcbcd46f01f1ed0dcd8460f1b (patch)
tree09509cfbc1f078d9b8fb7724b73077bdda0f9af1 /ports
parent210240b399fbc2f1363f4103b6a93629c207d7e3 (diff)
downloadvcpkg-71422c627264daedcbcd46f01f1ed0dcd8460f1b.tar.gz
vcpkg-71422c627264daedcbcd46f01f1ed0dcd8460f1b.zip
[sentencepiece] v0.1.95 (#19858)
Diffstat (limited to 'ports')
-rw-r--r--ports/sentencepiece/portfile.cmake6
-rw-r--r--ports/sentencepiece/rename-version.patch8
-rw-r--r--ports/sentencepiece/vcpkg.json3
3 files changed, 3 insertions, 14 deletions
diff --git a/ports/sentencepiece/portfile.cmake b/ports/sentencepiece/portfile.cmake
index e554a0d5a..38c551cee 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 823a1b9b0..000000000
--- 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 cdd938885..0a621c341 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"
}