git: 539d3036f649 - main - misc/{,py-}tvm: Update 0.10.0 → 0.11.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 18 Mar 2023 05:30:46 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=539d3036f649a82215847f7ce0ddff7590f6b5e6

commit 539d3036f649a82215847f7ce0ddff7590f6b5e6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-03-18 03:12:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-03-18 05:30:41 +0000

    misc/{,py-}tvm: Update 0.10.0 → 0.11.1
    
    Reported by:    portscout
---
 misc/py-tvm/Makefile |  4 ++--
 misc/py-tvm/distinfo | 10 +++++-----
 misc/tvm/Makefile    |  8 ++++++--
 misc/tvm/distinfo    | 10 +++++-----
 misc/tvm/pkg-plist   |  6 +++++-
 5 files changed, 23 insertions(+), 15 deletions(-)

diff --git a/misc/py-tvm/Makefile b/misc/py-tvm/Makefile
index bab74075d55d..6944107bdd64 100644
--- a/misc/py-tvm/Makefile
+++ b/misc/py-tvm/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	tvm
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.10.0
+DISTVERSION=	0.11.1
 CATEGORIES=	misc # machine-learning
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -27,7 +27,7 @@ USE_PYTHON=	distutils noegginfo pytest # tests fail, see https://github.com/apac
 USE_GITHUB=	yes
 GH_ACCOUNT=	apache
 GH_PROJECT=	tvm
-GH_TUPLE=	dmlc:dlpack:ddeb264:dlpack/3rdparty/dlpack \
+GH_TUPLE=	dmlc:dlpack:e2bdd3b:dlpack/3rdparty/dlpack \
 		dmlc:dmlc-core:09511cf:dmlc_core/3rdparty/dmlc-core
 
 BUILD_WRKSRC=	${WRKSRC}/python
diff --git a/misc/py-tvm/distinfo b/misc/py-tvm/distinfo
index eb3bcc4698b9..a3ff89a175d5 100644
--- a/misc/py-tvm/distinfo
+++ b/misc/py-tvm/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1666161174
-SHA256 (apache-tvm-v0.10.0_GH0.tar.gz) = c51e0336fdc86b05a60598afc695eb41aef243c1be12ca25088372d001848a24
-SIZE (apache-tvm-v0.10.0_GH0.tar.gz) = 7601014
-SHA256 (dmlc-dlpack-ddeb264_GH0.tar.gz) = 87e45c7141f8af012cf4e9829072342df2b568def3ed65f1c9bc5fa4b986e3c8
-SIZE (dmlc-dlpack-ddeb264_GH0.tar.gz) = 39502
+TIMESTAMP = 1679108696
+SHA256 (apache-tvm-v0.11.1_GH0.tar.gz) = b5d577bbdae8b22ddd729336f38db70e5f404fb239054c743bdb1bd8b0d1afa2
+SIZE (apache-tvm-v0.11.1_GH0.tar.gz) = 8073758
+SHA256 (dmlc-dlpack-e2bdd3b_GH0.tar.gz) = e88e702277cf4cfa4814afdbb27b07b75041d80b3df60da387cdd7e0ebeb6817
+SIZE (dmlc-dlpack-e2bdd3b_GH0.tar.gz) = 76235
 SHA256 (dmlc-dmlc-core-09511cf_GH0.tar.gz) = 8b7ba0e19a9f2c5d65d49758ab14631e99c4f501b689842fa6535fc44a05c46f
 SIZE (dmlc-dmlc-core-09511cf_GH0.tar.gz) = 260299
diff --git a/misc/tvm/Makefile b/misc/tvm/Makefile
index e589312b73d9..d239000d4d3c 100644
--- a/misc/tvm/Makefile
+++ b/misc/tvm/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	tvm
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.10.0
+DISTVERSION=	0.11.1
 CATEGORIES=	misc # machine-learning
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -20,7 +20,7 @@ USE_LDCONFIG=	yes
 
 GH_ACCOUNT=	apache
 GH_PROJECT=	tvm
-GH_TUPLE=	dmlc:dlpack:ddeb264:dlpack/3rdparty/dlpack
+GH_TUPLE=	dmlc:dlpack:e2bdd3b:dlpack/3rdparty/dlpack
 
 CMAKE_ON=	INSTALL_DEV # Install compiler infrastructure (as opposed to runtime-only)
 CMAKE_ARGS=	-DDMLC_PATH=${LOCALBASE}/include -DRANG_PATH=${LOCALBASE}/include
