From owner-svn-ports-head@freebsd.org Wed Sep 5 00:38:32 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5BEE8FCF49A; Wed, 5 Sep 2018 00:38:32 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0DC8A88C7D; Wed, 5 Sep 2018 00:38:32 +0000 (UTC) (envelope-from yuri@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 D86D61E841; Wed, 5 Sep 2018 00:38:31 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w850cViQ036835; Wed, 5 Sep 2018 00:38:31 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w850cUjw036830; Wed, 5 Sep 2018 00:38:30 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201809050038.w850cUjw036830@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 5 Sep 2018 00:38:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478994 - in head/math: . mkl-dnn mkl-dnn/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . mkl-dnn mkl-dnn/files X-SVN-Commit-Revision: 478994 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2018 00:38:32 -0000 Author: yuri Date: Wed Sep 5 00:38:30 2018 New Revision: 478994 URL: https://svnweb.freebsd.org/changeset/ports/478994 Log: New port: math/mkl-dnn: Intel(R) Math Kernel Library for Deep Neural Networks Added: head/math/mkl-dnn/ head/math/mkl-dnn/Makefile (contents, props changed) head/math/mkl-dnn/distinfo (contents, props changed) head/math/mkl-dnn/files/ head/math/mkl-dnn/files/patch-CMakeLists.txt (contents, props changed) head/math/mkl-dnn/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Tue Sep 4 22:26:16 2018 (r478993) +++ head/math/Makefile Wed Sep 5 00:38:30 2018 (r478994) @@ -342,6 +342,7 @@ SUBDIR += mingw32-libgmp SUBDIR += minisat SUBDIR += miracl + SUBDIR += mkl-dnn SUBDIR += mlpack SUBDIR += moo SUBDIR += mosesdecoder Added: head/math/mkl-dnn/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/mkl-dnn/Makefile Wed Sep 5 00:38:30 2018 (r478994) @@ -0,0 +1,38 @@ +# $FreeBSD$ + +PORTNAME= mkl-dnn +DISTVERSIONPREFIX= v +DISTVERSION= 0.16 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Intel(R) Math Kernel Library for Deep Neural Networks + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BROKEN_FreeBSD_10= invalid value 'internal' in '-fvisibility internal' + +TEST_DEPENDS= bash:shells/bash + +USES= cmake:outsource compiler:c++11-lib +USE_GITHUB= yes +GH_ACCOUNT= intel +USE_LDCONFIG= yes + +PLIST_FILES= include/mkldnn.h \ + include/mkldnn.hpp \ + include/mkldnn_debug.h \ + include/mkldnn_types.h \ + lib/libmkldnn.so \ + lib/libmkldnn.so.0 \ + lib/libmkldnn.so.0.16.0 + +do-test: + @${REINPLACE_CMD} 's| /bin/bash | ${LOCALBASE}/bin/bash |' ${WRKSRC}/tests/CMakeLists.txt + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTS=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test + +.include Added: head/math/mkl-dnn/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/mkl-dnn/distinfo Wed Sep 5 00:38:30 2018 (r478994) @@ -0,0 +1,3 @@ +TIMESTAMP = 1536106132 +SHA256 (intel-mkl-dnn-v0.16_GH0.tar.gz) = 7557f820d6801dbe7741627199c0165fe9e651245b9c1c744d615f576da1098a +SIZE (intel-mkl-dnn-v0.16_GH0.tar.gz) = 1339496 Added: head/math/mkl-dnn/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/mkl-dnn/files/patch-CMakeLists.txt Wed Sep 5 00:38:30 2018 (r478994) @@ -0,0 +1,17 @@ +--- CMakeLists.txt.orig 2018-09-05 00:11:53 UTC ++++ CMakeLists.txt +@@ -69,7 +69,10 @@ enable_testing() + include_directories(include) + + add_subdirectory(src) +-add_subdirectory(examples) +-add_subdirectory(tests) +- +-install(FILES LICENSE DESTINATION share/doc/${LIB_NAME}) ++if(BUILD_EXAMPLES) ++ add_subdirectory(examples) ++endif() ++if(BUILD_TESTS) ++ add_subdirectory(tests) ++endif() ++#install(FILES LICENSE DESTINATION share/doc/${LIB_NAME}) Added: head/math/mkl-dnn/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/mkl-dnn/pkg-descr Wed Sep 5 00:38:30 2018 (r478994) @@ -0,0 +1,11 @@ +Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN) is an +open source performance library for deep learning applications. The library +accelerates deep learning applications and framework on Intel(R) architecture. +Intel(R) MKL-DNN contains vectorized and threaded building blocks which you can +use to implement deep neural networks (DNN) with C and C++ interfaces. + +DNN functionality optimized for Intel architecture is also included in Intel(R) +Math Kernel Library (Intel(R) MKL). API in this implementation is not compatible +with Intel MKL-DNN and does not include certain new and experimental features. + +WWW: https://01.org/mkl-dnn