Changeset bed6dae2
- Timestamp:
- 05/10/2012 01:14:47 PM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 4067d492
- Parents:
- 5603a81
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/libatomic_ops.xml
r5603a81 rbed6dae2 5 5 %general-entities; 6 6 7 <!ENTITY libatomic_ops-download-http "http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-&libatomic_ops-version;.tar.gz"> 7 <!ENTITY libatomic_ops-download-http 8 "http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-&libatomic_ops-version;.tar.gz"> 8 9 <!ENTITY libatomic_ops-download-ftp " "> 9 10 <!ENTITY libatomic_ops-md5sum "1b65e48271c81e3fa2d7a9a69bab7504"> … … 30 31 <title>Introduction to libatomic_ops</title> 31 32 32 <para><application>libatomic_ops</application> provides implementations for 33 atomic memory update operations on a number of architectures. This allows 34 direct use of these in reasonably portable code. Unlike earlier similar 35 packages, this one explicitly considers memory barrier semantics, and 36 allows the construction of code that involves minimum overhead across a 37 variety of architectures. </para> 33 <para> 34 <application>libatomic_ops</application> provides implementations for 35 atomic memory update operations on a number of architectures. This allows 36 direct use of these in reasonably portable code. Unlike earlier similar 37 packages, this one explicitly considers memory barrier semantics, and 38 allows the construction of code that involves minimum overhead across a 39 variety of architectures. 40 </para> 41 42 &lfs71_checked; 38 43 39 44 <bridgehead renderas="sect3">Package Information</bridgehead> … … 59 64 </itemizedlist> 60 65 61 <para condition="html" role="usernotes"> User Notes:62 <ulink url="&blfs-wiki;/libatomic_ops"/></para>63 66 <para condition="html" role="usernotes"> 67 User Notes: <ulink url="&blfs-wiki;/libatomic_ops"/> 68 </para> 64 69 </sect2> 65 70 … … 67 72 <title>Installation of libatomic_ops</title> 68 73 69 <para>Install <application>libatomic_ops</application> by running the following 70 commands:</para> 74 <para> 75 Install <application>libatomic_ops</application> by running the following 76 commands: 77 </para> 71 78 72 <screen><userinput>sed -i \ 73 's|datadir)/@PACKAGE@|datadir)/doc/@PACKAGE@/@PACKAGE_VERSION@|' \ 74 doc/Makefile.in && 75 ./configure --prefix=/usr && 79 <screen><userinput>sed -i 's#AC_PROG_RANLIB#AC_LIBTOOL_DLOPEN\nAC_PROG_LIBTOOL#' configure.ac && 80 sed -i 's#b_L#b_LTL#;s#\.a#.la#g;s#_a_#_la_#' src/Makefile.am && 81 sed -i '/a.h gcc\/ia/d' src/atomic_ops/sysdeps/Makefile.am && 82 sed -i 's# COPYING##;s#pkgdata#doc#' doc/Makefile.am && 83 sed -i 's#\.a#.so#g;s#\.\./src/#../src/.libs/#g' tests/Makefile.am && 84 autoreconf -i && 85 ./configure --prefix=/usr --disable-static \ 86 --docdir=/usr/share/doc/libatomic_ops-&libatomic_ops-version; && 76 87 make</userinput></screen> 77 88 78 89 <para>To check the results, issue <command>make check</command>.</para> 79 90 80 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 91 <para> 92 Now, as the <systemitem class="username">root</systemitem> user: 93 </para> 81 94 82 95 <screen role="root"><userinput>make install</userinput></screen> 83 84 96 </sect2> 85 97 … … 87 99 <title>Command Explanations</title> 88 100 89 <para><command>sed -i ... doc/Makefile.in</command>: This command forces 90 the documentation to be installed in a versioned directory.</para> 101 <para> 102 <command>sed -i 's#AC_PROG_RANLIB ...</command>: These seds massage the 103 autotool files so that a shared library is built, the tests pass and the 104 docs are installed in the right place. 105 </para> 91 106 107 <para> 108 <command>autoreconf -i</command>: This regenerates the configure script 109 and the Makefile.in files and installs some missing files. 110 </para> 111 112 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 113 href="../../xincludes/static-libraries.xml"/> 114 115 <para> 116 <option>--docdir=/usr/share/doc/libatomic_ops-&libatomic_ops-version;</option>: 117 This option installs the documentation in a versioned directory. 118 </para> 92 119 </sect2> 93 120 … … 96 123 97 124 <segmentedlist> 98 <segtitle>Installed Programs</segtitle>99 125 <segtitle>Installed Libraries</segtitle> 100 126 <segtitle>Installed Directory</segtitle> 101 127 102 128 <seglistitem> 103 <seg>None</seg> 104 <seg>libatomic_ops.a and libatomic_ops_gpl.a</seg> 129 <seg> 130 libatomic_ops.so and libatomic_ops_gpl.so 131 </seg> 105 132 <seg>/usr/include/libatomic_ops</seg> 106 133 </seglistitem> … … 113 140 114 141 <varlistentry id="libatomic_ops-lib"> 115 <term><filename class='libraryfile'>libatomic_ops{,_gpl}. a</filename></term>142 <term><filename class='libraryfile'>libatomic_ops{,_gpl}.so</filename></term> 116 143 <listitem> 117 <para>contain sfunctions for atomic memory operations.</para>144 <para>contain functions for atomic memory operations.</para> 118 145 <indexterm zone="libatomic_ops libatomic_ops-lib"> 119 <primary sortas="c-libatomic_ops">libatomic_ops. a</primary>146 <primary sortas="c-libatomic_ops">libatomic_ops.so</primary> 120 147 </indexterm> 121 148 </listitem> 122 149 </varlistentry> 123 124 150 </variablelist> 125 126 151 </sect2> 127 128 152 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.