Date: Thu, 23 Dec 2021 21:17:41 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f6a64f149845 - main - misc/{,py-}mxnet: Update 1.8.0 -> 1.9.0 Message-ID: <202112232117.1BNLHf5P011274@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=f6a64f149845d23148003b7dcdcf3015401ea02a commit f6a64f149845d23148003b7dcdcf3015401ea02a Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-12-23 18:43:04 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-12-23 21:17:34 +0000 misc/{,py-}mxnet: Update 1.8.0 -> 1.9.0 Reported by: portscout --- misc/mxnet/Makefile | 12 ++++++------ misc/mxnet/distinfo | 12 +++++++----- misc/mxnet/files/patch-CMakeLists.txt | 23 ++++++++++++++++------- misc/py-mxnet/Makefile | 2 +- misc/py-mxnet/distinfo | 6 +++--- 5 files changed, 33 insertions(+), 22 deletions(-) diff --git a/misc/mxnet/Makefile b/misc/mxnet/Makefile index 41e35fd5839e..77a6e1394510 100644 --- a/misc/mxnet/Makefile +++ b/misc/mxnet/Makefile @@ -1,5 +1,5 @@ PORTNAME= mxnet -DISTVERSION= 1.8.0 +DISTVERSION= 1.9.0 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org @@ -7,8 +7,7 @@ COMMENT= Apache MXNet: Ultra-scalable deep learning framework LICENSE= APACHE20 -BUILD_DEPENDS= googletest>0:devel/googletest \ - ${LOCALBASE}/include/dnnl.h:math/onednn +BUILD_DEPENDS= googletest>0:devel/googletest LIB_DEPENDS= libdmlc.so:devel/dmlc-core \ liblapack.so:math/lapack \ libopenblas.so:math/openblas @@ -17,8 +16,9 @@ USES= cmake compiler:c++11-lang localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= apache GH_PROJECT= incubator-mxnet -GH_TUPLE= apache:incubator-tvm:9bd2c7b:tvm/3rdparty/tvm \ - dmlc:dlpack:3efc489:dlpack/3rdparty/dlpack +GH_TUPLE= apache:tvm:efdac94:tvm/3rdparty/tvm \ + dmlc:dlpack:3efc489:dlpack/3rdparty/dlpack \ + oneapi-src:oneDNN:f40443c:onednn/3rdparty/mkldnn # same as BUILD_DEPENDS=${LOCALBASE}/include/dnnl.h:math/onednn USE_LDCONFIG= yes CMAKE_OFF= USE_CUDA USE_CUDNN USE_MKLDNN USE_NCCL ENABLE_CUDA_RTC \ @@ -45,7 +45,7 @@ OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv \ CMAKE_OFF+= USE_SSE .endif -post-patch: +xpost-patch: @${RM} ${WRKSRC}/include/mkldnn/* .for h in dnnl.h dnnl.hpp mkldnn.h mkldnn.hpp mkldnn_dnnl_mangling.h mkldnn_types.h mkldnn_version.h @${LN} -s ${LOCALBASE}/include/${h} ${WRKSRC}/include/mkldnn/${h} diff --git a/misc/mxnet/distinfo b/misc/mxnet/distinfo index 4e4b94d52bd8..4291a01c9e8a 100644 --- a/misc/mxnet/distinfo +++ b/misc/mxnet/distinfo @@ -1,7 +1,9 @@ -TIMESTAMP = 1621514118 -SHA256 (apache-incubator-mxnet-1.8.0_GH0.tar.gz) = 976e0193622378b9174d6ff95b8d1e5369e66945c5345a13c642748b51eb9758 -SIZE (apache-incubator-mxnet-1.8.0_GH0.tar.gz) = 23246903 -SHA256 (apache-incubator-tvm-9bd2c7b_GH0.tar.gz) = 1e9a69d8ac686b526a0d66241e017b8e9b9ee4f2e687b32f437527926d929d7f -SIZE (apache-incubator-tvm-9bd2c7b_GH0.tar.gz) = 2852339 +TIMESTAMP = 1639937058 +SHA256 (apache-incubator-mxnet-1.9.0_GH0.tar.gz) = e97ca4d9398a79a9270acc67679c34309a0e4e170718e5aca2929e1832e1b557 +SIZE (apache-incubator-mxnet-1.9.0_GH0.tar.gz) = 23379190 +SHA256 (apache-tvm-efdac94_GH0.tar.gz) = 753338c7eca85e1a7e7a02f3acf40ec13a046b9581dafc94c77c3ad986204983 +SIZE (apache-tvm-efdac94_GH0.tar.gz) = 3889616 SHA256 (dmlc-dlpack-3efc489_GH0.tar.gz) = e8a3fc92d24eab985a73539b7478da84ebc12cfb33f654d915671748fd3d7d98 SIZE (dmlc-dlpack-3efc489_GH0.tar.gz) = 39598 +SHA256 (oneapi-src-oneDNN-f40443c_GH0.tar.gz) = a1c62ae792773ebc0fb581d0953e88bb7d6d4297682d79b7a7fa4ca79a2cfe19 +SIZE (oneapi-src-oneDNN-f40443c_GH0.tar.gz) = 9700567 diff --git a/misc/mxnet/files/patch-CMakeLists.txt b/misc/mxnet/files/patch-CMakeLists.txt index fa5192d43910..bc3fb3a0fefa 100644 --- a/misc/mxnet/files/patch-CMakeLists.txt +++ b/misc/mxnet/files/patch-CMakeLists.txt @@ -1,6 +1,15 @@ ---- CMakeLists.txt.orig 2021-01-16 20:50:48 UTC +--- CMakeLists.txt.orig 2021-11-04 20:30:01 UTC +++ CMakeLists.txt -@@ -479,6 +479,7 @@ if(USE_JEMALLOC) +@@ -7,7 +7,7 @@ if(CMAKE_CROSSCOMPILING) + endif() + + project(mxnet C CXX) +-set(CMAKE_CXX_STANDARD 11) ++set(CMAKE_CXX_STANDARD 14) # workaround for https://github.com/apache/incubator-mxnet/issues/20784 + set(CMAKE_CXX_STANDARD_REQUIRED ON) + set(CMAKE_CXX_EXTENSIONS ON) + +@@ -511,6 +511,7 @@ if(USE_JEMALLOC) endif() endif() @@ -8,7 +17,7 @@ include(CTest) set(GTEST_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/googletest/googletest") set(GTEST_INCLUDE_DIR ${GTEST_ROOT}/include) -@@ -489,6 +490,7 @@ set(GTEST_LIBRARY gtest) +@@ -521,6 +522,7 @@ set(GTEST_LIBRARY gtest) add_subdirectory(${GTEST_ROOT}) find_package(GTest REQUIRED) @@ -16,7 +25,7 @@ # cudnn detection if(USE_CUDNN) -@@ -898,7 +900,7 @@ install(TARGETS ${MXNET_INSTALL_TARGETS} +@@ -974,7 +976,7 @@ install(TARGETS ${MXNET_INSTALL_TARGETS} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ) install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/dlpack/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) @@ -25,10 +34,10 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/mshadow/mshadow/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mshadow) install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/mxnet/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mxnet) install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/tvm/nnvm/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) -@@ -943,7 +945,9 @@ endif() - if(BUILD_CPP_EXAMPLES) - add_subdirectory(example/image-classification/predict-cpp) +@@ -1020,7 +1022,9 @@ if(USE_CPP_PACKAGE) + endif() endif() + +if(ENABLE_TESTING) add_subdirectory(tests) +endif() diff --git a/misc/py-mxnet/Makefile b/misc/py-mxnet/Makefile index 1a0f5ccaf442..1898a183bad9 100644 --- a/misc/py-mxnet/Makefile +++ b/misc/py-mxnet/Makefile @@ -1,5 +1,5 @@ PORTNAME= mxnet -DISTVERSION= 1.8.0 +DISTVERSION= 1.9.0 CATEGORIES= misc # machine-learning PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/misc/py-mxnet/distinfo b/misc/py-mxnet/distinfo index cb7d91b95c47..3d8433d42065 100644 --- a/misc/py-mxnet/distinfo +++ b/misc/py-mxnet/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1621665791 -SHA256 (apache-incubator-mxnet-1.8.0_GH0.tar.gz) = 976e0193622378b9174d6ff95b8d1e5369e66945c5345a13c642748b51eb9758 -SIZE (apache-incubator-mxnet-1.8.0_GH0.tar.gz) = 23246903 +TIMESTAMP = 1640284445 +SHA256 (apache-incubator-mxnet-1.9.0_GH0.tar.gz) = e97ca4d9398a79a9270acc67679c34309a0e4e170718e5aca2929e1832e1b557 +SIZE (apache-incubator-mxnet-1.9.0_GH0.tar.gz) = 23379190
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112232117.1BNLHf5P011274>