pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/hs-atomic-primops
Module Name: pkgsrc
Committed By: pho
Date: Tue Oct 31 16:27:46 UTC 2023
Added Files:
pkgsrc/devel/hs-atomic-primops: DESCR Makefile PLIST buildlink3.mk
distinfo
Log Message:
devel/hs-atomic-primops: import hs-atomic-primops-0.8.4
After GHC 7.4 a new casMutVar# primop became available, but it's difficult
to use safely, because pointer equality is a highly unstable property in
Haskell. This library provides a safer method based on the concept of
Tickets.
Also, this library uses the "foreign primop" capability of GHC to add
access to other variants that may be of interest, specifically, compare and
swap inside an array.
Note that as of GHC 7.8, the relevant primops have been included in GHC
itself. This library is engineered to work pre- and post-GHC-7.8, while
exposing the same interface.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-atomic-primops/DESCR \
pkgsrc/devel/hs-atomic-primops/Makefile \
pkgsrc/devel/hs-atomic-primops/PLIST \
pkgsrc/devel/hs-atomic-primops/buildlink3.mk \
pkgsrc/devel/hs-atomic-primops/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/hs-atomic-primops/DESCR
diff -u /dev/null pkgsrc/devel/hs-atomic-primops/DESCR:1.1
--- /dev/null Tue Oct 31 16:27:46 2023
+++ pkgsrc/devel/hs-atomic-primops/DESCR Tue Oct 31 16:27:46 2023
@@ -0,0 +1,12 @@
+After GHC 7.4 a new casMutVar# primop became available, but it's difficult
+to use safely, because pointer equality is a highly unstable property in
+Haskell. This library provides a safer method based on the concept of
+Tickets.
+
+Also, this library uses the "foreign primop" capability of GHC to add
+access to other variants that may be of interest, specifically, compare and
+swap inside an array.
+
+Note that as of GHC 7.8, the relevant primops have been included in GHC
+itself. This library is engineered to work pre- and post-GHC-7.8, while
+exposing the same interface.
Index: pkgsrc/devel/hs-atomic-primops/Makefile
diff -u /dev/null pkgsrc/devel/hs-atomic-primops/Makefile:1.1
--- /dev/null Tue Oct 31 16:27:46 2023
+++ pkgsrc/devel/hs-atomic-primops/Makefile Tue Oct 31 16:27:46 2023
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2023/10/31 16:27:46 pho Exp $
+
+DISTNAME= atomic-primops-0.8.4
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Safe approach to CAS and other atomic ops in Haskell
+LICENSE= modified-bsd
+
+.include "../../devel/hs-primitive/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-atomic-primops/PLIST
diff -u /dev/null pkgsrc/devel/hs-atomic-primops/PLIST:1.1
--- /dev/null Tue Oct 31 16:27:46 2023
+++ pkgsrc/devel/hs-atomic-primops/PLIST Tue Oct 31 16:27:46 2023
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1 2023/10/31 16:27:46 pho Exp $
+lib/atomic-primops-${PKGVERSION}/${HS_VERSION}/package-description
+lib/atomic-primops-${PKGVERSION}/${HS_VERSION}/package-id
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Atomics.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Atomics.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Atomics.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Atomics/Counter.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Atomics/Counter.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Atomics/Counter.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Atomics/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Atomics/Internal.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Atomics/Internal.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+share/doc/${HS_PLATFORM}/atomic-primops-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/atomic-primops-${PKGVERSION}/html/Data-Atomics-Counter.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/atomic-primops-${PKGVERSION}/html/Data-Atomics-Internal.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/atomic-primops-${PKGVERSION}/html/Data-Atomics.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/atomic-primops-${PKGVERSION}/html/atomic-primops.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/atomic-primops-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/atomic-primops-${PKGVERSION}/html/doc-index.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/atomic-primops-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/atomic-primops-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/atomic-primops-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/atomic-primops-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/atomic-primops-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/atomic-primops-${PKGVERSION}/html/quick-jump.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/atomic-primops-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-atomic-primops/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-atomic-primops/buildlink3.mk:1.1
--- /dev/null Tue Oct 31 16:27:46 2023
+++ pkgsrc/devel/hs-atomic-primops/buildlink3.mk Tue Oct 31 16:27:46 2023
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/10/31 16:27:46 pho Exp $
+
+BUILDLINK_TREE+= hs-atomic-primops
+
+.if !defined(HS_ATOMIC_PRIMOPS_BUILDLINK3_MK)
+HS_ATOMIC_PRIMOPS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-atomic-primops+= hs-atomic-primops>=0.8.4
+BUILDLINK_ABI_DEPENDS.hs-atomic-primops+= hs-atomic-primops>=0.8.4
+BUILDLINK_PKGSRCDIR.hs-atomic-primops?= ../../devel/hs-atomic-primops
+
+.include "../../devel/hs-primitive/buildlink3.mk"
+.endif # HS_ATOMIC_PRIMOPS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-atomic-primops
Index: pkgsrc/devel/hs-atomic-primops/distinfo
diff -u /dev/null pkgsrc/devel/hs-atomic-primops/distinfo:1.1
--- /dev/null Tue Oct 31 16:27:46 2023
+++ pkgsrc/devel/hs-atomic-primops/distinfo Tue Oct 31 16:27:46 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/10/31 16:27:46 pho Exp $
+
+BLAKE2s (atomic-primops-0.8.4.tar.gz) = d4a3208c9800cba0b69866958e17e962484318617eb01f4de706b9b05ddb6b45
+SHA512 (atomic-primops-0.8.4.tar.gz) = a9e873e6f4eba26541d370c5ee3b81b518a1bf0f54d303d26a2065ba47eac7db1366436661b108c0648503386ffb9cb121567236c9635bf30d4e523a2d63a8b4
+Size (atomic-primops-0.8.4.tar.gz) = 33639 bytes
Home |
Main Index |
Thread Index |
Old Index