Created attachment 208748 [details] Patch for openblas support Hello, This patch will bring optional OpenBLAS support for KANN in Rspamd. It is disabled by default since additional testing should be performed on performance implications of using KANN with OpenBLAS in end-user environment. This patch won't bump portrevision.
Created attachment 208872 [details] patch for mail/rspamd-devel mail/rspamd-devel: - Update to 2.2.a1.20191105 - Add OpenBLAS support for KANN
Created attachment 208914 [details] Really disable OpenBLAS by default
Created attachment 208915 [details] Add ENABLE_BLAS CMake flag ENABLE_BLAS CMake flag is not implemented in Rspamd 2.1 yet. I propose adding it now just to not forget.
(In reply to Alexander Moisseev from comment #3) I totally agree. It'll be also great if Rspamd could log on startup some information about OpenBLAS library build options. ( https://github.com/xianyi/OpenBLAS/wiki/faq#buildoptions ) Right now it is hard to figure out what OpenBLAS core is being used if OpenBLAS was build with DYNAMIC_ARCH. Also this could be useful while debugging issues if they'll arise.
Created attachment 209266 [details] Update mail/rspamd-devel patch to current Rspamd version
Created attachment 209268 [details] Update mail/rspamd patch to current Rspamd version
A commit references this bug: Author: vsevolod Date: Sat Nov 23 22:04:26 UTC 2019 New revision: 518277 URL: https://svnweb.freebsd.org/changeset/ports/518277 Log: - Update to 2.2 - Add OpenBLAS support (optional) [2] PR: 241626 Submitted by: Alexander Moisseev <moiseev at mezonplus.ru> [1], [2] Reported by: Artyom Davidov <ard_1 at mail.ru> [2] Changes: head/mail/rspamd/Makefile head/mail/rspamd/distinfo head/mail/rspamd/pkg-plist
*** Bug 242092 has been marked as a duplicate of this bug. ***
A commit references this bug: Author: vsevolod Date: Sat Nov 23 22:06:23 UTC 2019 New revision: 518278 URL: https://svnweb.freebsd.org/changeset/ports/518278 Log: - Update to 2.3-a1 - Add OpenBLAS support (optional) [2] PR: 241626 Submitted by: Alexander Moisseev <moiseev at mezonplus.ru> [1], [2] Reported by: Artyom Davidov <ard_1 at mail.ru> [2] Changes: head/mail/rspamd-devel/Makefile head/mail/rspamd-devel/distinfo head/mail/rspamd-devel/pkg-plist
Committed Nov 23 22:04:26 UTC 2019 as r518277.