Received: by mail.netbsd.org (Postfix, from userid 605) id 280B984E9A; Mon, 8 May 2023 09:34:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 596F884EA8 for ; Mon, 8 May 2023 09:34:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id CDtlYHkUal5O for ; Mon, 8 May 2023 09:34:40 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 742F284D9B for ; Mon, 8 May 2023 09:34:40 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 71AA3FA87; Mon, 8 May 2023 09:34:40 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1683538480189180" MIME-Version: 1.0 Date: Mon, 8 May 2023 09:34:40 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/libatomic_ops To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20230508093440.71AA3FA87@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1683538480189180 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Mon May 8 09:34:40 UTC 2023 Modified Files: pkgsrc/devel/libatomic_ops: Makefile PLIST distinfo Log Message: libatomic_ops: update to 7.8.0. == [7.8.0] 2023-03-26 == * Add AUTHORS file to the list of installed documentation * Add goal to Makefile.msft to build all tests but not execute them * Allocate marks[] dynamically and report all found errors in test_stack * Always export stack_init/push_release/pop_acquire from atomic_ops_gpl * Always use 'mfence' for nop_full if target CPU supports SSE2 (MS VC/x86) * Avoid 'cast increases required alignment' warnings in atomic_ops_malloc.c * Avoid breaking strict-aliasing rules in test_malloc and test_stack * Avoid code duplication in AO_stack_push_explicit_aux_release * Better document test_stack internals * Build atomic_ops.lib by Makefile.msft (MS VC) * Build test object and executable files in tests folder (MS VC) * Define AO_stack_t uniformly * Define double_compare_and_swap_full if MS VS 2017+ (x86) * Do not expose AO_REAL_HEAD/NEXT_PTR implementation in header by default * Document config macros in README_win32 and remove them from configure * Eliminate 'function is never used' cppcheck warning for AO_stack_init * Enforce most strict level of compiler warnings (MS VC) * Ensure atomic_ops.c global symbols are always declared as extern 'C' * Explicitly outline symbols exported in AO shared libraries with AO_API * Hide AO_free_list symbol * Implement AO_stack_init using memset * Implement AO_test_and_set using InterlockedExchange8 (MS VC) * Implement and/or/xor for AO_t, short and int types (MS VC) * Implement nf/acq/rel variants of primitives on Windows RT (MS VC) * Mention MIT near core library licensing terms in LICENSE file * Move all README_*.txt and license files to the top folder * Move all non-double intrinsic-based primitives to msftc/common32_defs.h * Move gcc-4/alpha workaround outside AO_stack_pop_explicit_aux_acquire * New AO_stack_is_lock_free API function * New configure option (--disable-gpl) to skip building of libatomic_ops_gpl * Print message of almost-lock-free implementation in test_stack if used * Refine LICENSE and README about code parts covered by MIT and GPL-2.0 * Refine copyright terms in GPL source files * Reformat atomic_ops_stack.c/h files * Remove 'lib' prefix for atomic_ops_gpl.lib in Makefile.msft * Remove redundant assert in AO_stack_pop_explicit_aux_acquire * Remove redundant cast to AO_t in lock-free AO_stack_pop_acquire * Rename LICENSING.txt to LICENSE file * Rename VERBOSE macro to VERBOSE_STACK in test_stack (refactoring) * Rename fetch_and_add to fetch_then_add in test_stack (refactoring) * Replace obsolete AC_HELP_STRING with AS_HELP_STRING in configure * Replace obsolete AC_TRY_COMPILE with AC_COMPILE_IFELSE in configure * Split test_stack main into several functions (refactoring) * Support Elbrus 2000 (gcc/e2k) * Support build with CMake * Support double-wide CAS on armv7+ and UWP/arm64 (MS VC) * Support test_atomic with MS build w/o the need to run GNU make first * Use GCC atomic intrinsics for SPARC * Use builtin_expect in AO_stack_push_explicit_aux_release To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/libatomic_ops/Makefile cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/libatomic_ops/PLIST cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/libatomic_ops/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1683538480189180 Content-Disposition: inline Content-Length: 3582 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/libatomic_ops/Makefile diff -u pkgsrc/devel/libatomic_ops/Makefile:1.24 pkgsrc/devel/libatomic_ops/Makefile:1.25 --- pkgsrc/devel/libatomic_ops/Makefile:1.24 Fri Sep 9 15:41:03 2022 +++ pkgsrc/devel/libatomic_ops/Makefile Mon May 8 09:34:40 2023 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.24 2022/09/09 15:41:03 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2023/05/08 09:34:40 wiz Exp $ -DISTNAME= libatomic_ops-7.6.14 +DISTNAME= libatomic_ops-7.8.0 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=ivmai/} GITHUB_RELEASE= v${PKGVERSION_NOREV} @@ -21,7 +21,7 @@ INSTALL_MAKE_FLAGS= pkgdatadir=${PREFIX} .include "../../mk/bsd.prefs.mk" -.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc) +.if ${MACHINE_PLATFORM:MNetBSD-*-sparc} CPPFLAGS+= -DAO_NO_SPARC_V9=1 .endif Index: pkgsrc/devel/libatomic_ops/PLIST diff -u pkgsrc/devel/libatomic_ops/PLIST:1.10 pkgsrc/devel/libatomic_ops/PLIST:1.11 --- pkgsrc/devel/libatomic_ops/PLIST:1.10 Tue Apr 17 05:30:30 2018 +++ pkgsrc/devel/libatomic_ops/PLIST Mon May 8 09:34:40 2023 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.10 2018/04/17 05:30:30 wiz Exp $ +@comment $NetBSD: PLIST,v 1.11 2023/05/08 09:34:40 wiz Exp $ include/atomic_ops.h include/atomic_ops/ao_version.h include/atomic_ops/generalize-arithm.h @@ -16,6 +16,7 @@ include/atomic_ops/sysdeps/gcc/alpha.h include/atomic_ops/sysdeps/gcc/arm.h include/atomic_ops/sysdeps/gcc/avr32.h include/atomic_ops/sysdeps/gcc/cris.h +include/atomic_ops/sysdeps/gcc/e2k.h include/atomic_ops/sysdeps/gcc/generic-arithm.h include/atomic_ops/sysdeps/gcc/generic-small.h include/atomic_ops/sysdeps/gcc/generic.h @@ -52,6 +53,7 @@ include/atomic_ops/sysdeps/loadstore/sho include/atomic_ops/sysdeps/loadstore/short_atomic_load.h include/atomic_ops/sysdeps/loadstore/short_atomic_store.h include/atomic_ops/sysdeps/msftc/arm.h +include/atomic_ops/sysdeps/msftc/arm64.h include/atomic_ops/sysdeps/msftc/common32_defs.h include/atomic_ops/sysdeps/msftc/x86.h include/atomic_ops/sysdeps/msftc/x86_64.h @@ -68,8 +70,10 @@ include/atomic_ops_stack.h lib/libatomic_ops.la lib/libatomic_ops_gpl.la lib/pkgconfig/atomic_ops.pc +share/doc/libatomic_ops/AUTHORS share/doc/libatomic_ops/COPYING -share/doc/libatomic_ops/LICENSING.txt +share/doc/libatomic_ops/ChangeLog +share/doc/libatomic_ops/LICENSE share/doc/libatomic_ops/README.md share/doc/libatomic_ops/README_details.txt share/doc/libatomic_ops/README_malloc.txt Index: pkgsrc/devel/libatomic_ops/distinfo diff -u pkgsrc/devel/libatomic_ops/distinfo:1.29 pkgsrc/devel/libatomic_ops/distinfo:1.30 --- pkgsrc/devel/libatomic_ops/distinfo:1.29 Fri Sep 9 15:41:03 2022 +++ pkgsrc/devel/libatomic_ops/distinfo Mon May 8 09:34:40 2023 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.29 2022/09/09 15:41:03 wiz Exp $ +$NetBSD: distinfo,v 1.30 2023/05/08 09:34:40 wiz Exp $ -BLAKE2s (libatomic_ops-7.6.14.tar.gz) = a2a50d04cdd165526412f8d90fe6b611ad434abf6b1dd2cfa1e7bcb97bd69824 -SHA512 (libatomic_ops-7.6.14.tar.gz) = da83886b4d766da64b27672eede40bd5787523a4c308ac7bd3f03ac831ae1a141ba21e5f5ada27bfcf811b9fb04d8a519331ea2573af036f8791958668dad851 -Size (libatomic_ops-7.6.14.tar.gz) = 500006 bytes +BLAKE2s (libatomic_ops-7.8.0.tar.gz) = 32bd02d8f9dfb21cbf7b27a57a1d6f5fc28672687822bc94596e84ccbd74006e +SHA512 (libatomic_ops-7.8.0.tar.gz) = b0d2b3c6f8672d599e05087688e7793a3c648c1728f48b27bffecc95b70afd5921ed36ec016985b2e22b82de7b7013bf5ebbb8b434a736d3fd680310b7af903d +Size (libatomic_ops-7.8.0.tar.gz) = 526300 bytes SHA1 (patch-src_atomic__ops.h) = 244324fb2ecf738a9407c128fc33930eb81f26d8 --_----------=_1683538480189180--