source: chapter08/lz4.xml@ 2affd83

multilib
Last change on this file since 2affd83 was 2affd83, checked in by Thomas Trepl <thomas@…>, 7 weeks ago

Add ml instr to lz4

  • Property mode set to 100644
File size: 5.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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]>
7
8<sect1 id="ch-system-lz4" role="wrap">
9 <?dbhtml filename="lz4.html"?>
10
11 <sect1info condition="script">
12 <productname>Lz4</productname>
13 <productnumber>&lz4-version;</productnumber>
14 <address>&lz4-url;</address>
15 </sect1info>
16
17 <title>Lz4-&lz4-version;</title>
18
19 <indexterm zone="ch-system-lz4">
20 <primary sortas="a-lz4">Lz4</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>Lz4 is a lossless compression algorithm, providing compression speed
27 greater than 500 MB/s per core. It features an extremely fast decoder, with
28 speed in multiple GB/s per core. Lz4 can work with Zstandard to allow both
29 algorithms to compress data faster.</para>
30
31 <segmentedlist>
32 <segtitle>&buildtime;</segtitle>
33 <segtitle>&diskspace;</segtitle>
34
35 <seglistitem>
36 <seg>&lz4-fin-sbu;</seg>
37 <seg>&lz4-fin-du;</seg>
38 </seglistitem>
39 </segmentedlist>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Lz4</title>
45
46 <para>Compile the package:</para>
47
48<screen><userinput remap="make">make BUILD_STATIC=no</userinput></screen>
49
50 <para>To test the results, issue:</para>
51
52 <!-- This needs to be done at -j1 because otherwise test files do not
53 get generated correctly. -->
54
55<screen><userinput remap="test">make -j1 check</userinput></screen>
56
57 <para>Install the package:</para>
58
59<screen><userinput remap="install">make BUILD_STATIC=no PREFIX=/usr install</userinput></screen>
60
61 </sect2>
62
63 <!-- - - - - - - - - - -->
64 <!-- Multilib - 32bit -->
65 <!-- - - - - - - - - - -->
66 <sect2 arch="ml_32,ml_all" role="installation">
67 <title>Installation of Lz4 - 32bit</title>
68
69 <para>Clean previous build:</para>
70
71<screen><userinput remap="pre">make clean</userinput></screen>
72
73 <para>Compile the package:</para>
74
75<screen><userinput remap="make">CC="gcc -m32" make BUILD_STATIC=no</userinput></screen>
76
77 <para>Install the package:</para>
78
79<screen><userinput remap="install">make BUILD_STATIC=no PREFIX=/usr LIBDIR=/usr/lib32 DESTDIR=$(pwd)/m32 install &amp;&amp;
80cp -a m32/usr/lib32/* /usr/lib32/
81</userinput></screen>
82
83 </sect2><!-- m32 -->
84
85 <!-- - - - - - - - - - -->
86 <!-- Multilib - x32bit -->
87 <!-- - - - - - - - - - -->
88 <sect2 arch="ml_x32,ml_all" role="installation">
89 <title>Installation of Lz4 - x32bit</title>
90
91 <para>Clean previous build:</para>
92
93<screen><userinput remap="pre">make clean</userinput></screen>
94
95 <para>Compile the package:</para>
96
97<screen><userinput remap="make">CC="gcc -mx32" make BUILD_STATIC=no</userinput></screen>
98
99 <para>Install the package:</para>
100
101<screen><userinput remap="install">make BUILD_STATIC=no PREFIX=/usr LIBDIR=/usr/libx32 DESTDIR=$(pwd)/mx32 install &amp;&amp;
102cp -a mx32/usr/libx32/* /usr/libx32/
103</userinput></screen>
104
105 </sect2><!-- mx32 -->
106
107 <sect2 id="contents-lz4" role="content">
108 <title>Contents of Lz4</title>
109
110 <segmentedlist>
111 <segtitle>Installed programs</segtitle>
112 <segtitle>Installed library</segtitle>
113
114 <seglistitem>
115 <seg>lz4,
116 lz4c (link to lz4),
117 lz4cat (link to lz4), and
118 unlz4 (link to lz4)
119 </seg>
120
121 <seg>liblz4.so</seg>
122 </seglistitem>
123 </segmentedlist>
124
125 <variablelist>
126 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
127 <?dbfo list-presentation="list"?>
128 <?dbhtml list-presentation="table"?>
129
130 <varlistentry id="lz4">
131 <term><command>lz4</command></term>
132 <listitem>
133 <para>Compresses or decompresses files using the LZ4 format</para>
134 <indexterm zone="ch-system-lz4 lz4">
135 <primary sortas="b-lz4">lz4</primary>
136 </indexterm>
137 </listitem>
138 </varlistentry>
139
140 <varlistentry id="lz4c">
141 <term><command>lz4c</command></term>
142 <listitem>
143 <para>Compresses files using the LZ4 format</para>
144 <indexterm zone="ch-system-lz4 lz4c">
145 <primary sortas="b-lz4c">lz4c</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="lz4cat">
151 <term><command>lz4cat</command></term>
152 <listitem>
153 <para>Lists the contents of a file compressed using the LZ4 format</para>
154 <indexterm zone="ch-system-lz4 lz4cat">
155 <primary sortas="b-lz4cat">lz4cat</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 <varlistentry id="unlz4">
161 <term><command>unlz4</command></term>
162 <listitem>
163 <para>Decompresses files using the LZ4 format</para>
164 <indexterm zone="ch-system-lz4 unlz4">
165 <primary sortas="b-unlz4">unlz4</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169
170 <varlistentry id="liblz4">
171 <term><filename class="libraryfile">liblz4</filename></term>
172 <listitem>
173 <para>The library implementing lossless data
174 compression, using the LZ4 algorithm</para>
175 <indexterm zone="ch-system-lz4 liblz4">
176 <primary sortas="c-liblz4">liblz4</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 </variablelist>
182
183 </sect2>
184
185</sect1>
Note: See TracBrowser for help on using the repository browser.