BSD Ports

textproc/hyperscan 5.4.2p0-ssse3 OpenBSD

high-performance regular expression matching library

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Stuart Henderson <[email protected]>
Categories
textproc, lang/python

Description

Hyperscan is a high-performance multiple regex matching library. It follows the regular expression syntax of the commonly-used libpcre library, but is a standalone library with its own C API.

Hyperscan uses hybrid automata techniques to allow simultaneous matching of large numbers (up to tens of thousands) of regular expressions and for the matching of regular expressions across streams of data.

Hyperscan is built for specific CPU microarchitectures - you must choose one:

ssse3	(uses -march=core2, for most amd64 and clone CPUs)
sse4\_2	(uses -march=corei7, requires SSE4\_2 and POPCNT)
avx2	(uses -march=core-avx2, requires AVX2)
native	(uses -march=native, optimise for local machine)

In the other systems

SystemPortVersion
OpenBSDtextproc/hyperscan5.4.2p0-ssse3
FreeBSDdevel/hyperscan5.4.2
NetBSDdevel/hyperscan5.4.2nb3
DragonFlydevel/hyperscan5.4.2
MidnightBSDdevel/hyperscan5.4.0_2
HardenedBSDdevel/hyperscan5.4.2
GhostBSDdevel/hyperscan5.4.2
OPNsensedevel/hyperscan5.4.2

Install

Binary package:

pkg_add hyperscan

From the ports tree:

cd /usr/ports/textproc/hyperscan && make install

Dependencies

Build dependencies 6
Run dependencies 1

No port depends on this one.