"Hyperscan" compiled Hyperscan 4.0.0

Source: Internet
Author: User

Ref:http://01org.github.io/hyperscan/dev-reference/getting_started.html

1. Hardware Requirements

Intel x86 processor 64-bit or 32-bit mode

2. Software Requirements 2.1 Operating system

Linux:
Ubuntu 14.04 LTS or newer
Redhat/centos 7 or newer
Freebsd:
10.0 or newer
Mac OS X:
10.8 or newer, using Xcode/clang

Support for Windows is being tested ...

2.2/C + + compiler

Hyperscan is developed using C + + and requires C99 and C++11 support, the currently supported compilers have

    • GCC, v4.8.1 or higher
    • Clang, v3.4 or higher (with libstdc++ or libc++)
    • Intel C + + Compiler V15 or higher
2.3 Third-party dependent libraries
    Dependency       Release         notes    -------------------------------------------------    CMake       >=2.8.11         Ragel       6.9      Python      2.7      Boost       >=1.57      requires only header files, no compilation    Pcap        >=0.8       Optional: only for sample programs

Where boost does not need to be compiled and installed if installed through the System Package management tool (Yum/apt-get)
Version does not meet the needs of the version, you need to download the source package, unzip after performing a similar
Ln-s/home/zzq/boost_1_59_0/boost Hyperscan-4.0.0/include/boost
command to create a symbolic link, note that the boost path needs to be an absolute path, otherwise it may not be found.

3. Compilation process

Assume that the user root directory under the Hs_build compiled Hyperscan, the source code in ~/hyperscan-4.0.0

CD ~mkdir  hs_buildcd hs_buildcmake. /hyperscan-4.0. 0  make-j4 (4 concurrency) or cmake--build. (not tested)

After the compilation is started, the Hs_build directory will contain the compiled Hyperscan after success.
Switch to root, run make install to install the relevant header files and libraries under/usr/local/.

"Hyperscan" compile Hyperscan 4.0.0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.