source: general/genlib/boost.xml@ 8ad99f0f

gimp3 lazarus trunk xry111/spidermonkey128
Last change on this file since 8ad99f0f was f9a99954, checked in by Douglas R. Reno <renodr@…>, 4 months ago

boost: Add libboost_charconv.so to the list of installed files

  • Property mode set to 100644
File size: 7.7 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[47969a6]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[ec19fde3]7 <!ENTITY boost-download-http "https://github.com/boostorg/boost/releases/download/boost-&boost-version;/boost-&boost-dl-version;.tar.xz">
[47969a6]8 <!ENTITY boost-download-ftp " ">
[ec19fde3]9 <!ENTITY boost-md5sum "eff463ec1c67a8725fb3d2948abc5ca5">
[1fcb077]10 <!ENTITY boost-size "90 MB">
[ec19fde3]11 <!ENTITY boost-buildsize "899 MBcd /usr/s (197 MB installed)">
12 <!ENTITY boost-time "1.8 SBU (Using parallelism=4; add 0.1 SBU for tests)">
[47969a6]13]>
14
[355495ce]15<sect1 id="boost" xreflabel="Boost-&boost-version;">
[47969a6]16 <?dbhtml filename="boost.html"?>
17
[ec19fde3]18 <title>boost-&boost-version;</title>
[47969a6]19
20 <indexterm zone="boost">
[355495ce]21 <primary sortas="a-Boost">Boost</primary>
[47969a6]22 </indexterm>
23
24 <sect2 role="package">
25 <title>Introduction to Boost</title>
26
[355495ce]27 <para>
[fa29663]28 <application>Boost</application> provides a set of free peer-reviewed
29 portable C++ source libraries. It includes libraries for linear algebra,
30 pseudorandom number generation, multithreading, image processing, regular
31 expressions and unit testing.
[355495ce]32 </para>
[47969a6]33
[99c90fa]34 &lfs121_checked;
[47969a6]35
[ec19fde3]36 <note>
37 <para>
38 This package will extract to the
39 <filename>boost-&boost-version;</filename>/ directory.
40 </para>
41 </note>
42
[47969a6]43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
[355495ce]46 <para>
47 Download (HTTP): <ulink url="&boost-download-http;"/>
48 </para>
[47969a6]49 </listitem>
50 <listitem>
[355495ce]51 <para>
52 Download (FTP): <ulink url="&boost-download-ftp;"/>
53 </para>
[47969a6]54 </listitem>
55 <listitem>
[355495ce]56 <para>
57 Download MD5 sum: &boost-md5sum;
58 </para>
[47969a6]59 </listitem>
60 <listitem>
[355495ce]61 <para>
62 Download size: &boost-size;
63 </para>
[47969a6]64 </listitem>
65 <listitem>
[355495ce]66 <para>
67 Estimated disk space required: &boost-buildsize;
68 </para>
[47969a6]69 </listitem>
70 <listitem>
[355495ce]71 <para>
72 Estimated build time: &boost-time;
73 </para>
[47969a6]74 </listitem>
75 </itemizedlist>
[9873d1ea]76 <!--
[9214104]77 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
78 <itemizedlist spacing="compact">
79 <listitem>
80 <para>
81 Recommended patch, required to build <xref linkend="libreoffice"/>:
82 <ulink url="&patch-root;/boost-&boost-version;-gcc_10-1.patch"/>
83 </para>
84 </listitem>
85 </itemizedlist>
[9873d1ea]86 -->
[9214104]87
[355495ce]88 <bridgehead renderas="sect3">Boost Dependencies</bridgehead>
[47969a6]89
[d89ea78]90 <bridgehead renderas="sect4">Recommended</bridgehead>
91 <para role="recommended">
92 <xref linkend="which"/>
93 </para>
94
[47969a6]95 <bridgehead renderas="sect4">Optional</bridgehead>
[f7fbe1f7]96 <para role="optional">
[39060e91]97 <xref linkend="icu"/> and
[31b8fd26]98 <ulink url="https://www.open-mpi.org/">Open MPI</ulink>
[47969a6]99 </para>
100
[42ddc30]101 <para condition="html" role="usernotes">Editor Notes:
[355495ce]102 <ulink url="&blfs-wiki;/boost"/>
103 </para>
[47969a6]104 </sect2>
105
106 <sect2 role="installation">
107 <title>Installation of Boost</title>
[06c23e6]108
[355495ce]109 <para>
[d5e43119]110 This package can be built with several jobs running in parallel. In
111 the instructions below, <parameter>&lt;N&gt;</parameter> stands for the
112 number of jobs. Install <application>Boost</application> by running the
113 following commands:
[355495ce]114 </para>
[47969a6]115
[128b5380]116
[9873d1ea]117<screen><userinput>./bootstrap.sh --prefix=/usr --with-python=python3 &amp;&amp;
[d5e43119]118./b2 stage -j<replaceable>&lt;N&gt;</replaceable> threading=multi link=shared</userinput></screen>
[a7f550d8]119
120 <para>
[475d0d98]121 To run Boost.Build's regression tests, issue
[8558044]122 <command>pushd tools/build/test; python3 test_all.py; popd</command>.
[684ab13]123 </para>
124
125 <para>
126 To run every library's regression tests, issue <command>pushd status;
[40cc482]127 ../b2; popd</command>. A few tests may fail. They take a very long time
128 (over 119 SBU at -j4) and use a very large amount of disk space
129 (46 GB). You should use the <parameter>-jN</parameter> switch to
[684ab13]130 speed them up.
[a7f550d8]131 </para>
[fe83f5c]132
133 <note>
134 <para>
135 Boost installs many versioned directories in /usr/lib/cmake.
[e15d48d7]136 If a new version of <application>Boost</application> is installed over a
137 previous version, the older cmake directories need to be
[552bf36]138 explicitly removed. To do this, run as the
[fe83f5c]139 <systemitem class="username">root</systemitem> user:
140 </para>
141
142<screen role="root"><userinput>rm -rf /usr/lib/cmake/[Bb]oost*</userinput></screen>
143
144 <para>
145 before installing the new version.
146 </para>
147 </note>
[a7f550d8]148
149 <para>
150 Now, as the <systemitem class="username">root</systemitem> user:
151 </para>
152
[4adf827]153<!-- dev note: ./b2 - -prefix=<DESTDIR>/usr install threading=multi link=shared -->
154
[4e207bb]155<screen role="root"><userinput>./b2 install threading=multi link=shared</userinput></screen>
[47969a6]156
157 </sect2>
[54bed77b]158
[47969a6]159 <sect2 role="commands">
160 <title>Command Explanations</title>
[e4f0510]161<!--
[06c23e6]162 <para>
[875b3b57]163 <command>sed -i '/#include ...</command>: This removes the inclusion
[06c23e6]164 of <filename>boost/phoenix/stl/tuple.hpp</filename> from this header-only
165 library, allowing applications which use it to link using recent C++.
166 </para>
[e4f0510]167-->
[355495ce]168 <para>
169 <parameter>threading=multi</parameter>: This parameter ensures that
170 <application>Boost</application> is built with multithreading support.
171 </para>
172
173 <para>
[155d1f80]174 <parameter>link=shared</parameter>: This parameter ensures that only
175 shared libraries are created, except for libboost_exception and
176 libboost_test_exec_monitor which are created as static. Most people
[154b62f8]177 will not need the static libraries, and most programs using
[ea0c1c2]178 <application>Boost</application> only use the headers. Omit
[155d1f80]179 this parameter if you do need static libraries.
180 </para>
181
182 <para>
[d56891b]183 <parameter>--with-python=python3</parameter>: This switch ensures Python3
184 is used if Python2 is installed.
[355495ce]185 </para>
[47969a6]186
[1015ec3]187 <para>
[d56891b]188 <option>-jN</option>: This switch may be added to the
189 <command>b2</command> command lines, to run up to N processes in
190 parallel.
[1015ec3]191 </para>
192
[47969a6]193 </sect2>
[54bed77b]194
[47969a6]195 <sect2 role="content">
196 <title>Contents</title>
197
198 <segmentedlist>
[c3c56b2]199 <segtitle>Installed Programs</segtitle>
[47969a6]200 <segtitle>Installed Libraries</segtitle>
201 <segtitle>Installed Directory</segtitle>
202
203 <seglistitem>
[c3c56b2]204 <seg>
205 None
206 </seg>
[355495ce]207 <seg>
[f9a99954]208 libboost_atomic.so, libboost_charconv.so, libboost_chrono.so,
209 libboost_container.so, libboost_context.so, libboost_contract.so,
210 libboost_coroutine.so, libboost_date_time.so, libboost_exception.a,
211 libboost_fiber.so, libboost_filesystem.so, libboost_graph.so,
212 libboost_iostreams.so, libboost_json.so, libboost_locale.so,
[31b8fd26]213 libboost_log_setup.so, libboost_log.so, libboost_math_c99.so,
214 libboost_math_c99f.so, libboost_math_c99l.so, libboost_math_tr1.so,
215 libboost_math_tr1f.so, libboost_math_tr1l.so,
[90a022d]216 libboost_nowide.so, libboost_numpy3&python3-minor;.so,
[31b8fd26]217 libboost_prg_exec_monitor.so, libboost_program_options.so,
[f5c380e]218 libboost_python3&python3-minor;.so, libboost_random.so,
[84fe2e9]219 libboost_regex.so, libboost_serialization.so,
[fa30d84]220 libboost_stacktrace_addr2line.so, libboost_stacktrace_basic.so,
[8558044]221 libboost_stacktrace_noop.so, libboost_system.so,
[84fe2e9]222 libboost_test_exec_monitor.a, libboost_thread.so, libboost_timer.so,
223 libboost_type_erasure.so, libboost_unit_test_framework.so,
[0869e91]224 libboost_url.so, libboost_wave.so, and libboost_wserialization.so
[355495ce]225 </seg>
226 <seg>
227 /usr/include/boost
228 </seg>
[47969a6]229 </seglistitem>
230 </segmentedlist>
[355495ce]231
[47969a6]232 </sect2>
233
234</sect1>
Note: See TracBrowser for help on using the repository browser.