aboutsummaryrefslogtreecommitdiffstats
path: root/src/hs_helper.c
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2022-01-22 11:41:53 +0000
committerDuncan Bellamy <dunk@denkimushi.com>2022-01-25 19:33:30 +0000
commit5c30f34906494a50f284bdd3a60168eb68aefac3 (patch)
tree2c4f8cc0baedd3cdf5591fa1e26d01ba0c4459c9 /src/hs_helper.c
parentf90765d9c840b17ad68fe2f422807f70ab08ae41 (diff)
downloadrspamd-5c30f34906494a50f284bdd3a60168eb68aefac3.tar.gz
rspamd-5c30f34906494a50f284bdd3a60168eb68aefac3.zip
[Feature] Allow hyperscan for ppc64, as vectorscan now suports it.
Diffstat (limited to 'src/hs_helper.c')
-rw-r--r--src/hs_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hs_helper.c b/src/hs_helper.c
index e3c464786..d1bc36b81 100644
--- a/src/hs_helper.c
+++ b/src/hs_helper.c
@@ -303,7 +303,7 @@ static gboolean
rspamd_rs_compile (struct hs_helper_ctx *ctx, struct rspamd_worker *worker,
gboolean forced)
{
-#ifndef __aarch64__
+#if !defined(__aarch64__) && !defined(__powerpc64__)
if (!(ctx->cfg->libs_ctx->crypto_ctx->cpu_config & CPUID_SSSE3)) {
msg_warn ("CPU doesn't have SSSE3 instructions set "
"required for hyperscan, disable hyperscan compilation");