Matthew Barr
8a56d16d57
avx512: add basic functions to simd_utils
...
Extends the m512 type to use avx512 and also changes required
for limex.
2017-05-30 13:59:18 +10:00
Matthew Barr
a2dc430a38
Header guards
2017-05-30 13:59:00 +10:00
Matthew Barr
0626a30a6a
Make the build wrapper less fragile
...
This script was failing for certain paths (dots, whitespace), and using
sed to replace parts of the command line was overkill. Do less mangling,
and quote command line args.
Fixes 01org/hyperscan#51
2017-05-30 13:57:32 +10:00
Matthew Barr
b1c57f9f54
cmake: check for libc++ directly
...
Rather than trying to infer libc++ use from platform and compiler, just
look for a defined symbol.
2017-04-26 15:19:52 +10:00
Matthew Barr
7533e3341e
Don't fail if sqlite is not present.
2017-04-26 15:18:38 +10:00
Matthew Barr
b68e4ea336
cmake: move boost tests
2017-04-26 15:17:19 +10:00
Matthew Barr
287f519205
cmake: look for Boost in-tree first
...
During development we tend to use a symlink to the most recent version of
Boost from the Hyperscan source tree, so look there first.
Also, unset some cached results so we recheck when the Boost version changes.
2017-04-26 15:17:19 +10:00
Matthew Barr
b4ad7359d6
build: More robust temp file handling
2017-04-26 15:17:18 +10:00
Matthew Barr
8c2e033540
cmake: test reverse_graph instead of using version
...
It seems that some distros are using a patched Boost 1.62.0 which means our
workaround in reverse_graph has a conflict. Add a CMake test to see if we
need to use the patched reverse_graph.
2017-01-20 09:26:34 +11:00
Matthew Barr
5754709dd5
Don't ignore unused attrib warnings in test
2016-12-14 15:35:28 +11:00
Matthew Barr
6967c7ddf1
cmake: unneeded header check
2016-12-14 15:35:16 +11:00
Matthew Barr
c3a73446ee
Fat runtime
2016-12-14 15:34:54 +11:00
Matthew Barr
f626276271
hsbench: add Hyperscan benchmarker
...
The hsbench tool provides an easy way to measure Hyperscan's
performance for a particular set of patterns and corpus of data
to be scanned.
2016-12-14 15:26:01 +11:00
Matthew Barr
f06f5d0702
Use SOURCE_DATE_EPOCH for timestamp if present
...
The Debian reproducible builds effort suggests using
this environment variable for timestamps.
2016-08-10 15:14:30 +10:00
Matthew Barr
89bc2b4b39
cmake: invoke the compiler to test arch features
...
We require SSSE3, and optionally support AVX2, and the best way of testing
the compiler and compile flags is to run the compiler.
2016-05-24 11:26:38 +10:00
Matthew Barr
7a6c6f46ed
remove HAVE_PTHREAD_H
2016-04-20 13:34:55 +10:00
Matthew Barr
18cfd11c0f
remove ENABLE_TOOLS_THREADS
2016-04-20 13:34:55 +10:00
Justin Viiret
60dcd0c160
Remove CMake tests for pthread barriers
2016-04-20 13:34:53 +10:00
Matthew Barr
904e436f11
Initial commit of Hyperscan
2015-10-20 09:13:35 +11:00