Installing KHSEL
KHSEL is a Hyperscan enhancement package used to improve the scan performance of Hyperscan.
- Obtain the KHSEL-related packages BoostKit-ksl_2.4.0.zip, khsel.patch, and build.sh based on Software Requirements.
- Decompress BoostKit-ksl_2.4.0.zip to obtain the binary KSL RPM package.
- Install KSL.
rpm -ivh boostkit-ksl-xxxx.aarch64.rpm
After the installation, the system automatically adds the path to the lib folder, that is, /usr/local/ksl/lib, to the environment variable LD_LIBRARY_PATH.
In the preceding command, xxxx indicates the version number.
- Obtain the Hyperscan source package in ZIP.
wget https://gitee.com/kunpengcompute/hyperscan/archive/refs/tags/v5.4.2.aarch64.zip
- Decompress the source package, and place khsel.patch and build.sh in the same directory as the source package.
unzip hyperscan-v5.4.2.aarch64.zip
- Run the build.sh script to integrate the patch file into the open source code of Hyperscan.
sh build.sh
- Compile Hyperscan based on instructions from step 2 in Compiling Hyperscan.
Parent topic: Configuring the Compilation Environment