diff options
author | Duncan Bellamy <dunk@denkimushi.com> | 2020-12-27 22:36:02 +0000 |
---|---|---|
committer | Duncan Bellamy <dunk@denkimushi.com> | 2020-12-28 23:02:57 +0000 |
commit | f5a86afd19b3c2feaf470eb001a636beb1d72947 (patch) | |
tree | ec5ed40c74361d2e8ed70fbc52084e55426a72e6 /cmake | |
parent | d6fcb8bd182e9646166ef446a1dfd03eff6417f0 (diff) | |
download | rspamd-f5a86afd19b3c2feaf470eb001a636beb1d72947.tar.gz rspamd-f5a86afd19b3c2feaf470eb001a636beb1d72947.zip |
[Feature] allow hyperscan for aarch64
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Hyperscan.cmake | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmake/Hyperscan.cmake b/cmake/Hyperscan.cmake index b8f83a3bb..664ce7312 100644 --- a/cmake/Hyperscan.cmake +++ b/cmake/Hyperscan.cmake @@ -1,9 +1,6 @@ option (ENABLE_HYPERSCAN "Enable hyperscan for fast regexp processing [default: OFF]" OFF) if (ENABLE_HYPERSCAN MATCHES "ON") - if (NOT ("${ARCH}" STREQUAL "x86_64" OR "${ARCH}" STREQUAL "i386")) - MESSAGE(FATAL_ERROR "Hyperscan is supported only on x86_64/i386 architectures") - endif () ProcessPackage (HYPERSCAN LIBRARY hs INCLUDE hs.h INCLUDE_SUFFIXES hs include/hs ROOT ${HYPERSCAN_ROOT_DIR} MODULES libhs) @@ -16,4 +13,4 @@ if (ENABLE_HYPERSCAN MATCHES "ON") set (USE_CXX_LINKER 1) endif () endif () -endif ()
\ No newline at end of file +endif () |