Skip to content

Commit

Permalink
[cpp-timsort] Update to 3.0.0 (#40190)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyWangLL authored Jul 31, 2024
1 parent 2d27533 commit f6054b1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
9 changes: 5 additions & 4 deletions ports/cpp-timsort/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
set(VCPKG_BUILD_TYPE release) # header-only

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO timsort/cpp-TimSort
REF v2.1.0
SHA512 57fe79d3174d9939a3212282cf64f4fdd90586eba806f57df65eb42c2b4783a68f39bd2b6709830b1688ae15f1a83f554468059b2ddf52b31805bfd23efc7db1
REF "v${VERSION}"
SHA512 4110017fa25055724a896367f572f1119f0635c7be787f600d68714e4438dd73d0d023f3d021c3c15a3b09a47b13c43a927a2674e5ca601ef5a202b9bc56b849
HEAD_REF master
)

Expand All @@ -16,7 +18,6 @@ vcpkg_cmake_install()

vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/gfx PACKAGE_NAME gfx-timsort)

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
3 changes: 2 additions & 1 deletion ports/cpp-timsort/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "cpp-timsort",
"version": "2.1.0",
"version": "3.0.0",
"description": "A C++ implementation of timsort",
"homepage": "https://github.com/timsort/cpp-TimSort",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1905,7 +1905,7 @@
"port-version": 2
},
"cpp-timsort": {
"baseline": "2.1.0",
"baseline": "3.0.0",
"port-version": 0
},
"cppad": {
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/cpp-timsort.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f5a8b81f0e75aa7dfb3545271564bfd1ff8977c3",
"version": "3.0.0",
"port-version": 0
},
{
"git-tree": "f04e9f0c24e916697a6451b43cf16a2423019635",
"version": "2.1.0",
Expand Down

0 comments on commit f6054b1

Please sign in to comment.