[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / libatomic_ops

File: [cvs.NetBSD.org] / pkgsrc / devel / libatomic_ops / Makefile (download)

Revision 1.23, Tue Sep 14 08:29:08 2021 UTC (4 weeks, 4 days ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, HEAD
Changes since 1.22: +2 -3 lines

libatomic_ops: updated to 7.6.12

Changes 7.6.12

Allow to generalize bool-CAS for sparc (gcc)
Declare argument of AO_load_next with const in atomic_ops_stack
Describe double_compare_and_swap operation in README_details
Document CAS operations better in README_details
Fix gcc/sunc x86 AO_compare_double_and_swap_double missing side effect
Fix library name in README_details
Fix link fail caused by missing GCC char/short atomic primitives on riscv64
Fix size of local variable passed to cas[x] (gcc/sparc)
Implement fetch-CAS for sparc (gcc)
Refactor gcc x86 memory constraints
Refine and reformat description of size prefix in README_details
Remove outdated notes in README_details
Replace x86 setz instruction by asm flag output operand (gcc)
Support MSYS host (configure)
Turn off compare_double_and_swap_double_full PIC hack for GCC 5+ (x86)
Update README_win32 to match Makefile.msft
Use GCC atomic intrinsics for s390x (clang 8.0+ and gcc 5.4+)
Use __alignof__ instead of sizeof in atomic variable alignment assertions
Workaround assertion violation in AO_load/store on m68k

# $NetBSD: Makefile,v 1.23 2021/09/14 08:29:08 adam Exp $

DISTNAME=	libatomic_ops-7.6.12
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=ivmai/}
GITHUB_RELEASE=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/ivmai/libatomic_ops
COMMENT=	Multi-platform library of atomic operations by Hans Boehm
LICENSE=	gnu-gpl-v2

USE_LANGUAGES+=		c
USE_LIBTOOL=		yes
USE_TOOLS+=		gmake
GNU_CONFIGURE=		yes
PKGCONFIG_OVERRIDE=	pkgconfig/atomic_ops.pc.in
TEST_TARGET=		check

INSTALL_MAKE_FLAGS=	pkgdatadir=${PREFIX}/share/doc/libatomic_ops

.include "../../mk/bsd.prefs.mk"

.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc)
CPPFLAGS+=	-DAO_NO_SPARC_V9=1
.endif

.include "../../mk/bsd.pkg.mk"