intel / hyperscan

High-performance regular expression matching library
https://www.hyperscan.io
Other
4.78k stars 710 forks source link

Questions in using hyperscan #126

Open wangfenggao opened 5 years ago

wangfenggao commented 5 years ago

API文档提到,hyperscan作为一个第三方库,不需要运行时的软件要求,但编译时需要一些软件要求。本人愚钝,对此有三个问题,希望得到回答,万分感谢! 1、将hyperscan的lib库用gcc4.8编译好,然后再链接到自己的代码中,项目使用gcc4.7是否有问题 2、hyerscan编译时需要boost1.5.7以上版本,但是说明了只是头文件,运行环境中boost低于1.5.7是否有问题 3、操作系统要求RedHat/CentOS 7 以上版本,是指编译时or运行时。还是两个环境都有这样的系统要求。

xiangwang1 commented 5 years ago
  1. I think it should be fine if you compile hyperscan with gcc 4.8 and link hyperscan library to your project.
  2. It works if you put boost files (>= 1.5.7) under <hyperscan-source-path>/include/boost and compile hyperscan from these source files regardless the installed boost version on your system.
  3. Hyperscan may run and work on older OS versions, but we don't have any guarantee on them as they are not fully validated in our testing system.

Thanks, Xiang