Compiling KNewPfordelta
Obtain the KNewPfordelta open source code and KNewPfordelta patch from GitHub and GitCode, apply the patch, and then compile KNewPfordelta.
- Obtain the open source code. Assume that the installation path is /path/to.
cd /path/to git clone https://github.com/diegocaro/compression.git
- Replace Windows line feed characters in the open source code with Linux line feed characters.
find compression/ -type f -exec dos2unix {} \; - 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
- Apply the patch.
cd compression patch -p1 < ../knewpfordelta/0001-boostsra-knewpfordelta.patch
- Install GCC 10.3 and Make 4.3.
yum install gcc make
- 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.
Parent topic: Installing and Configuring the Environment