libatomic_ops provides implementations for atomic memory update operations on a number of architectures. This allows direct use of these in reasonably portable code. Unlike earlier similar packages, this one explicitly considers memory barrier semantics, and allows the construction of code that involves minimum overhead across a variety of architectures.
This package is known to build and work properly using an LFS-7.5 platform.
Download MD5 sum: 59f9a7cc845dcc775e7b7901eb582766
Download size: 448 KB
Estimated disk space required: 5.3 MB (additional 0.9 MB for tests)
Estimated build time: less than 0.1 SBU (additional less than 0.1 SBU for tests)
Install libatomic_ops by running the following commands:
sed -i 's#pkgdata#doc#' doc/Makefile.am && autoreconf -fi && ./configure --prefix=/usr \ --enable-shared \ --disable-static \ --docdir=/usr/share/doc/libatomic_ops-7.4.0 && make
To check the results, issue LD_LIBRARY_PATH=../src/.libs make check.
Now, as the
make install && mv -v /usr/share/libatomic_ops/* \ /usr/share/doc/libatomic_ops-7.4.0 && rm -vrf /usr/share/libatomic_ops
sed -i ...: This sed makes the docs to be installed in an appropriate directory.
autoreconf -fi: This
regenerates the configure script and the
switch enables building of the
libatomic_ops shared libraries.
switch prevents installation of static versions of the libraries.
Last updated on 2014-03-16 21:57:46 +0000