dpi/

directory
v0.9.3-0...-e3c37e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2019 License: BSD-3-Clause

README

For DPI example application gohs package is required.

Build gohs

  1. Install Intel Hyperscan with your package manager. If hyperscan can not be installed from repo, first use instruction below.

  2. Download and build gohs package:

     go get -v github.com/flier/gohs/hyperscan
    

Build Hyperscan

  1. Download and build Intel Hyperscan library.

     git clone https://github.com/intel/hyperscan.git
     cd hyperscan
     cmake . && make -j10
    
  2. Set variables:

     HSDIR=/path/to/hyperscan
     export PKG_CONFIG_PATH=$HSDIR
     export CGO_LDFLAGS="-L$HSDIR/lib -lhs"
     export CGO_CFLAGS=-I$HSDIR/src
    

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL