Fix syntax highlighting
[platform/upstream/libaec.git] / INSTALL
1 ============
2 Installation
3 ============
4
5 The most common installation procedure on Unix-like systems looks as
6 follows.
7
8 Unpack the tar archive and change into the unpacked directory.
9
10   ./configure
11   make check install
12
13
14 =======================
15 Intel compiler settings
16 =======================
17
18 The Intel compiler can improve performance by vectorizing certain
19 parts of the code on x86 architectures. Assuming your CPU supports
20 AVX2, the following options will increase encoding speed.
21
22   ./configure CC=icc
23   make CFLAGS="-O3 -xCORE-AVX2" bench
24
25 On a 3.4 GHz E3-1240 v3 we see more than 400 MiB/s for encoding
26 typical data.
27
28 Using other SIMD instruction sets on older CPUs may also help.
29
30 =======
31 Windows
32 =======
33
34 As an alternative way to build libaec you can use CMake. CMake can
35 also generate project files for Microsoft Visual Studio. This allows
36 you to build AEC.DLL and SZIP.DLL which can be used with the Windows
37 version of HDF5.