source: general/genlib/boost.xml@ cde911d

11.0 11.1 11.2 11.3 12.0 12.1 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since cde911d was cde911d, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Fix boost url

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