From owner-svn-ports-all@freebsd.org Sat Dec 28 20:30:13 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8853F1EFEE3; Sat, 28 Dec 2019 20:30:13 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47lb0j36JHz3DHl; Sat, 28 Dec 2019 20:30:13 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 660E268ED; Sat, 28 Dec 2019 20:30:13 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBSKUDxS012303; Sat, 28 Dec 2019 20:30:13 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBSKUDT7012302; Sat, 28 Dec 2019 20:30:13 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201912282030.xBSKUDT7012302@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Sat, 28 Dec 2019 20:30:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r521238 - head/misc/mxnet X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/misc/mxnet X-SVN-Commit-Revision: 521238 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Dec 2019 20:30:13 -0000 Author: pkubaj Date: Sat Dec 28 20:30:12 2019 New Revision: 521238 URL: https://svnweb.freebsd.org/changeset/ports/521238 Log: misc/mxnet: fix build on non-arm non-x86 Architectures other than amd64 and i386 don't have SSE. CMakeLists.txt checks for ARM, but not for other architectures. PR: 242946 Approved by: yuri (maintainer) Modified: head/misc/mxnet/Makefile Modified: head/misc/mxnet/Makefile ============================================================================== --- head/misc/mxnet/Makefile Sat Dec 28 19:36:21 2019 (r521237) +++ head/misc/mxnet/Makefile Sat Dec 28 20:30:12 2019 (r521238) @@ -49,6 +49,12 @@ OPENCV_CMAKE_BOOL= USE_OPENCV OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv-core \ libopencv_videoio.so:graphics/opencv +.include + +.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 +.include