blob: 9c690ffea41bf9c7adc9115773e9a653d1d72ce3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
============
Installation
============
The installation procedure uses CMake, as follows:
Unpack the tar archive and change into the unpacked directory.
mkdir build
cd build
cmake .. # CMAKE_INSTALL_PREFIX=~/.local
make install
You can set options for compiling using the CMake GUI by replacing the cmake
command with
cmake-gui ..
or by setting the options manually, e.g.
cmake -DCMAKE_INSTALL_PREFIX=~/local ..
in order to set the install prefix to ~/local
=======================
Intel compiler settings
=======================
The Intel compiler can improve performance by vectorizing certain
parts of the code on x86 architectures. Assuming your CPU supports
AVX2, the following options will increase encoding speed.
./configure CC=icc
make CFLAGS="-O3 -xCORE-AVX2" bench
On a 3.4 GHz E3-1240 v3 we see more than 400 MiB/s for encoding
typical data.
Using other SIMD instruction sets on older CPUs may also help.
|