Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2019 22:20:39 +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: r501988 - in head/math/mkl-dnn: . files
Message-ID:  <201905182220.x4IMKdbg088028@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat May 18 22:20:39 2019
New Revision: 501988
URL: https://svnweb.freebsd.org/changeset/ports/501988

Log:
  math/mkl-dnn: Update 0.18.1 -> 0.19
  
  Reported by:	portscout

Modified:
  head/math/mkl-dnn/Makefile
  head/math/mkl-dnn/distinfo
  head/math/mkl-dnn/files/patch-CMakeLists.txt
  head/math/mkl-dnn/pkg-plist

Modified: head/math/mkl-dnn/Makefile
==============================================================================
--- head/math/mkl-dnn/Makefile	Sat May 18 22:19:45 2019	(r501987)
+++ head/math/mkl-dnn/Makefile	Sat May 18 22:20:39 2019	(r501988)
@@ -2,8 +2,7 @@
 
 PORTNAME=	mkl-dnn
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.18.1
-PORTREVISION=	2
+DISTVERSION=	0.19
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -18,7 +17,7 @@ BROKEN_i386=	error: shift count >= width of type (and 
 
 TEST_DEPENDS=	bash:shells/bash
 
-USES=		cmake
+USES=		cmake compiler:c++11-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	intel
 USE_LDCONFIG=	yes
@@ -27,12 +26,6 @@ OPTIONS_DEFINE=		OPENMP
 
 OPENMP_CMAKE_BOOL=	USE_OPENMP
 OPENMP_LIB_DEPENDS=	libomp.so:devel/openmp
-
-# use clang from ports because cmake can't find OpenMP with base clang, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678
-BUILD_DEPENDS+=	clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
-CPP=		clang-cpp${LLVM_DEFAULT}
-CC=		clang${LLVM_DEFAULT}
-CXX=		clang++${LLVM_DEFAULT}
 
 post-install:
 	@${RM} -r ${STAGEDIR}${PREFIX}/share/doc

Modified: head/math/mkl-dnn/distinfo
==============================================================================
--- head/math/mkl-dnn/distinfo	Sat May 18 22:19:45 2019	(r501987)
+++ head/math/mkl-dnn/distinfo	Sat May 18 22:20:39 2019	(r501988)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1552752439
-SHA256 (intel-mkl-dnn-v0.18.1_GH0.tar.gz) = fc7506701dfece9b03c0dc83d0cda9a44a5de17cdb54bc7e09168003f02dbb70
-SIZE (intel-mkl-dnn-v0.18.1_GH0.tar.gz) = 1497401
+TIMESTAMP = 1558216436
+SHA256 (intel-mkl-dnn-v0.19_GH0.tar.gz) = ba39da6adb263df05c4ca2a120295641fc97be75b588922e4274cb628dbe1dcd
+SIZE (intel-mkl-dnn-v0.19_GH0.tar.gz) = 1561914

Modified: head/math/mkl-dnn/files/patch-CMakeLists.txt
==============================================================================
--- head/math/mkl-dnn/files/patch-CMakeLists.txt	Sat May 18 22:19:45 2019	(r501987)
+++ head/math/mkl-dnn/files/patch-CMakeLists.txt	Sat May 18 22:20:39 2019	(r501988)
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig	2018-11-17 00:02:10 UTC
+--- CMakeLists.txt.orig	2019-05-18 21:55:29 UTC
 +++ CMakeLists.txt
-@@ -66,7 +66,9 @@ set(CMAKE_TEST_CCXX_FLAGS)      # TESTS 
+@@ -73,7 +73,9 @@ include(CMakePackageConfigHelpers)
  
  include("cmake/utils.cmake")
  include("cmake/options.cmake")
@@ -11,18 +11,18 @@
  include("cmake/TBB.cmake")
  include("cmake/platform.cmake")
  include("cmake/SDL.cmake")
-@@ -79,7 +81,10 @@ enable_testing()
+@@ -87,8 +89,12 @@ 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})
+ 
+ if(MKLDNN_INSTALL_MODE STREQUAL "BUNDLE")
+     install(FILES LICENSE DESTINATION ${CMAKE_INSTALL_PREFIX})

Modified: head/math/mkl-dnn/pkg-plist
==============================================================================
--- head/math/mkl-dnn/pkg-plist	Sat May 18 22:19:45 2019	(r501987)
+++ head/math/mkl-dnn/pkg-plist	Sat May 18 22:20:39 2019	(r501988)
@@ -9,4 +9,4 @@ lib/cmake/mkldnn/mkldnn-targets-%%CMAKE_BUILD_TYPE%%.c
 lib/cmake/mkldnn/mkldnn-targets.cmake
 lib/libmkldnn.so
 lib/libmkldnn.so.0
-lib/libmkldnn.so.0.18.1.0
+lib/libmkldnn.so.0.19.0.0



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