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.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://github.com/ivmai/libatomic_ops/releases/download/v7.8.0/libatomic_ops-7.8.0.tar.gz
Download MD5 sum: a7e51e8041c3e60c298c037b2789c3fa
Download size: 516 KB
Estimated disk space required: 6.4 MB (with tests)
Estimated build time: 0.1 SBU (with tests)
Install libatomic_ops by running the following commands:
./configure --prefix=/usr \ --enable-shared \ --disable-static \ --docdir=/usr/share/doc/libatomic_ops-7.8.0 && make
To check the results, issue make check.
Now, as the root
user:
make install
--enable-shared
: This switch enables building of the
libatomic_ops
shared libraries.
--disable-static
: This switch prevents
installation of static versions of the libraries.