From nobody Sat Jan 18 03:29:39 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YZhtD1NC1z5kjC4; Sat, 18 Jan 2025 03:29:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YZhtC6BfFz3ksr; Sat, 18 Jan 2025 03:29:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737170979; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2lY0bRZLVKonUXP5JEuE6xoNwucKPwVnjrOsbWYXLfo=; b=NoJU/KcWSKCOPDeecG3Y3QRIk13adjZfytZw4V7meSZonXldwQ25WkXZvJ6XzSXnjQQ2B4 qZG6Y6bLsNBtJal3HNomU/A0m2b6Vy8G86vkfC1xsyI9f4sq7gDQH+A4ci0fGHO/yh6wxd TucX8nP5QG7MAXl2x4iSrHcKiNFl1JfhB2iuhsob+LmcnjsbB6DCOBs+5qy6IFFcyz2mO4 BouSOcqIdoWQO8jUeBdY4bxbjK/llFkhIVlO8FDh6wBwfEzSMJc/fD537n3ks7l3ZlkxYF gLZE9m+YMojrca61DVbGxjVsqASdFa8OLtarQq5PGVC22mlwSodR5tIWKw1dmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737170979; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2lY0bRZLVKonUXP5JEuE6xoNwucKPwVnjrOsbWYXLfo=; b=k1hRF85LaIv1CnGny0NPDHCbte0NfrEA70FsJCzVyiLnhzCIHssoTz3dpzOXmJiqvzJdTi dq4u1VJRnCaui3iN5jb8QEljZ6ZBXXUhrKUV8n5NUZwwI1OqNepWBhLJqCArEkvOt49lgY dZbf7e0pmUw3miGjEqCVx2cI5uFqV7k97jKNxj0K6fWCdOqN8qrEod4BzSR6lgYojktaL+ 6uT03w2nY7AGgS6xnzTHKKqNaCduf61xsnbMu0E0O1/gXjuRwAE9hrKgTmAepsQOR+Nqsp V4/cQExPcPicLkD0XfJ7AcsCrwtHMGfwuic20wHzz66bhiOlOt2OCFct46WomA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737170979; a=rsa-sha256; cv=none; b=d82o2NX0nADAg8+neq9+/GEkukA2KlUS8Y8CZj79I5eiBAF41u2ok/0ayBOnE7BzAp/VdN ISoqToAi/kAsCQW4j2OyWvGvy+SneGwltsChrMUV9REgw02WhfzDa3fXftDbOu4MVc/jP9 K3cRaQbyifeD6DtnYfAPwTwiRaxyEicFPXrg/R3fnnAGRu7EIcF022xSN/wzVjvM4/xqZX NAFq95qUFsSHNpdbjz+r+DeCY3GexfyBmAH1I/GC87NYBrohhFBVHOW/2/hfAuksS3RBlw vr2Bl17NUXnoeIojt615iIIuW7Ql5wyewYA+znzx7REbwA315l4HImwJrUDSdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YZhtC4tTlzmvK; Sat, 18 Jan 2025 03:29:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50I3Tdsi072200; Sat, 18 Jan 2025 03:29:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50I3TdRa072197; Sat, 18 Jan 2025 03:29:39 GMT (envelope-from git) Date: Sat, 18 Jan 2025 03:29:39 GMT Message-Id: <202501180329.50I3TdRa072197@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 75229d51d59c - main - devel/pika: update 0.30.0 =?utf-8?Q?=E2=86=92?= 0.31.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 75229d51d59c492b6d49fc6522615f3a30e5de03 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=75229d51d59c492b6d49fc6522615f3a30e5de03 commit 75229d51d59c492b6d49fc6522615f3a30e5de03 Author: Yuri Victorovich AuthorDate: 2025-01-18 03:23:18 +0000 Commit: Yuri Victorovich CommitDate: 2025-01-18 03:29:33 +0000 devel/pika: update 0.30.0 → 0.31.0 --- devel/pika/Makefile | 5 +++-- devel/pika/distinfo | 6 +++--- .../patch-libs_pika_debugging_tests_unit_print.cpp | 24 ++++++++++++++++++++++ ...bs_pika_program__options_tests_unit_parsers.cpp | 24 ++++++++++++++++++++++ ...ource__partitioner_tests_unit_suspend__pool.cpp | 14 +++++++++++++ ...rce__partitioner_tests_unit_suspend__thread.cpp | 14 +++++++++++++ ...patch-libs_pika_threading_tests_unit_thread.cpp | 14 +++++++++++++ ...tests_regressions_unhandled__exception__582.cpp | 14 +++++++++++++ devel/pika/pkg-plist | 13 +++--------- 9 files changed, 113 insertions(+), 15 deletions(-) diff --git a/devel/pika/Makefile b/devel/pika/Makefile index c6af83c581a4..b1dbe673cfe1 100644 --- a/devel/pika/Makefile +++ b/devel/pika/Makefile @@ -1,5 +1,5 @@ PORTNAME= pika -DISTVERSION= 0.30.0 +DISTVERSION= 0.31.0 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org @@ -33,8 +33,9 @@ post-install: @${RM} -r ${STAGEDIR}${DATADIR} # remove copy of license post-test: # run the tests according to https://pikacpp.org/usage.html#testing (make tests test doesn't work) - # some tests fail because freebsd_environ isn't initialized, see https://github.com/pika-org/pika/issues/895 @cd ${BUILD_WRKSRC} && \ ${MAKE_CMD} test +# tests as of 0.31.0: 100% tests passed, 0 tests failed out of 515 + .include diff --git a/devel/pika/distinfo b/devel/pika/distinfo index 73ca0ec5d405..c8d17d0fc16a 100644 --- a/devel/pika/distinfo +++ b/devel/pika/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1731128938 -SHA256 (pika-org-pika-0.30.0_GH0.tar.gz) = 1798bf7de2505bc707bf95716fda8de5630b2e2ae54a6c4ef59f9931394d31cc -SIZE (pika-org-pika-0.30.0_GH0.tar.gz) = 1179105 +TIMESTAMP = 1737159757 +SHA256 (pika-org-pika-0.31.0_GH0.tar.gz) = bdbd8e36afb367cc2c7172e5a819c756e4ee20e74dfdec4905f2e84bf097eb7c +SIZE (pika-org-pika-0.31.0_GH0.tar.gz) = 1099311 diff --git a/devel/pika/files/patch-libs_pika_debugging_tests_unit_print.cpp b/devel/pika/files/patch-libs_pika_debugging_tests_unit_print.cpp new file mode 100644 index 000000000000..db0078dedda6 --- /dev/null +++ b/devel/pika/files/patch-libs_pika_debugging_tests_unit_print.cpp @@ -0,0 +1,24 @@ +--- libs/pika/debugging/tests/unit/print.cpp.orig 2024-12-18 14:24:34 UTC ++++ libs/pika/debugging/tests/unit/print.cpp +@@ -12,6 +12,9 @@ + #include + #include + #include ++#if defined(__FreeBSD__) ++# include ++#endif + + #include + #include +@@ -29,6 +32,11 @@ int main() + + int main() + { ++#if defined(__FreeBSD__) ++ extern char **environ; ++ freebsd_environ = environ; ++#endif ++ + // some counters we will use for checking if anything happens or not + std::atomic enabled_counter(0); + std::atomic disabled_counter(0); diff --git a/devel/pika/files/patch-libs_pika_program__options_tests_unit_parsers.cpp b/devel/pika/files/patch-libs_pika_program__options_tests_unit_parsers.cpp new file mode 100644 index 000000000000..56721af57b5f --- /dev/null +++ b/devel/pika/files/patch-libs_pika_program__options_tests_unit_parsers.cpp @@ -0,0 +1,24 @@ +--- libs/pika/program_options/tests/unit/parsers.cpp.orig 2024-12-18 14:24:34 UTC ++++ libs/pika/program_options/tests/unit/parsers.cpp +@@ -13,6 +13,9 @@ + #include + #include + #include ++#if defined(__FreeBSD__) ++# include ++#endif + + #include + #include // for putenv +@@ -325,6 +328,11 @@ int main() + + int main() + { ++#if defined(__FreeBSD__) ++ extern char **environ; ++ freebsd_environ = environ; ++#endif ++ + test_command_line(); + test_environment(); + test_unregistered(); diff --git a/devel/pika/files/patch-libs_pika_resource__partitioner_tests_unit_suspend__pool.cpp b/devel/pika/files/patch-libs_pika_resource__partitioner_tests_unit_suspend__pool.cpp new file mode 100644 index 000000000000..aa0dd6d8fcb2 --- /dev/null +++ b/devel/pika/files/patch-libs_pika_resource__partitioner_tests_unit_suspend__pool.cpp @@ -0,0 +1,14 @@ +--- libs/pika/resource_partitioner/tests/unit/suspend_pool.cpp.orig 2025-01-18 02:04:11 UTC ++++ libs/pika/resource_partitioner/tests/unit/suspend_pool.cpp +@@ -157,6 +157,11 @@ int main(int argc, char* argv[]) + + int main(int argc, char* argv[]) + { ++#if defined(__FreeBSD__) ++ extern char **environ; ++ freebsd_environ = environ; ++#endif ++ + PIKA_ASSERT(max_threads >= 2); + + std::vector schedulers = { diff --git a/devel/pika/files/patch-libs_pika_resource__partitioner_tests_unit_suspend__thread.cpp b/devel/pika/files/patch-libs_pika_resource__partitioner_tests_unit_suspend__thread.cpp new file mode 100644 index 000000000000..99323f3163f2 --- /dev/null +++ b/devel/pika/files/patch-libs_pika_resource__partitioner_tests_unit_suspend__thread.cpp @@ -0,0 +1,14 @@ +--- libs/pika/resource_partitioner/tests/unit/suspend_thread.cpp.orig 2025-01-18 02:20:05 UTC ++++ libs/pika/resource_partitioner/tests/unit/suspend_thread.cpp +@@ -215,6 +215,11 @@ int main(int argc, char* argv[]) + + int main(int argc, char* argv[]) + { ++#if defined(__FreeBSD__) ++ extern char **environ; ++ freebsd_environ = environ; ++#endif ++ + PIKA_ASSERT(max_threads >= 2); + + // NOTE: Static schedulers do not support suspending the own worker thread diff --git a/devel/pika/files/patch-libs_pika_threading_tests_unit_thread.cpp b/devel/pika/files/patch-libs_pika_threading_tests_unit_thread.cpp new file mode 100644 index 000000000000..0a0bcde0a7f8 --- /dev/null +++ b/devel/pika/files/patch-libs_pika_threading_tests_unit_thread.cpp @@ -0,0 +1,14 @@ +--- libs/pika/threading/tests/unit/thread.cpp.orig 2025-01-18 01:55:17 UTC ++++ libs/pika/threading/tests/unit/thread.cpp +@@ -362,6 +362,11 @@ int main(int argc, char* argv[]) + /////////////////////////////////////////////////////////////////////////////// + int main(int argc, char* argv[]) + { ++#if defined(__FreeBSD__) ++ extern char **environ; ++ freebsd_environ = environ; ++#endif ++ + // Configure application-specific options + options_description cmdline("Usage: " PIKA_APPLICATION_STRING " [options]"); + diff --git a/devel/pika/files/patch-tests_regressions_unhandled__exception__582.cpp b/devel/pika/files/patch-tests_regressions_unhandled__exception__582.cpp new file mode 100644 index 000000000000..a38decd5f67b --- /dev/null +++ b/devel/pika/files/patch-tests_regressions_unhandled__exception__582.cpp @@ -0,0 +1,14 @@ +--- tests/regressions/unhandled_exception_582.cpp.orig 2025-01-18 02:01:28 UTC ++++ tests/regressions/unhandled_exception_582.cpp +@@ -21,6 +21,11 @@ int main(int argc, char** argv) + + int main(int argc, char** argv) + { ++#if defined(__FreeBSD__) ++ extern char **environ; ++ freebsd_environ = environ; ++#endif ++ + bool caught_exception = false; + try + { diff --git a/devel/pika/pkg-plist b/devel/pika/pkg-plist index fad476b13b83..94fc238f6b9a 100644 --- a/devel/pika/pkg-plist +++ b/devel/pika/pkg-plist @@ -51,10 +51,8 @@ include/pika/config/defines.hpp include/pika/config/emulate_deleted.hpp include/pika/config/export_definitions.hpp include/pika/config/forceinline.hpp -include/pika/config/forward.hpp include/pika/config/manual_profiling.hpp include/pika/config/modules_enabled.hpp -include/pika/config/move.hpp include/pika/config/static_call_operator.hpp include/pika/config/threads_stack.hpp include/pika/config/version.hpp @@ -202,9 +200,6 @@ include/pika/iterator_support/traits/is_iterator.hpp include/pika/iterator_support/traits/is_range.hpp include/pika/iterator_support/traits/is_sentinel_for.hpp include/pika/iterator_support/transform_iterator.hpp -include/pika/iterator_support/zip_iterator.hpp -include/pika/itt_notify/config/defines.hpp -include/pika/itt_notify/thread_name.hpp include/pika/latch.hpp include/pika/lock_registration/config/defines.hpp include/pika/lock_registration/detail/register_locks.hpp @@ -231,7 +226,6 @@ include/pika/modules/hashing.hpp include/pika/modules/ini.hpp include/pika/modules/init_runtime.hpp include/pika/modules/iterator_support.hpp -include/pika/modules/itt_notify.hpp include/pika/modules/lock_registration.hpp include/pika/modules/memory.hpp include/pika/modules/preprocessor.hpp @@ -296,7 +290,6 @@ include/pika/runtime/config_entry.hpp include/pika/runtime/custom_exception_info.hpp include/pika/runtime/debugging.hpp include/pika/runtime/get_os_thread_count.hpp -include/pika/runtime/get_thread_name.hpp include/pika/runtime/get_worker_thread_num.hpp include/pika/runtime/report_error.hpp include/pika/runtime/runtime.hpp @@ -365,8 +358,8 @@ include/pika/thread_pools/scheduling_loop.hpp include/pika/thread_support/assert_owns_lock.hpp include/pika/thread_support/atomic_count.hpp include/pika/thread_support/config/defines.hpp -include/pika/thread_support/set_thread_name.hpp include/pika/thread_support/spinlock.hpp +include/pika/thread_support/thread_name.hpp include/pika/thread_support/unlock_guard.hpp include/pika/threading/config/defines.hpp include/pika/threading/jthread.hpp @@ -441,7 +434,6 @@ include/pika/util/manage_config.hpp include/pika/version.hpp include/pika/version/config/defines.hpp lib/cmake/pika/FindAPEX.cmake -lib/cmake/pika/FindAmplifier.cmake lib/cmake/pika/FindHwloc.cmake lib/cmake/pika/FindJemalloc.cmake lib/cmake/pika/FindQThreads.cmake @@ -531,9 +523,10 @@ lib/cmake/pika/tests/cxx23_static_call_operator.cu lib/cmake/pika/tests/cxx23_static_call_operator.hip lib/cmake/pika/tests/cxx_lambda_capture_decltype.cpp lib/cmake/pika/tests/mm_prefetch.cpp +lib/cmake/pika/tests/pthread_setname_np.cpp lib/cmake/pika/tests/stdexec_continues_on.cpp lib/cmake/pika/tests/stdexec_sender_receiver_concepts.cpp lib/cmake/pika/tests/unistd_h.cpp lib/libpika.so lib/libpika.so.0 -lib/libpika.so.0.30.0 +lib/libpika.so.0.31.0