Skip to content

Commit

Permalink
ci: use hyperscan on win64 and oracle8, else use vectorscan
Browse files Browse the repository at this point in the history
  • Loading branch information
variar committed Nov 24, 2024
1 parent eef094c commit fb54a75
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
check_container: oraclelinux:8
container_root: docker/oracle8
container: variar/klogg_oracle8
cmake_opts: -DCMAKE_BUILD_WITH_INSTALL_RPATH=on
cmake_opts: -DCMAKE_BUILD_WITH_INSTALL_RPATH=on -DKLOGG_USE_VECTORSCAN=OFF -DKLOGG_USE_HYPERSCAN=ON

- os: ubuntu_focal
os_version: 20.04
Expand Down
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,8 @@ if(WIN32)
option(KLOGG_USE_VECTORSCAN "Use Vectorscan" OFF)
endif()
else()
if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "arm64")
option(KLOGG_USE_HYPERSCAN "Use Hyperscan" OFF)
option(KLOGG_USE_VECTORSCAN "Use Vectorscan" ON)
else()
option(KLOGG_USE_HYPERSCAN "Use Hyperscan" ON)
option(KLOGG_USE_VECTORSCAN "Use Vectorscan" OFF)
endif()
endif()

set(BUILD_VERSION
Expand Down

0 comments on commit fb54a75

Please sign in to comment.