Created attachment 208748 [details]
Patch for openblas support
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
- 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