diff options
-rw-r--r-- | misc/mxnet/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/mxnet/Makefile b/misc/mxnet/Makefile index d68e8cf9f45d..9432f294fd10 100644 --- a/misc/mxnet/Makefile +++ b/misc/mxnet/Makefile @@ -49,6 +49,12 @@ OPENCV_CMAKE_BOOL= USE_OPENCV OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv-core \ libopencv_videoio.so:graphics/opencv +.include <bsd.port.pre.mk> + +.if ${ARCH} != amd64 && ${ARCH} != i386 +CMAKE_OFF+= USE_SSE +.endif + post-patch: .for lib in mkldnn.h mkldnn_types.h @${RM} ${WRKSRC}/include/mkldnn/${lib} @@ -58,4 +64,4 @@ post-patch: post-install-CPP-on: # https://github.com/apache/incubator-mxnet/issues/17080 @cd ${STAGEDIR}${PREFIX} && ${RM} include/mxnet-cpp/.gitignore include/mxnet-cpp/CPPLINT.cfg -.include <bsd.port.mk> +.include <bsd.port.post.mk> |