mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
math/mkl-dnn: Update 0.18.1 -> 0.19
Reported by: portscout
This commit is contained in:
parent
223ecca087
commit
fa3f45b6db
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501988
@ -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 other errors), see https:/
|
||||
|
||||
TEST_DEPENDS= bash:shells/bash
|
||||
|
||||
USES= cmake
|
||||
USES= cmake compiler:c++11-lang
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= intel
|
||||
USE_LDCONFIG= yes
|
||||
@ -28,12 +27,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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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})
|
||||
|
@ -9,4 +9,4 @@ lib/cmake/mkldnn/mkldnn-targets-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user