Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling KNewPfordelta

Obtain the KNewPfordelta open source code and KNewPfordelta patch from GitHub and GitCode, apply the patch, and then compile KNewPfordelta.

  1. Obtain the open source code. Assume that the installation path is /path/to.
    cd /path/to
    git clone https://github.com/diegocaro/compression.git
  2. Replace Windows line feed characters in the open source code with Linux line feed characters.
    find compression/ -type f -exec dos2unix {} \;
  3. Download the patch file for KNewPfordelta. Assume that the installation path is /path/to.
    git clone -b v1.1.0 https://gitcode.com/boostkit/knewpfordelta.git
  4. Apply the patch.
    cd compression
    patch -p1 < ../knewpfordelta/0001-boostsra-knewpfordelta.patch
  5. Install GCC 10.3 and Make 4.3.
    yum install gcc make
  6. Compile KNewPfordelta in the compression directory of the patched open-source code.
    make

    The newpfordelta_perf and newpfordelta_ut files are generated in this directory.