klogg
klogg copied to clipboard
cannot build on aarch64 ubuntu 22.04
CMake Error at build_root/_deps/hyperscan-src/cmake/arch.cmake:10 (message):
No intrinsics header found
Call Stack (most recent call first):
build_root/_deps/hyperscan-src/CMakeLists.txt:343 (include)
AFAIK hyperscan has no plans for platforms other than amd64 ((
https://github.com/intel/hyperscan/issues/187
There is a https://github.com/VectorCamp/vectorscan project. They should be almost API compatible with hyperscan and support more architectures. Adding an option to build with them could be nice.
I've added a cmake option to build klogg with vectorscan, passing -DKLOGG_USE_HYPERSCAN=OFF -DKLOGG_USE_VECTORSCAN=ON
should make klogg use vectorscan backend.