Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2018 00:38:30 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
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
Message-ID:  <201809050038.w850cUjw036830@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809050038.w850cUjw036830>