2015-10-22 23:54:34 +02:00
|
|
|
=================================================
|
|
|
|
Intel(R) Intelligent Storage Acceleration Library
|
|
|
|
=================================================
|
|
|
|
|
2016-03-01 08:40:13 +01:00
|
|
|
[![Build Status](https://travis-ci.org/01org/isa-l.svg?branch=master)](https://travis-ci.org/01org/isa-l)
|
|
|
|
|
2016-07-22 00:01:09 +02:00
|
|
|
ISA-L is a collection of optimized low-level functions targeting storage
|
|
|
|
applications. ISA-L includes:
|
|
|
|
* Erasure codes - Fast block Reed-Solomon type erasure codes for any
|
|
|
|
encode/decode matrix in GF(2^8).
|
2016-12-07 07:00:34 +01:00
|
|
|
* CRC - Fast implementations of cyclic redundancy check. Six different
|
2016-07-22 00:01:09 +02:00
|
|
|
polynomials supported.
|
2016-12-07 07:00:34 +01:00
|
|
|
- iscsi32, ieee32, t10dif, ecma64, iso64, jones64.
|
2016-07-22 00:01:09 +02:00
|
|
|
* Raid - calculate and operate on XOR and P+Q parity found in common RAID
|
|
|
|
implementations.
|
|
|
|
* Compression - Fast deflate-compatible data compression.
|
2016-12-07 07:00:34 +01:00
|
|
|
* De-compression - Fast inflate-compatible data compression.
|
|
|
|
|
2017-02-24 04:45:31 +01:00
|
|
|
Also see:
|
|
|
|
* [ISA-L for updates](https://github.com/01org/isa-l).
|
|
|
|
* For crypto functions see [isa-l_crypto on github](https://github.com/01org/isa-l_crypto).
|
|
|
|
* The [github wiki](https://github.com/01org/isa-l/wiki).
|
|
|
|
* ISA-L [mailing list](https://lists.01.org/mailman/listinfo/isal).
|
|
|
|
* [Contributing](CONTRIBUTING.md).
|
2015-10-22 23:54:34 +02:00
|
|
|
|
|
|
|
Building ISA-L
|
2017-02-24 04:45:31 +01:00
|
|
|
--------------
|
|
|
|
|
|
|
|
### Prerequisites
|
2015-10-22 23:54:34 +02:00
|
|
|
|
2017-02-24 04:45:31 +01:00
|
|
|
* yasm version 1.2.0 or later or nasm v2.11.01 or later.
|
|
|
|
* gcc, clang, icc or VC compiler.
|
|
|
|
* GNU 'make' or 'nmake' (Windows).
|
|
|
|
* Building with autotools requires autoconf/automake packages.
|
2015-10-22 23:54:34 +02:00
|
|
|
|
2017-02-24 04:45:31 +01:00
|
|
|
### Autotools
|
|
|
|
To build and install the library with autotools it is usually sufficient to run:
|
2016-02-26 00:56:22 +01:00
|
|
|
|
2016-03-01 08:40:26 +01:00
|
|
|
./autogen.sh
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
sudo make install
|
2015-10-22 23:54:34 +02:00
|
|
|
|
2017-02-24 04:45:31 +01:00
|
|
|
### Makefile
|
|
|
|
To use a standard makefile run:
|
2016-02-26 00:56:22 +01:00
|
|
|
|
2017-02-24 04:45:31 +01:00
|
|
|
make -f Makefile.unx
|
2016-02-26 00:56:22 +01:00
|
|
|
|
2017-02-24 04:45:31 +01:00
|
|
|
### Windows
|
2016-03-01 08:40:26 +01:00
|
|
|
On Windows use nmake to build dll and static lib:
|
2016-02-26 00:56:22 +01:00
|
|
|
|
2016-03-01 08:40:26 +01:00
|
|
|
nmake -f Makefile.nmake
|
2016-02-26 00:56:22 +01:00
|
|
|
|
2017-02-24 04:45:31 +01:00
|
|
|
### Other make targets
|
|
|
|
Other targes include:
|
|
|
|
* `make check` : create and run tests
|
|
|
|
* `make tests` : create additional unit tests
|
|
|
|
* `make perfs` : create included performance tests
|
|
|
|
* `make ex` : build examples
|
|
|
|
* `make other` : build other utilities such as compression file tests
|