source: general/genlib/boost.xml@ 73a555a

11.3 12.0 12.1 12.2 gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since 73a555a was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 22 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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