From 4d34f8cb05cfad6fb528a12936cbe86988f5c280 Mon Sep 17 00:00:00 2001 From: Barak Shoshany Date: Thu, 19 Dec 2024 22:56:49 -0500 Subject: [PATCH] bshoshany-thread-pool: update to v5.0.0 --- releases.json | 1 + subprojects/bshoshany-thread-pool.wrap | 8 ++++---- .../packagefiles/bshoshany-thread-pool/meson.build | 6 +++--- .../packagefiles/bshoshany-thread-pool/tests/meson.build | 6 +++--- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/releases.json b/releases.json index 91cc0e5f1..05d1d45f3 100644 --- a/releases.json +++ b/releases.json @@ -225,6 +225,7 @@ "bshoshany-thread-pool" ], "versions": [ + "5.0.0-1", "4.1.0-1", "4.0.1-1", "4.0.0-1", diff --git a/subprojects/bshoshany-thread-pool.wrap b/subprojects/bshoshany-thread-pool.wrap index 7dbd9bec0..f6ff9e4c1 100644 --- a/subprojects/bshoshany-thread-pool.wrap +++ b/subprojects/bshoshany-thread-pool.wrap @@ -1,8 +1,8 @@ [wrap-file] -directory = thread-pool-4.1.0 -source_url = https://github.com/bshoshany/thread-pool/archive/refs/tags/v4.1.0.zip -source_filename = thread-pool-4.1.0.zip -source_hash = a18a28491653072afe27f76e19fa510f5801c3811609480f1da7409861e0f0fe +directory = thread-pool-5.0.0 +source_url = https://github.com/bshoshany/thread-pool/archive/refs/tags/v5.0.0.zip +source_filename = thread-pool-5.0.0.zip +source_hash = d3e4be162c45ac784ac6fb2096f9494469571a3473a18829c2adae1aab67cfbc patch_directory = bshoshany-thread-pool [provide] diff --git a/subprojects/packagefiles/bshoshany-thread-pool/meson.build b/subprojects/packagefiles/bshoshany-thread-pool/meson.build index 6b24dceff..75e4d7c47 100644 --- a/subprojects/packagefiles/bshoshany-thread-pool/meson.build +++ b/subprojects/packagefiles/bshoshany-thread-pool/meson.build @@ -1,5 +1,5 @@ project('bshoshany-thread-pool', 'cpp', - version : '4.1.0', + version : '5.0.0', license : 'MIT', meson_version: '>=0.47.0', default_options: ['cpp_std=c++17'], @@ -8,7 +8,7 @@ project('bshoshany-thread-pool', 'cpp', thread_dep = dependency('threads') bshoshany_thread_pool_dep = declare_dependency( - include_directories: include_directories('include'), + include_directories: include_directories('include', 'modules'), dependencies: thread_dep ) @@ -22,7 +22,7 @@ endif if not meson.is_subproject() install_headers( 'include/BS_thread_pool.hpp', - 'include/BS_thread_pool_utils.hpp' + 'modules/BS.thread_pool.cppm' ) endif diff --git a/subprojects/packagefiles/bshoshany-thread-pool/tests/meson.build b/subprojects/packagefiles/bshoshany-thread-pool/tests/meson.build index acd7724e9..29e66c06b 100644 --- a/subprojects/packagefiles/bshoshany-thread-pool/tests/meson.build +++ b/subprojects/packagefiles/bshoshany-thread-pool/tests/meson.build @@ -1,7 +1,7 @@ -BS_thread_pool_test_exe = executable('thread_pool_test', +BS_thread_pool_test_exe = executable('BS_thread_pool_test', 'BS_thread_pool_test.cpp', dependencies: [bshoshany_thread_pool_dep], ) -test('thread_pool_test', BS_thread_pool_test_exe) -benchmark('thread_pool_test benchmark', BS_thread_pool_test_exe) +test('BS_thread_pool_test', BS_thread_pool_test_exe, args: 'log stdout tests') +benchmark('BS_thread_pool_test benchmark', BS_thread_pool_test_exe, args: 'log stdout benchmarks')