Created attachment 210188 [details] patch Remove hardcoded -msse4.1 and instead add it to our Makefile, but only on amd64 and i386. Other than that, this port builds ok, at least on powerpc64.
A commit references this bug: Author: pkubaj Date: Tue Dec 24 13:40:03 UTC 2019 New revision: 520806 URL: https://svnweb.freebsd.org/changeset/ports/520806 Log: math/mkl-dnn: fix build on non-x86 Remove hardcoded -msse4.1 and instead add it to our Makefile, but only on amd64 and i386. PR: 242847 Approved by: yuri (maintainer) Changes: head/math/mkl-dnn/Makefile head/math/mkl-dnn/files/patch-cmake_platform.cmake