From 5c425b4df679a2abbefd86ea032bcc13b3030cd1 Mon Sep 17 00:00:00 2001 From: Barak Shoshany Date: Fri, 20 Dec 2024 15:32:18 -0500 Subject: [PATCH] [bshoshany-thread-pool] Updated to v5.0.0 (#42803) --- ports/bshoshany-thread-pool/portfile.cmake | 6 +++--- ports/bshoshany-thread-pool/vcpkg.json | 4 ++-- versions/b-/bshoshany-thread-pool.json | 5 +++++ versions/baseline.json | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/ports/bshoshany-thread-pool/portfile.cmake b/ports/bshoshany-thread-pool/portfile.cmake index e9b47b2114..919943455a 100644 --- a/ports/bshoshany-thread-pool/portfile.cmake +++ b/ports/bshoshany-thread-pool/portfile.cmake @@ -2,12 +2,12 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO bshoshany/thread-pool REF "v${VERSION}" - SHA512 4908f00def23082e7ddc0b24a710e53b3fde51b02188e79cfcd9dabb22627ebd1b6e5b3c4bf1b366eae79660c26878cc034c171747c3d0b7ef8a98c85a77033b + SHA512 ba118decce074a3bbd004dcd3d2ee233b629c6f7b452e6e81700107f22c1b426931121b03e6497c1e3035dfdc6631080ebb539201fcbe1c3a8e919210d3ebf91 HEAD_REF master ) -file(GLOB HEADER_FILES LIST_DIRECTORIES false "${SOURCE_PATH}/include/*.hpp") +file(INSTALL "${SOURCE_PATH}/include/BS_thread_pool.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include") -file(INSTALL ${HEADER_FILES} DESTINATION "${CURRENT_PACKAGES_DIR}/include") +file(INSTALL "${SOURCE_PATH}/modules/BS.thread_pool.cppm" DESTINATION "${CURRENT_PACKAGES_DIR}/modules") file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/bshoshany-thread-pool/vcpkg.json b/ports/bshoshany-thread-pool/vcpkg.json index 9390a97180..e921ccf1e8 100644 --- a/ports/bshoshany-thread-pool/vcpkg.json +++ b/ports/bshoshany-thread-pool/vcpkg.json @@ -1,8 +1,8 @@ { "name": "bshoshany-thread-pool", - "version": "4.1.0", + "version": "5.0.0", "maintainers": "Barak Shoshany ", - "description": "BS::thread_pool: a fast, lightweight, and easy-to-use C++17 thread pool library", + "description": "BS::thread_pool: a fast, lightweight, modern, and easy-to-use C++17 / C++20 / C++23 thread pool library", "homepage": "https://github.com/bshoshany/thread-pool", "documentation": "https://github.com/bshoshany/thread-pool/blob/master/README.md", "license": "MIT" diff --git a/versions/b-/bshoshany-thread-pool.json b/versions/b-/bshoshany-thread-pool.json index d90058ddd4..32ef6e71b4 100644 --- a/versions/b-/bshoshany-thread-pool.json +++ b/versions/b-/bshoshany-thread-pool.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "c510dba5b5989297225afde0848cb82ab8ccb1ad", + "version": "5.0.0", + "port-version": 0 + }, { "git-tree": "7abe89f1cf1c33f953c027825b6861abccc4beb7", "version": "4.1.0", diff --git a/versions/baseline.json b/versions/baseline.json index 83a4286f21..ecdd0cc5b8 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1413,7 +1413,7 @@ "port-version": 0 }, "bshoshany-thread-pool": { - "baseline": "4.1.0", + "baseline": "5.0.0", "port-version": 0 }, "bsio": {