diff options
author | Mark Wright <gienah@gentoo.org> | 2013-10-19 11:57:35 +0000 |
---|---|---|
committer | Mark Wright <gienah@gentoo.org> | 2013-10-19 11:57:35 +0000 |
commit | bdaeb1d24453544fedd806e889814194fe24c86a (patch) | |
tree | 076a1ec672fcbba88056f68aa8e7f5ce933cbaf5 /dev-haskell/bits-atomic/metadata.xml | |
parent | Add atomic-primops (diff) | |
download | historical-bdaeb1d24453544fedd806e889814194fe24c86a.tar.gz historical-bdaeb1d24453544fedd806e889814194fe24c86a.tar.bz2 historical-bdaeb1d24453544fedd806e889814194fe24c86a.zip |
Add bits-atomic
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x618E971F
Diffstat (limited to 'dev-haskell/bits-atomic/metadata.xml')
-rw-r--r-- | dev-haskell/bits-atomic/metadata.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-haskell/bits-atomic/metadata.xml b/dev-haskell/bits-atomic/metadata.xml new file mode 100644 index 000000000000..4c4e2e2f0dc2 --- /dev/null +++ b/dev-haskell/bits-atomic/metadata.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <maintainer> + <email>haskell@gentoo.org</email> + </maintainer> + <longdescription> + Atomic operations including CAS (compare-and-swap), fetch & add and variants + suitable for low-level shared-memory synchronization. + + The implementation is using GCC's builtin atomic operations (available in GCC >= + 4) in C wrappers called through the FFI. See these links for background: + + * GCC manual: <http://gcc.gnu.org/onlinedocs/gcc/Atomic-Builtins.html> + + * GCC wiki: <http://gcc.gnu.org/wiki/Atomic> + + /Portability/: This package is primarily developed on a Linux system, but + should work wherever GCC >= 4 is available. It has been confirmed as working + on OSX. On Windows, it should work with Cygwin but currently fails for + vanilla Haskell-Platform 2010.1.0.0 as it still packages GCC 3.x. An + installer for updated versions of GCC is available at + <http://www.mingw.org/> and should make this package work in connection with + Haskell-Platform. Feedback on compatibility would be appreciated. + + /Testing:/ The following commands can be used to compile and run the test suite: + + > cabal unpack bits-atomic && cd bits-atomic-* # if not yet locally available + > cabal configure -ftest + > cabal build + > cabal test + + /Recent changes/: + + * 0.1.3: Documentation updates, especially on portability. No functional + changes. + + * 0.1.2: Avoid using System.FilePath in Setup.hs to fix build failure on hackage + </longdescription> +</pkgmetadata> |