@@ -43,6 +43,10 @@ LLVM_RUN_DEPENDS=	llvm-config${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
 CMAKE_ARGS+=	-DUSE_RPC:BOOL=OFF
 .endif
 
+post-install: # remove empty directories
+	@${RMDIR} ${STAGEDIR}${PREFIX}/include/tvm/meta_schedule/schedule/cpu
+	@${RMDIR} ${STAGEDIR}${PREFIX}/include/tvm/meta_schedule/schedule/x86
+
 post-test: # 1 test fails, see https://github.com/apache/tvm/issues/13131
 	@cd ${TEST_WRKSRC} && ./cpptest
 
diff --git a/misc/tvm/distinfo b/misc/tvm/distinfo
index f42a509a5c9d..4904447a624c 100644
--- a/misc/tvm/distinfo
+++ b/misc/tvm/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1666152866
-SHA256 (apache-tvm-v0.10.0_GH0.tar.gz) = c51e0336fdc86b05a60598afc695eb41aef243c1be12ca25088372d001848a24
-SIZE (apache-tvm-v0.10.0_GH0.tar.gz) = 7601014
-SHA256 (dmlc-dlpack-ddeb264_GH0.tar.gz) = 87e45c7141f8af012cf4e9829072342df2b568def3ed65f1c9bc5fa4b986e3c8
-SIZE (dmlc-dlpack-ddeb264_GH0.tar.gz) = 39502
+TIMESTAMP = 1679102063
+SHA256 (apache-tvm-v0.11.1_GH0.tar.gz) = b5d577bbdae8b22ddd729336f38db70e5f404fb239054c743bdb1bd8b0d1afa2
+SIZE (apache-tvm-v0.11.1_GH0.tar.gz) = 8073758
+SHA256 (dmlc-dlpack-e2bdd3b_GH0.tar.gz) = e88e702277cf4cfa4814afdbb27b07b75041d80b3df60da387cdd7e0ebeb6817
+SIZE (dmlc-dlpack-e2bdd3b_GH0.tar.gz) = 76235
diff --git a/misc/tvm/pkg-plist b/misc/tvm/pkg-plist
index 7453feca9931..e3b2c84451b4 100644
--- a/misc/tvm/pkg-plist
+++ b/misc/tvm/pkg-plist
@@ -48,6 +48,8 @@ include/tvm/meta_schedule/mutator.h
 include/tvm/meta_schedule/postproc.h
 include/tvm/meta_schedule/profiler.h
 include/tvm/meta_schedule/runner.h
+include/tvm/meta_schedule/schedule/cuda/thread_bind.h
+include/tvm/meta_schedule/schedule/generic/winograd.h
 include/tvm/meta_schedule/schedule_rule.h
 include/tvm/meta_schedule/search_strategy.h
 include/tvm/meta_schedule/space_generator.h
@@ -135,7 +137,6 @@ include/tvm/runtime/data_type.h
 include/tvm/runtime/debug.h
 include/tvm/runtime/device_api.h
 include/tvm/runtime/executor_info.h
-include/tvm/runtime/hexagon/ops/conv2d.h
 include/tvm/runtime/logging.h
 include/tvm/runtime/memory.h
 include/tvm/runtime/metadata.h
@@ -143,6 +144,7 @@ include/tvm/runtime/metadata_base.h
 include/tvm/runtime/metadata_types.h
 include/tvm/runtime/micro/standalone/microtvm_runtime.h
 include/tvm/runtime/module.h
+include/tvm/runtime/name_transforms.h
 include/tvm/runtime/ndarray.h
 include/tvm/runtime/object.h
 include/tvm/runtime/packed_func.h
@@ -189,6 +191,7 @@ include/tvm/tir/analysis.h
 include/tvm/tir/buffer.h
 include/tvm/tir/builtin.h
 include/tvm/tir/data_layout.h
+include/tvm/tir/data_type_rewriter.h
 include/tvm/tir/expr.h
 include/tvm/tir/expr_functor.h
 include/tvm/tir/function.h
@@ -237,6 +240,7 @@ include/tvm/topi/nn/bnn.h
 include/tvm/topi/nn/dense.h
 include/tvm/topi/nn/dilate.h
 include/tvm/topi/nn/flatten.h
+include/tvm/topi/nn/layer_norm.h
 include/tvm/topi/nn/local_response_norm.h
 include/tvm/topi/nn/mapping.h
 include/tvm/topi/nn/pooling.h